Downloads · 30 days
13
18% of all-time downloads
AnishRacherla/aya-expanse-8b-compressed-final-int4
aya-expanse-8b-compressed-final-int4 is a translation model from AnishRacherla. Use it when you need text moved from one language to another. The card lists the license as apache-2.0.
Downloads · 30 days
13
18% of all-time downloads
All-time downloads
71
Public
Parameters
7.3B
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.2 GB · 100%
How the weights are stored.
U86.3B · 86%
From the Hugging Face model README
Self-contained. No other repo needed.
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
import torch
bnb = BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_quant_type="nf4", bnb_4bit_compute_dtype=torch.float16)
tok = AutoTokenizer.from_pretrained('AnishRacherla/aya-expanse-8b-compressed-final-int4', trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained('AnishRacherla/aya-expanse-8b-compressed-final-int4', quantization_config=bnb, device_map='auto', trust_remote_code=True)
| Metric | Baseline int4 | This model | Δ |
|---|---|---|---|
| VRAM | 5.31 GB | 4.89 GB | -0.42 |
| Tokens/sec | 9.2 | 9.8 | +0.6 |
| COMET | 0.5095 | 0.8553 | +0.3458 |