Downloads · 30 days
132
9% of all-time downloads
rustformers/bloom-ggml
bloom-ggml is a text generation model from rustformers. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as bigscience-bloom-rail-1.0.
BLOOM is an autoregressive Large Language Model (LLM), trained to continue text from a prompt on vast amounts of text data using industrial-scale computational resources. As such, it is able to output coherent text in…
Downloads · 30 days
132
9% of all-time downloads
All-time downloads
1.4K
Public
Repo size
73.3 GB
Likes
8
Public
Click a slice to open those files.
.bin37.8 GB · 100%
From the Hugging Face model README
BLOOM is an autoregressive Large Language Model (LLM), trained to continue text from a prompt on vast amounts of text data using industrial-scale computational resources. As such, it is able to output coherent text in 46 languages and 13 programming languages that is hardly distinguishable from text written by humans. BLOOM can also be instructed to perform text tasks it hasn't been explicitly trained for, by casting them as text generation tasks.
Via pip: pip install llm-rs
from llm_rs import AutoModel
#Load the model, define any model you like from the list above as the `model_file`
model = AutoModel.from_pretrained("rustformers/bloom-ggml",model_file="bloom-3b-q4_0-ggjt.bin")
#Generate
print(model.generate("The meaning of life is"))
git clone --recurse-submodules https://github.com/rustformers/llm.git
cd llm
cargo build --release
cargo run --release -- bloom infer -m path/to/model.bin -p "Tell me how cool the Rust programming language is:"