Downloads · 30 days
13
3% of all-time downloads
fsaudm/Meta-Llama-3.1-8B-Instruct-INT8
Meta-Llama-3.1-8B-Instruct-INT8 is a text generation model from fsaudm. 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 quantized version of Llama 3.1 8B Instruct. Quantized to 8-bit using bistandbytes and accelerate.
Downloads · 30 days
13
3% of all-time downloads
All-time downloads
438
Public
Parameters
8B
9.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.1 GB · 100%
How the weights are stored.
I87B · 87%
From the Hugging Face model README
This is a quantized version of Llama 3.1 8B Instruct. Quantized to 8-bit using bistandbytes and accelerate.
Use a pipeline as a high-level helper:
# Use a pipeline as a high-level helper
from transformers import pipeline
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe = pipeline("text-generation", model="fsaudm/Meta-Llama-3.1-8B-Instruct-INT8")
pipe(messages)
Load model directly
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("fsaudm/Meta-Llama-3.1-8B-Instruct-INT8")
model = AutoModelForCausalLM.from_pretrained("fsaudm/Meta-Llama-3.1-8B-Instruct-INT8")
The base model information can be found in the original meta-llama/Meta-Llama-3.1-8B-Instruct