Instructions to use tensorblock/tiny-random-llama-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/tiny-random-llama-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/tiny-random-llama-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/tiny-random-llama-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/tiny-random-llama-GGUF", filename="tiny-random-llama-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/tiny-random-llama-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/tiny-random-llama-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-llama-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/tiny-random-llama-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-llama-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/tiny-random-llama-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/tiny-random-llama-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/tiny-random-llama-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/tiny-random-llama-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/tiny-random-llama-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/tiny-random-llama-GGUF with Ollama:
ollama run hf.co/tensorblock/tiny-random-llama-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/tiny-random-llama-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/tiny-random-llama-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/tiny-random-llama-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/tiny-random-llama-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/tiny-random-llama-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/tiny-random-llama-GGUF:Q2_K
- Lemonade
How to use tensorblock/tiny-random-llama-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/tiny-random-llama-GGUF:Q2_K
Run and chat with the model
lemonade run user.tiny-random-llama-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- tiny-random-llama-Q3_K_L.gguf +0 -3
- tiny-random-llama-Q3_K_S.gguf +0 -3
- tiny-random-llama-Q4_0.gguf +0 -3
- tiny-random-llama-Q4_K_M.gguf +0 -3
- tiny-random-llama-Q4_K_S.gguf +0 -3
- tiny-random-llama-Q5_0.gguf +0 -3
- tiny-random-llama-Q5_K_M.gguf +0 -3
- tiny-random-llama-Q5_K_S.gguf +0 -3
- tiny-random-llama-Q6_K.gguf +0 -3
- tiny-random-llama-Q8_0.gguf +0 -3
tiny-random-llama-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1cbd1a28496c8822999bc8656222e136ff090c4f4e20acdd29746ec65bd33569
|
| 3 |
-
size 65673760
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6b08209c5b96def97750e7f6d93f4e9d14d07d0a03f66d939dab775b2b43d04d
|
| 3 |
-
size 64964128
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27fa9f4815defb3baa537eb82ec98df4f3bc5eba3b5c9a827075190e8be36e4f
|
| 3 |
-
size 65973792
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:433288ecec067f32acf5f4b3e8f728c0ceb95a912a8c184c3d373ce78f3b8bb7
|
| 3 |
-
size 66261024
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fe8985e8e8ba591c1f5cd61a235160fde56edad43a04babb0a6b489542bdb18c
|
| 3 |
-
size 65990176
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:179c6db287f05cf16e6ab700169e0ab36ccc7b543c46dd80bce9631f83637691
|
| 3 |
-
size 66924064
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:be5b4f02e04eb835b876d70b92645da4b2963dbb89ef212400bbfd9f8dd86ac1
|
| 3 |
-
size 67072032
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b04e191919bd2683958256f3c413b1c947d9b857195de3e30bd006216cf76bdb
|
| 3 |
-
size 66924064
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c309e749dfc310b43528bbc07b346f9300d12be68754fcaec6de2f63906726c3
|
| 3 |
-
size 67933728
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-llama-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0ec0addc8a4479d1c74454a1a9518f07e9943853f371ced28f568ac2e4ae0367
|
| 3 |
-
size 85678624
|
|
|
|
|
|
|
|
|
|
|
|