Downloads · 30 days
18
3% of all-time downloads
haouarin/jais-13b-chat-GPTQ-4bits
jais-13b-chat-GPTQ-4bits is a text generation model from haouarin. Use it when you need the model to write or continue text. It is set up for transformers.
This is the quantized version 4-bits created using autotrain, but it doesn't work.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
581
Public
Repo size
7.4 GB
Likes
0
Public
Click a slice to open those files.
.bin7.4 GB · 100%
From the Hugging Face model README
This is the quantized version 4-bits created using autotrain, but it doesn't work.


!pip install auto-gptq
!pip install git+https://github.com/huggingface/optimum.git
!pip install git+https://github.com/huggingface/transformers.git
!pip install --upgrade accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer,GPTQConfig
tokenizer = AutoTokenizer.from_pretrained("inception-mbzuai/jais-13b-chat")
gptq_config = GPTQConfig(bits=4, dataset = "c4", tokenizer=tokenizer)
model = AutoModelForCausalLM.from_pretrained('inception-mbzuai/jais-13b-chat', quantization_config=gptq_config,trust_remote_code=True)