Downloads · 30 days
5
25% of all-time downloads
RichardErkhov/SpectraSuite_-_QuantLM_3.9B_4bit_Unpacked-4bits
SpectraSuite_-_QuantLM_3.9B_4bit_Unpacked-4bits is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
5
25% of all-time downloads
All-time downloads
20
Public
Parameters
4B
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
How the weights are stored.
U83.7B · 91%
From the Hugging Face model README
Quantization made by Richard Erkhov.
QuantLM_3.9B_4bit_Unpacked - bnb 4bits
QuantLM, unpacked to FP16 format - compatible with FP16 GEMMs. After unpacking, QuantLM has the same architecture as LLaMa.
import transformers as tf, torch
model_name = "SpectraSuite/QuantLM_3.9B_4bit_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")