Downloads · 30 days
18
7% of all-time downloads
manu02/Jan-code-4b-bnb-4bit-nf4-dq
Jan-code-4b-bnb-4bit-nf4-dq is a text generation model from manu02. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a 4-bit quantized version of the original janhq/Jan-code-4b model, optimized for reduced memory usage while maintaining performance.
Downloads · 30 days
18
7% of all-time downloads
All-time downloads
243
Public
Parameters
4.5B
3.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
How the weights are stored.
U83.7B · 83%
From the Hugging Face model README
This model is a 4-bit quantized version of the original janhq/Jan-code-4b model, optimized for reduced memory usage while maintaining performance.
from transformers import AutoModel, AutoTokenizer
model_name = "Jan-code-4b-bnb-4bit-nf4"
model = AutoModel.from_pretrained(
"manu02/Jan-code-4b-bnb-4bit-nf4",
)
tokenizer = AutoTokenizer.from_pretrained("manu02/Jan-code-4b-bnb-4bit-nf4", use_fast=True)