Instructions to use agurusantosh/tripmind-ft-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use agurusantosh/tripmind-ft-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="agurusantosh/tripmind-ft-gguf", filename="tripmind_ft.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-ft-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-ft-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-ft-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-ft-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-ft-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-ft-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf agurusantosh/tripmind-ft-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-ft-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf agurusantosh/tripmind-ft-gguf:Q4_K_M
Use Docker
docker model run hf.co/agurusantosh/tripmind-ft-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use agurusantosh/tripmind-ft-gguf with Ollama:
ollama run hf.co/agurusantosh/tripmind-ft-gguf:Q4_K_M
- Unsloth Studio
How to use agurusantosh/tripmind-ft-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-ft-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-ft-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-ft-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use agurusantosh/tripmind-ft-gguf with Docker Model Runner:
docker model run hf.co/agurusantosh/tripmind-ft-gguf:Q4_K_M
- Lemonade
How to use agurusantosh/tripmind-ft-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agurusantosh/tripmind-ft-gguf:Q4_K_M
Run and chat with the model
lemonade run user.tripmind-ft-gguf-Q4_K_M
List all available models
lemonade list
tripmind-ft
Fine-tuned Llama 3.1 8B for Indian domestic travel optimization. Given a traveler persona, generates an optimized day-by-day itinerary identifying Price-Pivot Points β transit, accommodation, or activity substitutions that save β₯5% without degrading trip quality.
Part of the TripMind project: a multi-agent AI travel optimizer trained via three distinct approaches (SFT, distillation, curriculum). tripmind-ft is the best-performing variant, trained via standard supervised fine-tuning on 5,000 synthetic pairs generated by GPT-4o-mini.
Model Details
| Property | Value |
|---|---|
| Base model | unsloth/Meta-Llama-3.1-8B |
| Training method | QLoRA r=8, Ξ±=16, dropout=0.05 |
| Training data | 4,749 Alpaca-format pairs (Phase 1 synthetic) |
| Epochs | 3 |
| Final train loss | 0.266 |
| Hardware | Colab T4 (fp16, seq_len=512) |
| Format | GGUF Q4_K_M (4.6 GB) |
Evaluation Results (92 test cases)
| Metric | Score | Target | β/β |
|---|---|---|---|
| JSON valid | 100% | 85% | β |
| Savings found | 100% | 70% | β |
| Budget compliance | 98.7% | 80% | β |
| Schema compliance | 83.7% | 80% | β |
| BERTScore F1 | 0.932 | 0.70 | β |
| ROUGE-L | 0.436 | 0.25 | β |
| Reasoning coherence | 0.723 | 0.65 | β |
| Grounding accuracy | 0.895 | 0.60 | β |
| Intent alignment | 0.322 | 0.55 | β |
| Red-team pass | 53.3% | 80% | β |
Head-to-head: beats tripmind-distill 78% of the time, tripmind-curriculum 57%.
Usage with Ollama
# Download GGUF from this repo
ollama create tripmind-ft -f Modelfile.ft
# Run
ollama run tripmind-ft
Prompt format (Alpaca):
### Instruction:
Act as TripMind Optimizer. Given a traveler persona for an Indian domestic trip, produce an optimized day-by-day itinerary that minimizes total cost while respecting the budget tier, trip type, and traveler intents. Identify the primary Price-Pivot Point (transit, accommodation, or activity substitution that saves β₯5%) and explain it clearly.
### Input:
{"starting_city": "Mumbai", "destination_city": "Delhi", "type": "Solo", "size": {"adults": 1, "children": 0}, "intents": ["Adventure"], "budget": "Shoestring", "duration_days": 5, "duration_nights": 4}
### Response:
Limitations
- Trained on Indian domestic travel only (20 cities). Not designed for international travel.
- Red-team robustness is below target (53.3% vs 80% goal) β the model can be prompted to bypass budget constraints.
- Intent alignment is below target (32.2% vs 55%) β cost optimization is prioritized over activity personalization.
- Inference on CPU takes 30β120 seconds per query (use GPU for production).
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
- 604
4-bit
Model tree for agurusantosh/tripmind-ft-gguf
Base model
unsloth/Meta-Llama-3.1-8BEvaluation results
- JSON Validity Rateself-reported1.000
- Savings Found Rateself-reported1.000
- Budget Complianceself-reported0.987
- BERTScore F1self-reported0.932
- Grounding Accuracyself-reported0.895
- Red-Team Robustnessself-reported0.533