Downloads · 30 days
33
4% of all-time downloads
rustformers/open-llama-ggml
open-llama-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 apache-2.0.
In this repo, we present a permissively licensed open source reproduction of Meta AI's LLaMA large language model. We are releasing a 7B and 3B model trained on 1T tokens, as well as the preview of a 13B model trained…
Downloads · 30 days
33
4% of all-time downloads
All-time downloads
840
Public
Repo size
33.7 GB
Likes
9
Public
Click a slice to open those files.
.bin33.7 GB · 100%
From the Hugging Face model README
In this repo, we present a permissively licensed open source reproduction of Meta AI's LLaMA large language model. We are releasing a 7B and 3B model trained on 1T tokens, as well as the preview of a 13B model trained on 600B tokens. We provide PyTorch and JAX weights of pre-trained OpenLLaMA models, as well as evaluation results and comparison against the original LLaMA models. Please see the project homepage of OpenLLaMA for more details.
We release the weights in two formats: an EasyLM format to be use with our EasyLM framework, and a PyTorch format to be used with the Hugging Face transformers library. Both our training framework EasyLM and the checkpoint weights are licensed permissively under the Apache 2.0 license.
| Name | Based on | Type | Container | GGML Version |
|---|---|---|---|---|
| open_llama_3b-f16.bin | openlm-research/open_llama_3b | F16 | GGML | V3 |
| open_llama_3b-q4_0-ggjt.bin | openlm-research/open_llama_3b | Q4_0 | GGJT | V3 |
| open_llama_3b-q5_1-ggjt.bin | openlm-research/open_llama_3b | Q5_1 | GGJT | V3 |
| open_llama_7b-f16.bin | openlm-research/open_llama_7b | F16 | GGML | V3 |
| open_llama_7b-q4_0-ggjt.bin | openlm-research/open_llama_7b | Q4_0 | GGJT | V3 |
| open_llama_7b-q5_1-ggjt.bin | openlm-research/open_llama_7b | Q5_1 | GGJT | V3 |
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/open-llama-ggml",model_file=" open_llama_7b-q4_0-ggjt.bin")
#Generate
print(model.generate("The meaning of life is"))
Download the installer at www.localai.app.
Download your preferred model and place it in the "models" directory. Subsequently, you can start a chat session with your model directly from the interface.
git clone --recurse-submodules https://github.com/rustformers/llm.git
cd llm
cargo build --release
cargo run --release -- llama infer -m path/to/model.bin -p "Tell me how cool the Rust programming language is:"