Instructions to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m 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 zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16 # Run inference directly in the terminal: llama cli -hf zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16 # Run inference directly in the terminal: llama cli -hf zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
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 zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16 # Run inference directly in the terminal: ./llama-cli -hf zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
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 zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
Use Docker
docker model run hf.co/zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
- LM Studio
- Jan
- Ollama
How to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m with Ollama:
ollama run hf.co/zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
- Unsloth Desktop
- Docker Model Runner
How to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m with Docker Model Runner:
docker model run hf.co/zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
- Lemonade
How to use zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m:F16
Run and chat with the model
lemonade run user.tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m-F16
List all available models
lemonade list
- Atomic Chat
Download Modelfile from zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m/resolve/88f472dfbfd8d7bb40a20c1c508dae4a6448a4e9/Modelfile
- Command line
-
hf download hf://zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m@88f472dfbfd8d7bb40a20c1c508dae4a6448a4e9/Modelfile
-
curl -L -o Modelfile https://huggingface.co/zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m/resolve/88f472dfbfd8d7bb40a20c1c508dae4a6448a4e9/Modelfile
337 Bytes
| FROM ./zeref713/tinyllama_gsm8k-2_THIRD_3epochs_with-EOS_q4_k_m/unsloth.F16.gguf | |
| TEMPLATE """{{ if .System }}<|im_start|>system | |
| {{ .System }}<|im_end|> | |
| {{ end }}{{ if .Prompt }}<|im_start|>user | |
| {{ .Prompt }}<|im_end|> | |
| {{ end }}<|im_start|>assistant | |
| {{ .Response }}<|im_end|> | |
| """ | |
| PARAMETER stop "<|im_start|>" | |
| PARAMETER stop "<|im_end|>" |