Downloads · 30 days
76
9% of all-time downloads
rustformers/stablelm-ggml
stablelm-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 cc-by-sa-4.0.
StableLM-Base-Alpha is a suite of 3B and 7B parameter decoder-only language models pre-trained on a diverse collection of English and Code datasets with a sequence length of 4096 to push beyond the context window limi…
Downloads · 30 days
76
9% of all-time downloads
All-time downloads
837
Public
Repo size
150 GB
Likes
3
Public
Click a slice to open those files.
.bin107 GB · 100%
From the Hugging Face model README
StableLM-Base-Alpha is a suite of 3B and 7B parameter decoder-only language models pre-trained on a diverse collection of English and Code datasets with a sequence length of 4096 to push beyond the context window limitations of existing open-source language models.
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/stablelm-ggml",model_file="stablelm-base-alpha-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 -- gptneox infer -m path/to/model.bin -p "Tell me how cool the Rust programming language is:"