Instructions to use agurusantosh/tripmind-distill-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use agurusantosh/tripmind-distill-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="agurusantosh/tripmind-distill-gguf", filename="tripmind_distill.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use agurusantosh/tripmind-distill-gguf 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 agurusantosh/tripmind-distill-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-distill-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf agurusantosh/tripmind-distill-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-distill-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf agurusantosh/tripmind-distill-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf agurusantosh/tripmind-distill-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf agurusantosh/tripmind-distill-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf agurusantosh/tripmind-distill-gguf:Q4_K_M
Use Docker
docker model run hf.co/agurusantosh/tripmind-distill-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use agurusantosh/tripmind-distill-gguf with Ollama:
ollama run hf.co/agurusantosh/tripmind-distill-gguf:Q4_K_M
- Unsloth Studio
How to use agurusantosh/tripmind-distill-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for agurusantosh/tripmind-distill-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for agurusantosh/tripmind-distill-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for agurusantosh/tripmind-distill-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use agurusantosh/tripmind-distill-gguf with Docker Model Runner:
docker model run hf.co/agurusantosh/tripmind-distill-gguf:Q4_K_M
- Lemonade
How to use agurusantosh/tripmind-distill-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agurusantosh/tripmind-distill-gguf:Q4_K_M
Run and chat with the model
lemonade run user.tripmind-distill-gguf-Q4_K_M
List all available models
lemonade list
tripmind-distill
Knowledge-distilled Llama 3.1 8B for Indian domestic travel optimization. Distilled from 500 multi-agent DeepSeek reasoning traces (Phase 2 of the TripMind pipeline), where a Supervisor + Analyst + Concierge + Optimizer chain used real MCP tool calls to build itineraries.
Part of the TripMind project. Unlike tripmind-ft (trained on clean synthetic pairs), this model was trained on agent reasoning chains β the hypothesis being that richer teacher signal improves generalization. Results were mixed: reasoning coherence improved, but structural output compliance dropped.
Model Details
| Property | Value |
|---|---|
| Base model | unsloth/Meta-Llama-3.1-8B |
| Training method | QLoRA r=8, Ξ±=16, dropout=0.05 |
| Training data | 449 Alpaca-format distillation pairs (Phase 2 agent traces) |
| Epochs | 5 |
| Final train loss | 0.429 |
| Hardware | Lightning.ai A100 (bf16, seq_len=16384) |
| Format | GGUF Q4_K_M (4.6 GB) |
The higher loss (0.429 vs 0.266 for ft) correlates with noisier training signal β agent traces include tool-call artifacts and variable output lengths that add training noise.
Evaluation Results (92 test cases)
| Metric | Score | Target | β/β |
|---|---|---|---|
| JSON valid | 92.4% | 85% | β |
| Savings found | 98.1% | 70% | β |
| Budget compliance | β | 80% | β |
| Schema compliance | 0.0% | 80% | β |
| BERTScore F1 | 0.738 | 0.70 | β |
| ROUGE-L | 0.090 | 0.25 | β |
| Reasoning coherence | 0.674 | 0.65 | β |
| Grounding accuracy | 0.442 | 0.60 | β |
| Red-team pass | 46.7% | 80% | β |
Schema compliance of 0% indicates the model produces valid JSON but with a different structure than the expected schema β a consequence of the diverse output formats in the distillation training data.
Usage with Ollama
ollama create tripmind-distill -f Modelfile.distill
ollama run tripmind-distill
Prompt format (Alpaca with reasoning chain instruction):
### Instruction:
Act as TripMind Supervisor for an Indian domestic trip. Coordinate the Analyst, Concierge, and Optimizer agents to find Price-Pivot Points and produce an optimized itinerary. Show the reasoning chain for each agent handoff, then provide the final pivot analysis and optimized itinerary.
### Input:
{"starting_city": "Mumbai", ...}
### Response:
Limitations
- Schema compliance is 0% β produces valid JSON but in a non-standard structure.
- Not recommended for production use without post-processing to extract the itinerary.
- Trained on only 449 examples (vs 4,749 for ft) β limited coverage of edge cases.
Citation
If you use this model, please cite:
Patnaik, A. V. S. (2026). Cost-Matched Data Generation for LLM Fine-Tuning: Comparing
Supervised Fine-Tuning, Knowledge Distillation, and Curriculum Learning for an Agentic
Travel-Planning System. Zenodo. https://doi.org/10.5281/zenodo.21198884
- Downloads last month
- 606
4-bit
Model tree for agurusantosh/tripmind-distill-gguf
Base model
unsloth/Meta-Llama-3.1-8BEvaluation results
- JSON Validity Rateself-reported0.924
- Savings Found Rateself-reported0.981
- BERTScore F1self-reported0.738
- Reasoning Coherenceself-reported0.674