FloatLMs
Collection
FP16 LLMs with LLaMa architecture, trained on same 300B tokens as TriLMs.
•
9 items
•
Updated
The good ol' FP16 LLMs with LLaMa architecture.
import transformers as tf, torch
model_name = "SpectraSuite/FloatLM_190M"
# 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")