Files
TriLM_1.1B_Unpacked/README.md
ModelHub XC a3ccb54dd4 初始化项目,由ModelHub XC社区提供模型
Model: SpectraSuite/TriLM_1.1B_Unpacked
Source: Original Platform
2026-04-10 15:11:09 +08:00

864 B

license
license
apache-2.0

TriLM 1.1B Unpacked

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_1.1B_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")