Views
No views yet
git clone --single-branch --branch 6_5 https://huggingface.co/SpectraSuite_-_QuantLM_830M_8bit_Unpacked-exl2 QuantLM_830M_8bit_Unpacked-6_5pip3 install huggingface-hub--revision parameter. For example, to download the 6.5 bpw branch:
Linux:huggingface-cli download SpectraSuite_-_QuantLM_830M_8bit_Unpacked-exl2 --revision 6_5 --local-dir QuantLM_830M_8bit_Unpacked-6_5 --local-dir-use-symlinks Falsehuggingface-cli download SpectraSuite_-_QuantLM_830M_8bit_Unpacked-exl2 --revision 6_5 --local-dir QuantLM_830M_8bit_Unpacked-6.5 --local-dir-use-symlinks False1import transformers as tf, torch
2model_name = "SpectraSuite/QuantLM_830M_8bit_Unpacked"
3# Please adjust the temperature, repetition penalty, top_k, top_p and other sampling parameters according to your needs.
4pipeline = tf.pipeline("text-generation", model=model_id, model_kwargs={"torch_dtype": torch.float16}, device_map="auto")
5# These are base (pretrained) LLMs that are not instruction and chat tuned. You may need to adjust your prompt accordingly.
6pipeline("Once upon a time")