Instructions to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF", dtype="auto") - llama-cpp-python
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF", filename="tinyllama-1.1b-chat-v1.0-q2_k.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf larenspear/TinyLlama-1.1B-Chat-v1.0-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 larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf larenspear/TinyLlama-1.1B-Chat-v1.0-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 larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
Use Docker
docker model run hf.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with Ollama:
ollama run hf.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- Unsloth Studio
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with Docker Model Runner:
docker model run hf.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
- Lemonade
How to use larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.TinyLlama-1.1B-Chat-v1.0-GGUF-Q4_K_M
List all available models
lemonade list
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
quantized_by: larenspear
|
| 8 |
+
---
|
| 9 |
+
## About
|
| 10 |
+
|
| 11 |
+
GGUF Quantizations of https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 12 |
+
|
| 13 |
+
## Provided Quantizations
|
| 14 |
+
|
| 15 |
+
| Link | Type |
|
| 16 |
+
|:-----|:-----|
|
| 17 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q2_k.gguf) | Q2_K |
|
| 18 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q3_k_s.gguf) | Q3_K_S |
|
| 19 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q3_k_m.gguf) | Q3_K_M |
|
| 20 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q3_k_l.gguf) | Q3_K_L |
|
| 21 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q4_0.gguf) | Q4_0 |
|
| 22 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q4_k_s.gguf) | Q4_K_S |
|
| 23 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q4_k_m.gguf) | Q4_K_M |
|
| 24 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q5_0.gguf) | Q5_0 |
|
| 25 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q5_k_s.gguf) | Q5_K_S |
|
| 26 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q5_k_m.gguf) | Q5_K_M |
|
| 27 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q6_k.gguf) | Q6_K |
|
| 28 |
+
| [GGUF](https://huggingface.co/larenspear/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0-q8_0.gguf) | Q8_0 |
|
| 29 |
+
|
| 30 |
+
In a circular citation, I borrowed the format of this file from https://huggingface.co/mradermacher/copy_of_wildjailbreak_13-GGUF.
|
| 31 |
+
|
| 32 |
+
<!-- end -->
|