Downloads · 30 days
515
13% of all-time downloads
SpectraSuite/TriLM_99M_Unpacked
TriLM_99M_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
515
13% of all-time downloads
All-time downloads
3.8K
Public
Parameters
99.8M
200 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors200 MB · 99%
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_99M_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_id, 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")