tofuAgent
Collection
Cloud infrastructure as code AI Agent resources. โข 14 items โข Updated
Run simonbutt/codellama-7b-tofutune-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/simonbutt/codellama-7b-tofutune-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/simonbutt/codellama-7b-tofutune-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 simonbutt/codellama-7b-tofutune-gguf with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("simonbutt/codellama-7b-tofutune-gguf", device_map="auto")How to use simonbutt/codellama-7b-tofutune-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 simonbutt/codellama-7b-tofutune-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf simonbutt/codellama-7b-tofutune-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf simonbutt/codellama-7b-tofutune-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 simonbutt/codellama-7b-tofutune-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
docker model run hf.co/simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
How to use simonbutt/codellama-7b-tofutune-gguf with Ollama:
ollama run hf.co/simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
How to use simonbutt/codellama-7b-tofutune-gguf with Docker Model Runner:
docker model run hf.co/simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
How to use simonbutt/codellama-7b-tofutune-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull simonbutt/codellama-7b-tofutune-gguf:Q4_K_M
lemonade run user.codellama-7b-tofutune-gguf-Q4_K_M
lemonade list
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
4-bit
Base model
unsloth/codellama-7b-bnb-4bit