Downloads · 30 days
59
9% of all-time downloads
jwnder/core42_jais-13b-chat-bnb-4bit
core42_jais-13b-chat-bnb-4bit is a text generation model from jwnder. Use it when you need the model to write or continue text. It is set up for transformers.
This is a quantized version of the Jais-13b-chat model
Downloads · 30 days
59
9% of all-time downloads
All-time downloads
661
Public
Parameters
13.4B
7.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.4 GB · 100%
How the weights are stored.
U813B · 97%
From the Hugging Face model README
This is a quantized version of the Jais-13b-chat model
To load this model you will need the bitsandbytes quantization method
If you are using text-generator-webui Select Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
import transformers
import torch
model_name = "jwnder/core42_jais-13b-chat-bnb-4bit"
import warnings
warnings.filterwarnings('ignore')
tokenizer = AutoTokenizer.from_pretrained(model_input_folder, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_input_folder, trust_remote_code=True)
inputs = tokenizer("Testing LLM!", return_tensors="pt")
start = datetime.now()
outputs = model.generate(**inputs)
end = datetime.now()
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))