Downloads · 30 days
0
0% of all-time downloads
pantelnm/Llama-3-8b-Alpaca-Finetuned
Llama-3-8b-Alpaca-Finetuned is a text generation model from pantelnm. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
Llama-3-8b-Alpaca-Finetuned is a large language model based on the Llama 3 architecture, fine-tuned using the Alpaca dataset. This model is designed to enhance natural language understanding and generation tasks by le…
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
18
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Llama-3-8b-Alpaca-Finetuned is a large language model based on the Llama 3 architecture, fine-tuned using the Alpaca dataset. This model is designed to enhance natural language understanding and generation tasks by leveraging the strengths of both the Llama 3 architecture and the comprehensive training examples provided in the Alpaca dataset.
Llama-3-8b-Alpaca-Finetuned is a state-of-the-art NLP model finetuned on the Llama 3 architecture, with 8 billion parameters. The finetuning process utilized the Alpaca dataset, which is designed to improve the model's ability to understand and generate natural language instructions. This model is capable of handling a wide range of language tasks, including text generation, question answering, summarization, and more.
Llama-3-8b-Alpaca-Finetuned can be used directly for various NLP tasks, including:
When integrated into larger systems, Llama-3-8b-Alpaca-Finetuned can be used for:
The model should not be used for:
Llama-3-8b-Alpaca-Finetuned may inherit biases present in the training data. The model's responses can be influenced by cultural and societal biases reflected in the data it was trained on. Additionally, the model may produce incorrect or misleading information, especially on topics requiring specialized knowledge.
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.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("pantelnm/Llama-3-8b-Alpaca-Finetuned")
model = AutoModelForCausalLM.from_pretrained("pantelnm/Llama-3-8b-Alpaca-Finetuned")
input_text = "Provide a summary of the latest research in AI."
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The Alpaca dataset consists of diverse text data specifically curated for instruction-following tasks. The data includes a wide range of examples designed to improve the model's performance in generating relevant and accurate responses to various prompts.
[More Information Needed]
Training Hyperparameters Training regime: Mixed precision (fp16) to balance performance and efficiency. Batch size: 512 Learning rate: 3e-5 Epochs: 10
Training throughput: 1000 tokens/second Total training time: 72 hours Checkpoint size: 16 GB
The model was evaluated using a separate validation set derived from the Alpaca dataset, containing diverse examples for a robust assessment of performance.
The evaluation considered factors such as response accuracy, relevance, coherence, and bias.
[More Information Needed]
Key metrics included BLEU score, ROUGE score, and human evaluation for qualitative assessment.
[More Information Needed]
BLEU score: 28.5 ROUGE-L score: 35.2 Human evaluation: 90% accuracy in generating contextually appropriate responses.
[More Information Needed]
The model demonstrated strong performance across various metrics, indicating its effectiveness in generating high-quality text. However, continuous monitoring and updates are recommended to maintain and improve performance.
Examinations included attention weight analysis and saliency maps to understand how the model processes input and generates output.
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Llama-3-8b-Alpaca-Finetuned is based on the transformer architecture, designed for efficient processing of natural language tasks. The model's objective is to generate tex