Downloads · 30 days
345
8% of all-time downloads
SpectraSuite/TriLM_3.9B_Unpacked
TriLM_3.9B_Unpacked is a text generation model from SpectraSuite. 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.
TriLM (ternary model), unpacked to FP16 format - compatible with FP16 GEMMs. After unpacking, TriLM has the same architecture as LLaMa.
Downloads · 30 days
345
8% of all-time downloads
All-time downloads
4.4K
Public
Parameters
4B
8 GB on disk
Likes
15
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
TriLM (ternary model), unpacked to FP16 format - compatible with FP16 GEMMs. After unpacking, TriLM has the same architecture as LLaMa.
import transformers as tf, torch
model_name = "SpectraSuite/TriLM_3.9B_Unpacked"
# Please adjust the temperature, repetition penalty, top_k, top_p and other sampling parameters according to your needs.
pipeline = tf.pipeline("text-generation", model=model_name, model_kwargs={"torch_dtype": torch.float16}, device_map="auto")
# These are base (pretrained) LLMs that are not instruction and chat tuned. You may need to adjust your prompt accordingly.
pipeline("Once upon a time")