Instructions to use tensorblock/bloom-7b1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/bloom-7b1-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/bloom-7b1-GGUF", filename="bloom-7b1-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/bloom-7b1-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/bloom-7b1-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/bloom-7b1-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/bloom-7b1-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/bloom-7b1-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/bloom-7b1-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/bloom-7b1-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/bloom-7b1-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/bloom-7b1-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/bloom-7b1-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/bloom-7b1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/bloom-7b1-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/bloom-7b1-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/bloom-7b1-GGUF:Q2_K
- Ollama
How to use tensorblock/bloom-7b1-GGUF with Ollama:
ollama run hf.co/tensorblock/bloom-7b1-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/bloom-7b1-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/bloom-7b1-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/bloom-7b1-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/bloom-7b1-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/bloom-7b1-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/bloom-7b1-GGUF:Q2_K
- Lemonade
How to use tensorblock/bloom-7b1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/bloom-7b1-GGUF:Q2_K
Run and chat with the model
lemonade run user.bloom-7b1-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- bloom-7b1-Q3_K_L.gguf +0 -3
- bloom-7b1-Q3_K_S.gguf +0 -3
- bloom-7b1-Q4_0.gguf +0 -3
- bloom-7b1-Q4_K_M.gguf +0 -3
- bloom-7b1-Q4_K_S.gguf +0 -3
- bloom-7b1-Q5_0.gguf +0 -3
- bloom-7b1-Q5_K_M.gguf +0 -3
- bloom-7b1-Q5_K_S.gguf +0 -3
- bloom-7b1-Q6_K.gguf +0 -3
- bloom-7b1-Q8_0.gguf +0 -3
bloom-7b1-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6e7b4613ff9c30c0ee20f613d7905479c8ed936cd9a16fac28aa21d5b9a534d1
|
| 3 |
-
size 4748159840
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:69d326e146ef93753ac665c7a6104086979b65cd58e9efb2033292a815f811b2
|
| 3 |
-
size 3898813280
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c5170725e95045ee519acbf2222a9376d9a6a6e9e9e1a9d80e8454525cb5a24c
|
| 3 |
-
size 4837452640
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cd24f26499ca81c9f061937e9bba4702c1f9b0984095c54d9662d400ad579d59
|
| 3 |
-
size 5268417376
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a1afdc66e5efb9cfef91ae73ddd890dbff3d362907f79a1f692eb04e0fe836af
|
| 3 |
-
size 4862618464
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ae74edf97e59cb971185d8d6b289c6272b1c12b773d8bff8b2325a5eb0ff3f84
|
| 3 |
-
size 5720877920
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:55e68129283055977e346473524754b3bf4e81f06cf6bebc3de5293751800ae5
|
| 3 |
-
size 6046198624
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4d50f1106185eb4799a59a483e0a520dd6bac1c423565ea6677ac2662b84ae52
|
| 3 |
-
size 5720877920
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:28919d9e75ba49b63b223516df1483d105f0d1beea4f494552e66ca42b50f295
|
| 3 |
-
size 6659517280
|
|
|
|
|
|
|
|
|
|
|
|
bloom-7b1-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c4d006b60758bbe8970fd08afb52793c38e0483214456a56943418d6dabbbfa8
|
| 3 |
-
size 8620026720
|
|
|
|
|
|
|
|
|
|
|
|