This is a quantized version of LLaMA 3 3B Instruct, using HQQ 4-bit quantization and fine-tuned with DoRA (LoRA with DoRA enhancements) on the WikiText-2 dataset.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("will200112/quantized-llama3-3b")
4tokenizer = AutoTokenizer.from_pretrained("will200112/quantized-llama3-3b")
5
6prompt = "Once upon a time"
7inputs = tokenizer(prompt, return_tensors="pt")
8outputs = model.generate(**inputs)
9print(tokenizer.decode(outputs[0]))
Carbon emissions can be estimated using the
Machine Learning Impact calculator presented in
Lacoste et al. (2019).