Instructions to use rustformers/bloomz-ggml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rustformers/bloomz-ggml with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="rustformers/bloomz-ggml")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rustformers/bloomz-ggml", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use rustformers/bloomz-ggml with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rustformers/bloomz-ggml" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rustformers/bloomz-ggml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/rustformers/bloomz-ggml
- SGLang
How to use rustformers/bloomz-ggml with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "rustformers/bloomz-ggml" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rustformers/bloomz-ggml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "rustformers/bloomz-ggml" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rustformers/bloomz-ggml", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use rustformers/bloomz-ggml with Docker Model Runner:
docker model run hf.co/rustformers/bloomz-ggml
Commit History
-
Generated README.md
4af6a74 -
Upload new model file: 'bloomz-3b-q5_1-ggjt.bin'
9ce8a21 -
Delete old file: 'bloomz-3b-q5_1-ggjt.meta'
f6c9b3c -
Delete old file: 'bloomz-3b-q5_1-ggjt.bin'
927ddb3 -
Upload new model file: 'bloomz-3b-q5_1.bin'
53621e2 -
Upload new model file: 'bloomz-1b7-q5_1-ggjt.bin'
c72734b -
Upload new model file: 'bloomz-3b-q4_0-ggjt.bin'
461cf34 -
Delete old file: 'bloomz-1b7-q5_1-ggjt.meta'
08b3c0f -
Delete old file: 'bloomz-1b7-q5_1-ggjt.bin'
0e12e16 -
Upload new model file: 'bloomz-1b7-q5_1.bin'
4f457b6 -
Delete old file: 'bloomz-3b-q4_0-ggjt.meta'
170e9ca -
Delete old file: 'bloomz-3b-q4_0-ggjt.bin'
274374a -
Upload new model file: 'bloomz-3b-q4_0.bin'
fe02ed5 -
Upload new model file: 'bloomz-1b1-q5_1-ggjt.bin'
e41be06 -
Upload new model file: 'bloomz-1b7-q4_0-ggjt.bin'
23a426b -
Delete old file: 'bloomz-1b1-q5_1-ggjt.meta'
10a92d2 -
Delete old file: 'bloomz-1b1-q5_1-ggjt.bin'
7fb7bc6 -
Upload new model file: 'bloomz-1b1-q5_1.bin'
a0abd48 -
Delete old file: 'bloomz-3b-q4_0.meta'
18f0cfb -
Delete old file: 'bloomz-3b-q4_0.bin'
8feb8f0 -
Delete old file: 'bloomz-1b7-q4_0-ggjt.meta'
92a7c6d -
Delete old file: 'bloomz-1b7-q4_0-ggjt.bin'
5829454 -
Upload new model file: 'bloomz-1b7-q4_0.bin'
617e3c8 -
Upload new model file: 'bloomz-560m-q5_1-ggjt.bin'
5eaf163 -
Upload new model file: 'bloomz-1b1-q4_0-ggjt.bin'
e43b88d -
Delete old file: 'bloomz-560m-q5_1-ggjt.meta'
4ed3ace -
Delete old file: 'bloomz-560m-q5_1-ggjt.bin'
c2a5f71 -
Upload new model file: 'bloomz-560m-q5_1.bin'
0fe9e22 -
Delete old file: 'bloomz-1b1-q4_0-ggjt.meta'
afe637a -
Delete old file: 'bloomz-1b1-q4_0-ggjt.bin'
59aa930 -
Delete old file: 'bloomz-1b7-q4_0.meta'
113ae47 -
Delete old file: 'bloomz-1b7-q4_0.bin'
d9a0747 -
Upload new model file: 'bloomz-1b1-q4_0.bin'
47a1f5f -
Upload new model file: 'bloomz-560m-q4_0-ggjt.bin'
84bc3f7 -
Delete old file: 'bloomz-1b1-q4_0.meta'
36780a5 -
Delete old file: 'bloomz-1b1-q4_0.bin'
31fa151 -
Delete old file: 'bloomz-560m-q4_0-ggjt.meta'
9c906fd -
Delete old file: 'bloomz-560m-q4_0-ggjt.bin'
3852b1a -
Upload new model file: 'bloomz-560m-q4_0.bin'
22d0527 -
Delete old file: 'bloomz-560m-q4_0.meta'
2396035 -
Delete old file: 'bloomz-560m-q4_0.bin'
852d4f7 -
Upload new model file: 'bloomz-3b-f16.bin'
1fb14ad -
Delete old file: 'bloomz-3b-f16.meta'
872bbbf -
Delete old file: 'bloomz-3b-f16.bin'
9591f30 -
Upload new model file: 'bloomz-1b7-f16.bin'
8fc911b -
Delete old file: 'bloomz-1b7-f16.meta'
f600b6c -
Delete old file: 'bloomz-1b7-f16.bin'
45498b8 -
Upload new model file: 'bloomz-1b1-f16.bin'
4dcf316 -
Delete old file: 'bloomz-1b1-f16.meta'
ceadf96 -
Delete old file: 'bloomz-1b1-f16.bin'
175a36d