Downloads · 30 days
17
0% of all-time downloads
Soorya03/Llama-3.2-1B-Instruct-FitnessAssistant
Llama-3.2-1B-Instruct-FitnessAssistant is a text generation model from Soorya03. Use it when you need the model to write or continue text. It is set up for transformers.
This model is a fine-tuned version of the "meta-llama/Llama-3.2-1B-Instruct" using LoRA (Low-Rank Adaptation) weights. It was trained to assist in answering questions and providing information on a range of topics. Th…
Downloads · 30 days
17
0% of all-time downloads
All-time downloads
6.5K
Public
Parameters
1.2B
2.5 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of the "meta-llama/Llama-3.2-1B-Instruct" using LoRA (Low-Rank Adaptation) weights. It was trained to assist in answering questions and providing information on a range of topics. The model is designed to be used with the 🤗 Hugging Face transformers library
This model is based on the Llama-3.2-1B-Instruct architecture and has been fine-tuned with LoRA weights to improve its performance on specific downstream tasks. It was trained on a carefully selected dataset to enable more focused and contextual responses. The model is designed to perform well in environments where GPU resources may be limited, using optimizations like FP16 and device mapping.
This model can be directly used for general-purpose question-answering and information retrieval tasks in English. It is suitable for chatbots and virtual assistants and performs well in scenarios where contextual responses are important.
The model may also be further fine-tuned for specific tasks that require conversational understanding and natural language generation.
This model is not suitable for tasks outside of general-purpose NLP. It should not be used for high-stakes decision-making, tasks requiring detailed scientific or legal knowledge, or applications that could impact user safety or privacy.
This model was fine-tuned on a curated dataset but still inherits biases from the underlying Llama model. Users should be cautious about using it in sensitive or biased contexts, as the model may inadvertently produce outputs that reflect biases present in the training data.
Users (both direct and downstream) should be made aware of the potential risks and limitations of the model, including biases in language or domain limitations. More robust evaluation is recommended before deployment in critical applications.
Use the code below to get started with the model.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Soorya03/Llama-3.2-1B-Instruct-LoRA")
tokenizer = AutoTokenizer.from_pretrained("Soorya03/Llama-3.2-1B-Instruct-LoRA")
inputs = tokenizer("Your input text here", return_tensors="pt") outputs = model.generate(**inputs) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on a custom dataset, optimized for contextual question-answering tasks and general-purpose conversational use. The dataset was split into training and validation sets to enhance model generalization.
Precision: FP16 mixed precision Epochs: 10 Batch size: 4 Learning rate: 2e-4
Training time: Approximately 1 hour on Google Colab's T4 GPU.
For interpretability, tools like transformers's pipeline can help visualize the model's attention mechanisms and interpret its outputs. However, users should be aware that this is a black-box model.
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
The model follows the Llama architecture, which is a transformer-based model designed for NLP tasks. The objective of fine-tuning with LoRA weights was to enhance contextual understanding and response accuracy.
Google Colab T4 GPU with FP16 precision enabled
Library: 🤗 Hugging Face transformers Framework: PyTorch Other dependencies: PEFT library for LoRA weights integration
@misc{soorya2024llama, author = {Soorya R}, title = {Llama-3.2-1B-Instruct Fine-Tuned with LoRA Weights}, year = {2024}, url = {https://huggingface.co/Soorya03/Llama-3.2-1B-Instruct-LoRA}, }
FP16: 16-bit floating point precision, used to reduce memory usage and speed up computation. LoRA: Low-Rank Adaptation, a method for parameter-efficient fine-tuning.
For more details, please visit the model repository.
Soorya R