Downloads · 30 days
44
3% of all-time downloads
philkuz/llama-3.3-70b-instruct-fp8
llama-3.3-70b-instruct-fp8 is a text generation model from philkuz. 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 Meta's Llama 3.3 70B Instruct model using FP8 quantization with compressed-tensors.
Downloads · 30 days
44
3% of all-time downloads
All-time downloads
1.4K
Public
Parameters
70.6B
72.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors72.7 GB · 100%
How the weights are stored.
F8_E4M368.5B · 97%
From the Hugging Face model README
This is a quantized version of Meta's Llama 3.3 70B Instruct model using FP8 quantization with compressed-tensors.
This model uses FP8 quantization with the following configuration:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
# Load the model and tokenizer
model_name = "your-username/Llama-3.3-70B-Instruct-FP8"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Example usage
prompt = "Explain quantum computing in simple terms:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
from transformers import AutoTokenizer, AutoModelForCausalLM
from compressed_tensors import load_model
# Load the quantized model
model_name = "your-username/Llama-3.3-70B-Instruct-FP8"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = load_model(model_name, device_map="auto")
transformers >= 4.55.4compressed-tensors >= 0.12.2torchaccelerateThis model is a quantized version of Meta's Llama 3.3 70B Instruct model. The original model is designed for instruction-following tasks and general language understanding. The FP8 quantization reduces memory requirements while maintaining high performance.
This model inherits the training data from the base Llama 3.3 70B Instruct model.
This model is intended for:
@misc{llama33instruct,
title={Llama 3.3 70B Instruct},
author={Meta AI},
year={2024},
url={https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct}
}
This model is released under the Llama 3.1 Community License. Please review the license terms before use.