Instructions to use AntoineChatry/mistral-7b-python 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 AntoineChatry/mistral-7b-python 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 AntoineChatry/mistral-7b-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf AntoineChatry/mistral-7b-python:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AntoineChatry/mistral-7b-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf AntoineChatry/mistral-7b-python:Q4_K_M
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 AntoineChatry/mistral-7b-python:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf AntoineChatry/mistral-7b-python:Q4_K_M
Use Docker
docker model run hf.co/AntoineChatry/mistral-7b-python:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use AntoineChatry/mistral-7b-python with Ollama:
ollama run hf.co/AntoineChatry/mistral-7b-python:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use AntoineChatry/mistral-7b-python with Docker Model Runner:
docker model run hf.co/AntoineChatry/mistral-7b-python:Q4_K_M
- Lemonade
How to use AntoineChatry/mistral-7b-python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AntoineChatry/mistral-7b-python:Q4_K_M
Run and chat with the model
lemonade run user.mistral-7b-python-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files2 unmodified lines345678910111213141516171819202122232 unmodified lines- gguf- llama.cpp- unsloth---# mistralv1-gguf : GGUFThis model was finetuned and converted to GGUF format using [Unsloth](https://github.com/unslothai/unsloth).**Example usage**:- For text only LLMs: `llama-cli -hf AntoineChatry/mistralv1-gguf --jinja`- For multimodal models: `llama-mtmd-cli -hf AntoineChatry/mistralv1-gguf --jinja`## Available Model files:- `mistral-7b-instruct-v0.3.Q4_K_M.gguf`## OllamaAn Ollama Modelfile is included for easy deployment.This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)2 unmodified lines34567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701712 unmodified lines- gguf- llama.cpp- unsloth- mistral- pythonbase_model:- mistralai/Mistral-7B-Instruct-v0.3---# mistral-7b-python-ggufConversational Python fine-tune of Mistral 7B exported to GGUF format for local inference.- Base model: Mistral 7B- Fine-tuning framework: Unsloth- Format: GGUF- Author: AntoineChatry---# ⚠️ DisclaimerThis is an **early experimental fine-tune**.It is **not production-ready**, not fully aligned, and not optimized for reliability or long-form reasoning.This project was created primarily for learning and experimentation.Please do not expect state-of-the-art coding performance.---# Model OverviewThis model is a conversational fine-tune of Mistral 7B trained primarily on:- ShareGPT-style conversations- Python-focused discussions- Coding Q&A formatThe objective was to:- Experiment with fine-tuning- Build a conversational Python model- Export to GGUF for llama.cpp compatibility- Test local inference workflowsNo RLHF or advanced alignment was applied beyond the base model.---# Known Limitations## Repetition Issues- Frequently repeats phrases like:> "Here's the code:"- Can loop or restate similar sentences- Overuses patterns learned from dataset formatting## Weak Long-Form Explanations- Struggles with multi-paragraph structured reasoning- May repeat itself when asked for detailed explanations- Limited depth on conceptual explanations## Instruction Following- Not fully aligned- May ignore strict formatting constraints- Tends to prioritize generating code over detailed explanations## Dataset Bias- Strong ShareGPT conversational tone- Python-heavy bias- Some templated response structure---# What Works Reasonably Well- Short Python snippets- Basic debugging help- Simple function generation- Conversational coding promptsBest performance is observed when:- Prompts are clear and direct- Expected output is short- Tasks are code-focused---# Training Details- Base: Mistral 7B- Dataset format: ShareGPT-style conversational dataset (Python-oriented)- Fine-tuned using Unsloth notebooks- Converted to GGUF for llama.cpp compatibility- Quantized version included (Q4_K_M)No additional safety tuning or post-training optimization was applied.---# Example UsageThis model was finetuned and converted to GGUF format using Unsloth.## llama.cppFor text-only LLMs:```bashllama-cli -hf AntoineChatry/mistral-7b-python-gguf --jinja```For multimodal models:```bashllama-mtmd-cli -hf AntoineChatry/mistral-7b-python-gguf --jinja```---## Available Model files:- `mistral-7b-instruct-v0.3.Q4_K_M.gguf`---# OllamaAn Ollama Modelfile is included for easy deployment.Example:```bashollama create mistral-python -f Modelfileollama run mistral-python```---# Why This Model Is PublicThis model represents a learning milestone.Sharing imperfect models helps:- Document fine-tuning progress- Enable experimentation- Collect feedback- Iterate toward better versionsThis is not a finished product.---# UnslothThis model was trained 2x faster using Unsloth.https://github.com/unslothai/unsloth<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>---# LicensePlease refer to the original Mistral 7B license from Mistral AI.
README.md+156-8