Downloads · 30 days
18
3% of all-time downloads
glouriousgautam/llama-3-8b-instruct-bnb-4bit
llama-3-8b-instruct-bnb-4bit is a text generation model from glouriousgautam. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.1.
This is a 4-bit quantized version of the Llama 3.1 8B Instruct model.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
559
Public
Parameters
8.2B
5.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
How the weights are stored.
U87.2B · 87%
From the Hugging Face model README
This is a 4-bit quantized version of the Llama 3.1 8B Instruct model.
Average performance: 22.766 tokens/second Total tokens generated: 5000 Total time: 219.63 seconds
This model can be loaded with:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("glouriousgautam/llama-3-8b-instruct-bnb-4bit", device_map="auto", torch_dtype=torch.float16)
tokenizer = AutoTokenizer.from_pretrained("glouriousgautam/llama-3-8b-instruct-bnb-4bit")