Downloads · 30 days
0
lee12ki/llama2-finetune-7b
llama2-finetune-7b is a text generation model from lee12ki. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as llama2.
The lee12ki/llama2-finetune-7b model is a fine-tuned version of NousResearch/Llama-2-7b-chat-hf, optimized for text generation and conversational tasks. It enhances the base model's ability to follow instructions and…
Downloads · 30 days
0
Access
Public
Updated Nov 18, 2024
Repo size
53.9 GB
Likes
0
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
The lee12ki/llama2-finetune-7b model is a fine-tuned version of NousResearch/Llama-2-7b-chat-hf, optimized for text generation and conversational tasks. It enhances the base model's ability to follow instructions and generate coherent, context-aware responses, making it suitable for applications like chatbots and interactive AI systems. Fine-tuned using mlabonne/guanaco-llama2-1k, the model focuses on instruction tuning for dialogue-based tasks.
The lee12ki/llama2-finetune-7b model represents a fine-tuned adaptation of the NousResearch/Llama-2-7b-chat-hf architecture, specifically tailored for instruction-following and conversational AI tasks. Fine-tuned using the mlabonne/guanaco-llama2-1k dataset, it benefits from high-quality examples designed to enhance its ability to understand and generate human-like responses.
This model uses QLoRA (Quantized Low-Rank Adaptation) to enable efficient fine-tuning, reducing computational demands while maintaining high performance. It is trained to handle a variety of text generation tasks, making it suitable for applications like interactive chatbots, content generation, and knowledge-based question answering.
By incorporating these advancements, the model achieves a balance between performance and efficiency, making it accessible to users with limited computational resources while retaining the robust capabilities of the original Llama 2 model.
LoRA rank (r): 64 Alpha parameter: 16 Dropout probability: 0.1
The model can be further fine-tuned for specific tasks such as customer support bots, code generation, or document summarization.
Avoid using the model for generating misinformation, hate speech, or other harmful content.
This model may inherit biases from the training dataset or base model. Outputs should be reviewed critically before use in sensitive applications.
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 pipeline
pipe = pipeline("text-generation", model="lee12ki/llama2-finetune-7b") response = pipe("What is a large language model?") print(response[0]["generated_text"])
The model was trained on mlabonne/guanaco-llama2-1k, a dataset tailored for instruction tuning, with dialogue-focused examples.
The dataset was preprocessed to align with the LLaMA tokenizer format. Padding and sequence truncation were applied as required.
Training regime: fp16 mixed precision with gradient checkpointing Batch size: 4 (per device) Learning rate: 2e-4 Epochs: 1 Gradient Accumulation Steps: 1
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]