Instructions to use sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF 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 sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF 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 sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
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 sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
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 sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF with Ollama:
ollama run hf.co/sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF with Docker Model Runner:
docker model run hf.co/sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
- Lemonade
How to use sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
| language: | |
| - en | |
| license: apache-2.0 | |
| tags: | |
| - dpo | |
| - llama-cpp | |
| - gguf-my-repo | |
| base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0 | |
| datasets: | |
| - argilla/distilabel-intel-orca-dpo-pairs | |
| # sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF | |
| This model was converted to GGUF format from [`davanstrien/TinyLlama-1.1B-Chat-v1.0-intel-dpo`](https://huggingface.co/davanstrien/TinyLlama-1.1B-Chat-v1.0-intel-dpo) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space. | |
| Refer to the [original model card](https://huggingface.co/davanstrien/TinyLlama-1.1B-Chat-v1.0-intel-dpo) for more details on the model. | |
| ## Use with llama.cpp | |
| Install llama.cpp through brew. | |
| ```bash | |
| brew install ggerganov/ggerganov/llama.cpp | |
| ``` | |
| Invoke the llama.cpp server or the CLI. | |
| CLI: | |
| ```bash | |
| llama-cli --hf-repo sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF --model tinyllama-1.1b-chat-v1.0-intel-dpo.Q4_K_M.gguf -p "The meaning to life and the universe is" | |
| ``` | |
| Server: | |
| ```bash | |
| llama-server --hf-repo sbawa/TinyLlama-1.1B-Chat-v1.0-intel-dpo-Q4_K_M-GGUF --model tinyllama-1.1b-chat-v1.0-intel-dpo.Q4_K_M.gguf -c 2048 | |
| ``` | |
| Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well. | |
| ``` | |
| git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m tinyllama-1.1b-chat-v1.0-intel-dpo.Q4_K_M.gguf -n 128 | |
| ``` | |