Instructions to use tensorblock/YarnGPT-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/YarnGPT-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="tensorblock/YarnGPT-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/YarnGPT-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/YarnGPT-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/YarnGPT-GGUF", filename="YarnGPT-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/YarnGPT-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 tensorblock/YarnGPT-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/YarnGPT-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/YarnGPT-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/YarnGPT-GGUF:Q2_K
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 tensorblock/YarnGPT-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/YarnGPT-GGUF:Q2_K
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 tensorblock/YarnGPT-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/YarnGPT-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/YarnGPT-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/YarnGPT-GGUF with Ollama:
ollama run hf.co/tensorblock/YarnGPT-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/YarnGPT-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 tensorblock/YarnGPT-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 tensorblock/YarnGPT-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/YarnGPT-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/YarnGPT-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/YarnGPT-GGUF:Q2_K
- Lemonade
How to use tensorblock/YarnGPT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/YarnGPT-GGUF:Q2_K
Run and chat with the model
lemonade run user.YarnGPT-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- YarnGPT-Q3_K_L.gguf +0 -3
- YarnGPT-Q3_K_M.gguf +0 -3
- YarnGPT-Q3_K_S.gguf +0 -3
- YarnGPT-Q4_0.gguf +0 -3
- YarnGPT-Q4_K_M.gguf +0 -3
- YarnGPT-Q4_K_S.gguf +0 -3
- YarnGPT-Q5_0.gguf +0 -3
- YarnGPT-Q5_K_M.gguf +0 -3
- YarnGPT-Q5_K_S.gguf +0 -3
- YarnGPT-Q6_K.gguf +0 -3
- YarnGPT-Q8_0.gguf +0 -3
YarnGPT-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4d8381e1f21e24a45115502039513f5431dc31b4d95d4d2fbf42e32aa3db3ce0
|
| 3 |
-
size 250584416
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eefcae253808bbb6f1e91f448bbb88db84f642887183512ca7544be6739afa7b
|
| 3 |
-
size 238949216
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3f5d0ef719a28137c16c9cf2850f5f54d66c1a17a93fe7f5c160c8e67c72681d
|
| 3 |
-
size 222936416
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:515a819fa1e303426602f40f519137dbfff0cdedb13e243ff6d4b51cb4a9cf96
|
| 3 |
-
size 233381216
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ea1584053f26da267868c4158492c072d3f4aea9e9935133c0cc7492b73171db
|
| 3 |
-
size 274853216
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c987d46d72f30338727c9e82d2b5b562517de04f61faa6172ec47d4283ab7877
|
| 3 |
-
size 264178016
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cdb2342d37888f9af767cd2fb6102397fd18bdb71f4f2e12675d74f8944c3d5a
|
| 3 |
-
size 272702816
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ab9898fd1b189c45a351a7c67100e0fc95cbc83fdddeee772d958e34f5624d29
|
| 3 |
-
size 294206816
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ea9273e2b399f14712444cd5b2993a2b8cd5f597f3297f0308760eeef2af889c
|
| 3 |
-
size 287448416
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:110960934eb0c9c2e7b7a5db05661e60ae15ed584804138806d3ce1e738b1968
|
| 3 |
-
size 371621216
|
|
|
|
|
|
|
|
|
|
|
|
YarnGPT-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f87fdbd7ff923336bff40c6d3679ccd040da3539d1bcd1ef51c48f113b4d98b8
|
| 3 |
-
size 390667616
|
|
|
|
|
|
|
|
|
|
|
|