SpectraSuite/TriLM_3.9B_Unpacked
15355
1---2license: apache-2.03---4 5# TriLM 3.9B Unpacked6 7TriLM (ternary model), unpacked to FP16 format - compatible with FP16 GEMMs. After unpacking, TriLM has the same architecture as LLaMa.8 9```python10import transformers as tf, torch11model_name = "SpectraSuite/TriLM_3.9B_Unpacked"12 13# Please adjust the temperature, repetition penalty, top_k, top_p and other sampling parameters according to your needs.14pipeline = tf.pipeline("text-generation", model=model_name, model_kwargs={"torch_dtype": torch.float16}, device_map="auto")15 16# These are base (pretrained) LLMs that are not instruction and chat tuned. You may need to adjust your prompt accordingly.17pipeline("Once upon a time")18```19 20* License: Apache 2.021* We will use our GitHub repo for communication (including HF repo related queries). Feel free to open an issue here https://github.com/NolanoOrg/SpectraSuite22 