Downloads · 30 days
8
12% of all-time downloads
aumghag/ft-llama-3.1-8B-capstone-personifAI-edu
ft-llama-3.1-8B-capstone-personifAI-edu is a text generation model from aumghag. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model has been fine-tuned to enhance its capabilities in generating personalized educational content, including audiobooks, textbooks, and quizzes on topics such as Data Analytics, Digital Marketing, and Project…
Downloads · 30 days
8
12% of all-time downloads
All-time downloads
69
Public
Parameters
8B
16.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
This model has been fine-tuned to enhance its capabilities in generating personalized educational content, including audiobooks, textbooks, and quizzes on topics such as Data Analytics, Digital Marketing, and Project Management. It is designed to provide detailed, domain-specific outputs that can aid in learning and comprehension for students and professionals. This model has been created as a Capstone Project for NMIMS MPSTME University in Mumbai
This model is a fine-tuned version of the LLaMA-3.1-8B model, aimed at generating educational materials. Fine-tuned on a custom dataset focusing on data analytics, digital marketing, and project management, this model excels in generating personalized content for these specific domains. It can create detailed and contextually rich text, suitable for educational purposes such as textbooks, quizzes, and instructional content.
This model is intended for generating educational content, such as textbooks, quizzes, and audiobooks, across subjects like Data Analytics, Digital Marketing, and Project Management. It can be directly used by educators, content creators, and students to produce high-quality instructional material and study aids.
The model can be fine-tuned further for specific educational purposes, such as developing customized curriculums, creating interactive learning modules, or generating content tailored to specific learning needs. It can also be integrated into educational platforms to enhance personalized learning experiences.
This model is not suitable for generating content outside the educational domain, particularly in areas requiring specialized knowledge or where accuracy is critical, such as medical, legal, or financial advice. It should not be used for generating misleading information, spreading misinformation, or other malicious purposes.
This model was fine-tuned on a dataset specifically focused on educational content related to Data Analytics, Digital Marketing, and Project Management. As a result, it may exhibit biases present in the training data, such as:
Users should take the following into account when using the model:
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, AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("aumghag/ft-llama-3.1-8B-capstone-personifAI-edu")
model = AutoModelForCausalLM.from_pretrained("aumghag/ft-llama-3.1-8B-capstone-personifAI-edu")
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "What are Large Language Models?"
result = pipe(f"[INST] {prompt} [/INST]")
print(result[0]['generated_text'])
The model was fine-tuned on the aumghag/Data-Analytics-Digital-Marketing-Project-Management-QA_DB dataset, which includes instructional content in the fields of Data Analytics, Digital Marketing, and Project Management. This dataset consists of questions and answers designed to train the model for generating educational content.
The model was fine-tuned using LoRA (Low-Rank Adaptation) and SFT (Supervised Fine-Tuning) techniques to specialize it in generating educational content. The training procedure involved a single epoch of fine-tuning with gradient checkpointing enabled to optimize memory usage. The model was trained on a 4-bit quantized version using the BitsAndBytes library to accelerate training on GPUs with limited memory.
Preprocessing included tokenization using the LLaMA tokenizer, with padding set to the right side and the eos_token used as the pad_token. No additional preprocessing steps were applied to the dataset beyond tokenization.
fp16 (16-bit floating-point precision) was utilized during training. The model was fine-tuned using the QLoRA method with a LoRA attention dimension of 64, LoRA alpha of 16, and a dropout of 0.1. Gradient accumulation was set to 1, and the learning rate was 2e-4 with a cosine scheduler. Weight decay was set to 0.001.The testing data used for evaluation included a split of 80/20 on the dataset aumghag/Data-Analytics-Digital-Marketing-Project-Management-QA_DB. The dataset comprises various question-answer pairs relevant to data analytics, digital marketing, and project management. For detailed information, refer to the associated Dataset Card.
The evaluation was disaggregated by the following factors:
The following metrics were used to evaluate the model's performance:
Accuracy: The correctness of the model's answers, particularly in generating factually accurate information.
Perplexity: A measure of how well the model predicts the next token, which helps evaluate the fluency and coherence of the generated text.
Relevance: Assessed by how well the generated responses align with the prompt and the domain-specific requirements.
Diversity: Measures the variety of responses generated by the model, ensuring it doesn't repeat or generate redundant information.
Human Evaluation: A manual review by subject matter experts to assess the overall quality and usefulness of the generated content.
The model demonstrated strong performance in generating accurate and coherent text across the evaluated domains. The model delivered strong performance in generating Audiobooks, Personalized Textbooks, Quizzes (which target weak topics of students) and designing a curriculum for the students.
The fine-tuned LLaMA model demonstrates robust capabilities in generating high-quality, relevant, and accurate content across the domains of Data Analytics, Digital Marketing, and Project Management. The model excels in producing coherent and contextually appropriate responses, with a low perplexity score and high relevance. The model's strong performance across multiple metrics suggests that it is a valuable tool for users looking to automate content generation tasks.