iamtarun/python_code_instructions_18k_alpaca
Viewer โข Updated โข 18.6k โข 30.4k โข 358
Run MouezYazidi/CodeMistral-7b-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/MouezYazidi/CodeMistral-7b-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/MouezYazidi/CodeMistral-7b-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use MouezYazidi/CodeMistral-7b-GGUF with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("MouezYazidi/CodeMistral-7b-GGUF", device_map="auto")How to use MouezYazidi/CodeMistral-7b-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
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 MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
docker model run hf.co/MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
How to use MouezYazidi/CodeMistral-7b-GGUF with Ollama:
ollama run hf.co/MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
How to use MouezYazidi/CodeMistral-7b-GGUF with Docker Model Runner:
docker model run hf.co/MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
How to use MouezYazidi/CodeMistral-7b-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MouezYazidi/CodeMistral-7b-GGUF:Q4_K_M
lemonade run user.CodeMistral-7b-GGUF-Q4_K_M
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf MouezYazidi/CodeMistral-7b-GGUF:# Run inference directly in the terminal:
llama cli -hf MouezYazidi/CodeMistral-7b-GGUF: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 MouezYazidi/CodeMistral-7b-GGUF:# Run inference directly in the terminal:
./build/bin/llama cli -hf MouezYazidi/CodeMistral-7b-GGUF:docker model run hf.co/MouezYazidi/CodeMistral-7b-GGUF:This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.
4-bit
8-bit
16-bit
Base model
mistralai/Mistral-7B-v0.3
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf MouezYazidi/CodeMistral-7b-GGUF:# Run inference directly in the terminal: llama cli -hf MouezYazidi/CodeMistral-7b-GGUF: