Instructions to use agurusantosh/tripmind-curriculum-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use agurusantosh/tripmind-curriculum-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="agurusantosh/tripmind-curriculum-gguf", filename="tripmind_curriculum.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-curriculum-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-curriculum-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-curriculum-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-curriculum-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf agurusantosh/tripmind-curriculum-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-curriculum-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf agurusantosh/tripmind-curriculum-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-curriculum-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf agurusantosh/tripmind-curriculum-gguf:Q4_K_M
Use Docker
docker model run hf.co/agurusantosh/tripmind-curriculum-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use agurusantosh/tripmind-curriculum-gguf with Ollama:
ollama run hf.co/agurusantosh/tripmind-curriculum-gguf:Q4_K_M
- Unsloth Studio
How to use agurusantosh/tripmind-curriculum-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-curriculum-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-curriculum-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-curriculum-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use agurusantosh/tripmind-curriculum-gguf with Docker Model Runner:
docker model run hf.co/agurusantosh/tripmind-curriculum-gguf:Q4_K_M
- Lemonade
How to use agurusantosh/tripmind-curriculum-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agurusantosh/tripmind-curriculum-gguf:Q4_K_M
Run and chat with the model
lemonade run user.tripmind-curriculum-gguf-Q4_K_M
List all available models
lemonade list
tripmind-curriculum
Curriculum-trained Llama 3.1 8B for Indian domestic travel optimization. Uses two-stage sequential training: first on 4,749 Phase 1 synthetic pairs (domain knowledge), then on 449 Phase 2 agent reasoning traces (complex reasoning patterns).
Part of the TripMind project. The curriculum hypothesis was that domain knowledge should precede complex reasoning patterns β similar to how students learn fundamentals before advanced topics. Results revealed an interesting trade-off: the model achieved the highest grounding accuracy (88%) and best red-team robustness (60%) of the three variants, but the Phase 2 training stage catastrophically disrupted structured JSON output (10.9% validity).
Model Details
| Property | Value |
|---|---|
| Base model | unsloth/Meta-Llama-3.1-8B |
| Training method | QLoRA r=8, Ξ±=16, dropout=0.05 (2-stage) |
| Stage 1 data | 4,749 pairs (Phase 1 synthetic) β 424 steps |
| Stage 2 data | 449 pairs (Phase 2 agent traces) β 171 steps |
| Final train loss | 0.313 (Stage 2) |
| Hardware | Lightning.ai A100 (bf16, seq_len=16384) |
| Format | GGUF Q4_K_M (4.6 GB) |
Evaluation Results (92 test cases)
| Metric | Score | Target | β/β |
|---|---|---|---|
| JSON valid | 10.9% | 85% | β |
| Savings found | β | 70% | β |
| Schema compliance | 0.0% | 80% | β |
| BERTScore F1 | 0.734 | 0.70 | β |
| Intent alignment | 0.418 | 0.55 | β |
| Grounding accuracy | 0.880 | 0.60 | β |
| Reasoning coherence | 0.470 | 0.65 | β |
| Red-team pass | 60.0% | 80% | β |
Notable: Despite near-zero JSON validity, grounding accuracy (0.88) nearly matches tripmind-ft (0.895). The model has absorbed real-world knowledge about Indian cities and travel patterns β it simply cannot format the output as valid JSON after Phase 2 training overwrote structured-output behavior.
Recommendation: Use with JSON-constrained decoding (llama.cpp --grammar, Outlines, or similar) to recover structured output. The underlying knowledge is strong.
Usage with Ollama
ollama create tripmind-curriculum -f Modelfile.curriculum
ollama run tripmind-curriculum
Note: Due to low JSON validity in standard inference, consider using grammar-constrained decoding for reliable structured output.
Limitations
- JSON validity is 10.9% β standard inference rarely produces valid JSON. Use grammar-constrained decoding.
- The Phase 2 curriculum stage appears to have overwritten Phase 1 structured-output training β a known curriculum learning failure mode.
- Despite strong semantic knowledge, the model cannot be used without output post-processing.
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
- 616
4-bit
Model tree for agurusantosh/tripmind-curriculum-gguf
Base model
unsloth/Meta-Llama-3.1-8BEvaluation results
- Grounding Accuracyself-reported0.880
- BERTScore F1self-reported0.734
- Red-Team Robustnessself-reported0.600