Run this model with HF Jobs
Run expresscompany/Gemma2-9B-math 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:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/expresscompany/Gemma2-9B-math. 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.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/expresscompany/Gemma2-9B-math 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.
Instructions to use expresscompany/Gemma2-9B-math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use expresscompany/Gemma2-9B-math with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("expresscompany/Gemma2-9B-math", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use expresscompany/Gemma2-9B-math 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 expresscompany/Gemma2-9B-math:F16 # Run inference directly in the terminal: llama cli -hf expresscompany/Gemma2-9B-math:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf expresscompany/Gemma2-9B-math:F16 # Run inference directly in the terminal: llama cli -hf expresscompany/Gemma2-9B-math:F16
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 expresscompany/Gemma2-9B-math:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf expresscompany/Gemma2-9B-math:F16
Use Docker
docker model run hf.co/expresscompany/Gemma2-9B-math:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use expresscompany/Gemma2-9B-math with Ollama:
ollama run hf.co/expresscompany/Gemma2-9B-math:F16
- Unsloth Desktop
- Docker Model Runner
How to use expresscompany/Gemma2-9B-math with Docker Model Runner:
docker model run hf.co/expresscompany/Gemma2-9B-math:F16
- Lemonade
How to use expresscompany/Gemma2-9B-math with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull expresscompany/Gemma2-9B-math:F16
Run and chat with the model
lemonade run user.Gemma2-9B-math-F16
List all available models
lemonade list
- Atomic Chat
Commit History
-
(Trained with Unsloth)
Verified signatureabf8275 -
(Trained with Unsloth)
Verified signatureb81faa7 -
(Trained with Unsloth)
Verified signaturef7904f2 -
Upload README.md with huggingface_hub
Verified signature6294904 -
initial commit
Verified signature6da74f9