Instructions to use Karan0310/DataSentinel-LLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Karan0310/DataSentinel-LLM with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Karan0310/DataSentinel-LLM:Q8_0 # Run inference directly in the terminal: llama cli -hf Karan0310/DataSentinel-LLM:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Karan0310/DataSentinel-LLM:Q8_0 # Run inference directly in the terminal: llama cli -hf Karan0310/DataSentinel-LLM:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Karan0310/DataSentinel-LLM:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Karan0310/DataSentinel-LLM:Q8_0
Use Docker
docker model run hf.co/Karan0310/DataSentinel-LLM:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use Karan0310/DataSentinel-LLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Karan0310/DataSentinel-LLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Karan0310/DataSentinel-LLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Karan0310/DataSentinel-LLM:Q8_0
- Ollama
How to use Karan0310/DataSentinel-LLM with Ollama:
ollama run hf.co/Karan0310/DataSentinel-LLM:Q8_0
- Unsloth Desktop
- Pi
How to use Karan0310/DataSentinel-LLM with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Karan0310/DataSentinel-LLM:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Karan0310/DataSentinel-LLM:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Karan0310/DataSentinel-LLM with Docker Model Runner:
docker model run hf.co/Karan0310/DataSentinel-LLM:Q8_0
- Lemonade
How to use Karan0310/DataSentinel-LLM with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Karan0310/DataSentinel-LLM:Q8_0
Run and chat with the model
lemonade run user.DataSentinel-LLM-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use Karan0310/DataSentinel-LLM with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Karan0310/DataSentinel-LLM:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default Karan0310/DataSentinel-LLM:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Karan0310/DataSentinel-LLM with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Karan0310/DataSentinel-LLM:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "Karan0310/DataSentinel-LLM:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
DataSentinel-LLM
A fine-tuned small language model for interpreting tabular data-quality profiles and producing structured findings.
DataSentinel-LLM is a QLoRA fine-tune of Qwen/Qwen2.5-1.5B-Instruct. It interprets structured column-profiling information and returns JSON describing detected data-quality issues, their severity, explanations, and recommended actions.
The initial release is intended for experimentation, local inference, and further development of the wider DataSentinel platform.
Model details
Base model:
Qwen/Qwen2.5-1.5B-InstructFine-tuning: QLoRA using Unsloth and PEFT
Training data: 3,040 examples
Context length: 2,048 tokens
Training epochs: 2
Optimizer steps: 310
LoRA rank / alpha / dropout: 16 / 16 / 0
Learning rate: 2e-4
Training hardware: Google Colab NVIDIA T4
Inference format: Q8_0 GGUF
Local runtime: Ollama
Intended input and output
The model receives a structured profile of a column, including information such as missing-value percentage, duplicate counts, format statistics, and expected numeric ranges.
It returns structured JSON containing:
Overall severity
Detected issue types
Severity for individual issues
Explanations
Recommended actions
The model is designed to interpret profiling results. It is not itself a complete data profiler and does not independently inspect an entire database.
Evaluation
Evaluation used an Ollama-based harness with temperature set to 0. The held-out test set contains 300 examples from dataset groups excluded from training and validation.
Held-out test results โ fine-tuned Q8_0
| Metric | Result |
|---|---:|
| Strict JSON validity | 100.00% |
| Lenient JSON validity | 100.00% |
| Schema validity | 100.00% |
| Issue-type precision | 98.86% |
| Issue-type recall | 98.58% |
| Issue-type F1 | 98.72% |
| Issue-type macro-F1 | 97.88% |
| Overall severity accuracy | 70.67% |
| Issue-type and severity F1 | 61.91% |
| Exact issue-set match | 62.00% |
| Severity MAE on matched issues | 0.575 |
| Clean-column false-positive rate | 0.00% |
| Average latency | 15.10 seconds per example |
These results indicate strong issue-type detection and structured-output reliability on this evaluation set. Severity assignment and exact issue-set matching remain areas for improvement.
Base-model comparison โ validation set
The following comparison uses the validation evaluation documented for this project. The base model was given a schema hint; the fine-tuned model was evaluated using the projectโs standard prompt.
| Metric | Base + schema hint | Fine-tuned Q8_0 |
|---|---:|---:|
| Strict JSON validity | 98% | 100% |
| Issue-type F1 | 0.549 | 0.987 |
| Issue-type macro-F1 | 0.503 | 0.977 |
| Overall severity accuracy | 29% | 80% |
| Severity-aware F1 | 0.176 | 0.749 |
| Exact issue-set match | 25% | 77% |
| Clean-column false positives | 21.7% | 0% |
This is a validation-set comparison, not a same-test-set comparison. The base model's results should not be directly compared with the held-out test metrics above.
Handwritten holdout
A separate 10-example handwritten holdout was retained as a style sanity check.
| Metric | Base + schema hint | Fine-tuned Q8_0 |
|---|---:|---:|
| JSON validity | 80% | 100% |
| Issue-type F1 | 0.615 | 1.000 |
| Overall severity accuracy | 20% | 80% |
| Severity-aware F1 | 0.308 | 0.778 |
This is a small, author-created sample and should not be interpreted as an independent benchmark.
Training data
The v1 dataset contains:
3,000 generated training examples
40 handwritten training examples
300 validation examples
300 held-out test examples
10 handwritten holdout examples
Generated examples are built from 24 dataset groups. Groups are separated across training, validation, and test splits. Inputs were deduplicated across splits, and the generation script checks for shared groups and identical inputs.
Labels are produced using deterministic data-quality rules. Explanations use varied but partly template-based text.
See the companion DataSentinel-Datasets repository for the dataset, generator, and full dataset documentation.
Limitations
Rule-derived labels: The synthetic examples are labelled using deterministic rules. These labels represent the project's chosen assumptions and thresholds, not universal data-quality ground truth.
Severity classification: Severity accuracy is weaker than issue-type detection. Threshold boundaries can be difficult for the model.
Identifier recognition: Identifier status is partly inferred from column names. Unfamiliar names may lead to incorrect severity assignments. Explicit schema metadata would be preferable.
Template-based explanations: Explanation wording is varied but partly template-generated. The evaluation primarily measures issue detection and severity, not independent expert assessment of explanation quality.
Handwritten holdout: The handwritten examples were created by the same author as some training examples and are not an independent external benchmark.
Synthetic evaluation: Performance on these test examples does not establish performance on arbitrary enterprise datasets or real-world production data.
Latency: The reported latency is specific to the tested local Ollama setup and should not be treated as a hardware-independent benchmark.
Intended use
Suitable for:
Research and experimentation with small fine-tuned language models
Local demonstrations of structured data-quality interpretation
Prototyping data-quality analysis workflows
Further evaluation and improvement of severity classification
Not suitable as:
An autonomous data-cleaning system
A replacement for validated data-quality rules or human review
A production decision-maker without domain-specific evaluation
Evidence of guaranteed accuracy on unseen enterprise data
Recommendations should be reviewed before being used to modify data. The wider DataSentinel project is designed around human approval for remediation.
Quantization
The Q8_0 GGUF export is the recommended local inference artifact for this release. Q4_K_M was tested but showed weaker severity performance in the project's evaluation, so Q8_0 was selected despite its higher inference cost.
Base model and licensing
This model is based on Qwen/Qwen2.5-1.5B-Instruct, which is published under Apache-2.0. Retain the base model's attribution and applicable license notices when redistributing this fine-tuned model. Review the base model's original license and repository notices before redistribution.
Citation
If you use this work, please cite the DataSentinel project and link to this model repository.
Project: DataSentinel
Release: DataSentinel-LLM v1.0.0
Status: Initial research / portfolio release
- Downloads last month
- -
8-bit