Instructions to use tensorblock/tiny-random-qwen2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/tiny-random-qwen2-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/tiny-random-qwen2-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/tiny-random-qwen2-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/tiny-random-qwen2-GGUF", filename="tiny-random-qwen2-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 tensorblock/tiny-random-qwen2-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-qwen2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-qwen2-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-qwen2-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/tiny-random-qwen2-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-qwen2-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/tiny-random-qwen2-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-qwen2-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/tiny-random-qwen2-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/tiny-random-qwen2-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/tiny-random-qwen2-GGUF with Ollama:
ollama run hf.co/tensorblock/tiny-random-qwen2-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/tiny-random-qwen2-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-qwen2-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-qwen2-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-qwen2-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/tiny-random-qwen2-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/tiny-random-qwen2-GGUF:Q2_K
- Lemonade
How to use tensorblock/tiny-random-qwen2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/tiny-random-qwen2-GGUF:Q2_K
Run and chat with the model
lemonade run user.tiny-random-qwen2-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- tiny-random-qwen2-Q3_K_L.gguf +0 -3
- tiny-random-qwen2-Q3_K_M.gguf +0 -3
- tiny-random-qwen2-Q3_K_S.gguf +0 -3
- tiny-random-qwen2-Q4_0.gguf +0 -3
- tiny-random-qwen2-Q4_K_M.gguf +0 -3
- tiny-random-qwen2-Q4_K_S.gguf +0 -3
- tiny-random-qwen2-Q5_0.gguf +0 -3
- tiny-random-qwen2-Q5_K_M.gguf +0 -3
- tiny-random-qwen2-Q5_K_S.gguf +0 -3
- tiny-random-qwen2-Q6_K.gguf +0 -3
- tiny-random-qwen2-Q8_0.gguf +0 -3
tiny-random-qwen2-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7fc44b717b773704d64fe9474bc9c3bb830885c2ee85dac44031171dd45e2f88
|
| 3 |
-
size 106631136
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:423cd613354de5d2a88b30aa2c695bd2e160554384884df0f7937acbd6688861
|
| 3 |
-
size 106477536
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:af0e02443e9fa18cab6ae1bf2bac2958089b753599ddc496c22626fdf3b4f6c7
|
| 3 |
-
size 106096608
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8344423d98d90cca615f104f164bdb261593d13548923304966ac3caf1260ebc
|
| 3 |
-
size 117081056
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e3b58801e6e1a6040228ad4cfbb00a5130478e16cb6e4d506bf3db3100a99b22
|
| 3 |
-
size 117588960
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4711bae7c98e3d4491791d40f77e301e63ebbab9758489930e684a67d418e3c7
|
| 3 |
-
size 117322720
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b93dce9a26036f0acde392c3ccc79c816ac06c7c571a585738d439a27419a76f
|
| 3 |
-
size 127595488
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0947f353f5bac9f5efbb394d405866e24b14b827a281e802f58371d7a06d4ae3
|
| 3 |
-
size 127938528
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c4cfe81573846d8b782798a81d2ba692863ebbd34d2fbeb0e1b6c573861bedd4
|
| 3 |
-
size 127683552
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a6745694c70626d981fbb7a6109b7f75d281fbaef63d6f7e58b93073b69229a6
|
| 3 |
-
size 139108320
|
|
|
|
|
|
|
|
|
|
|
|
tiny-random-qwen2-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0b57df64febbd1bd43df8f34422afd93b854400bf1e8a15886fdd0c6518bd85f
|
| 3 |
-
size 177978848
|
|
|
|
|
|
|
|
|
|
|
|