Instructions to use tensorblock/InstructLM-500M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/InstructLM-500M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/InstructLM-500M-GGUF", filename="InstructLM-500M-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/InstructLM-500M-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/InstructLM-500M-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/InstructLM-500M-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/InstructLM-500M-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/InstructLM-500M-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/InstructLM-500M-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/InstructLM-500M-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/InstructLM-500M-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/InstructLM-500M-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/InstructLM-500M-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/InstructLM-500M-GGUF with Ollama:
ollama run hf.co/tensorblock/InstructLM-500M-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/InstructLM-500M-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/InstructLM-500M-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/InstructLM-500M-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/InstructLM-500M-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/InstructLM-500M-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/InstructLM-500M-GGUF:Q2_K
- Lemonade
How to use tensorblock/InstructLM-500M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/InstructLM-500M-GGUF:Q2_K
Run and chat with the model
lemonade run user.InstructLM-500M-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- InstructLM-500M-Q3_K_L.gguf +0 -3
- InstructLM-500M-Q3_K_S.gguf +0 -3
- InstructLM-500M-Q4_0.gguf +0 -3
- InstructLM-500M-Q4_K_M.gguf +0 -3
- InstructLM-500M-Q4_K_S.gguf +0 -3
- InstructLM-500M-Q5_0.gguf +0 -3
- InstructLM-500M-Q5_K_M.gguf +0 -3
- InstructLM-500M-Q5_K_S.gguf +0 -3
- InstructLM-500M-Q6_K.gguf +0 -3
- InstructLM-500M-Q8_0.gguf +0 -3
InstructLM-500M-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b6811aad9054bcc8ea65c42f5de4dc7d121b57e332d355dc542f254418c0b2e5
|
| 3 |
-
size 317579104
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b32d4be007f48b19df8c80057d398598e4b0d226faa44949f6558e4f1988bfcd
|
| 3 |
-
size 278208352
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d540a12365b2efb986329107ce4e3761862c70f68270d395b578d578c2336e51
|
| 3 |
-
size 332991328
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:09f852cbd232df9a78d5d23581c4f5ccf94ba0aa215fb16c8fe2214b53ba04f0
|
| 3 |
-
size 371034976
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ce03b2f450fc8ebacee5bb0e2b12facce63bcd231716959a50737fe0129519a5
|
| 3 |
-
size 348271456
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d39fe330ab582a760812da4b6934dbe83e6ee2519f199ef3e12c272f0d30e285
|
| 3 |
-
size 397822816
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:358038f185a25efca48c2455043729e3267cb32e7ef4e41f6f059e4882155446
|
| 3 |
-
size 423553888
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4585c9bf25c48912d57f32b64d947703657c5e5649893159e46a1d6c0bb326a9
|
| 3 |
-
size 404458336
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:43d7ed6d8e0dbef01ed0c6b36e7874c1979d7bea3ed13d55b2d271f5c5d7165e
|
| 3 |
-
size 492418912
|
|
|
|
|
|
|
|
|
|
|
|
InstructLM-500M-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a46402f7f2edc4daf14c2e1fda08b7baaa74b865855d37ac2b481a67d384661e
|
| 3 |
-
size 604221280
|
|
|
|
|
|
|
|
|
|
|
|