Downloads · 30 days
21
5% of all-time downloads
LyubomirT/gpt2-student-suggester
gpt2-student-suggester is a text generation model from LyubomirT. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Meet the GPT2 Student Advisor, your personal AI counselor who’s been fine-tuned on student data to dole out academic advice. This model is based on GPT-2 and has been trained to generate personalized suggestions for s…
Downloads · 30 days
21
5% of all-time downloads
All-time downloads
432
Public
Parameters
124M
498 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
Meet the GPT2 Student Advisor, your personal AI counselor who’s been fine-tuned on student data to dole out academic advice. This model is based on GPT-2 and has been trained to generate personalized suggestions for students. Think of it as a non-judgmental guide to tell you (or your students) that maybe skipping classes and not studying isn’t the best strategy. It looks at stuff like study hours, attendance, sleep patterns, and other school-related activities to give advice, whether it’s to buckle down, sleep more, or, in some cases, keep up the good work.
This isn’t just some random text generator. The GPT2 Student Advisor can actually be used to give academic guidance, helping students (or teachers) with actionable advice. It’s especially handy for:
The model was trained on the Student Performance Factors dataset, which has data on things like:
Using this data, the model learned to generate suggestions like "Maybe study more than 5 hours a week" or "Get some sleep." All the good stuff.
Student Profile:
- Hours Studied per week: 5
- Attendance: 60%
- Parental Involvement: Low
- Access to Resources: Medium
- Extracurricular Activities: None
- Sleep Hours per night: 6
- Previous Scores: 70
- Motivation Level: Low
- Internet Access: None
- Tutoring Sessions per month: 0
- Family Income: Low
- Teacher Quality: Medium
- School Type: Public
- Peer Influence: Negative
- Physical Activity per week: 1 hour
- Learning Disabilities: Yes
- Parental Education Level: High School
- Distance from Home: Far
- Gender: Male
Suggestions:
- Consider increasing your study hours.
- Improve your class attendance.
- Seek more support from your parents.
- Ensure you get enough sleep each night.
- Find ways to boost your motivation.
- Find ways to access the internet for study resources.
- Consider seeking help for your learning disabilities.
- Engage in more physical activities for better health.
transformers library from Hugging Face, running on PyTorch.The model was evaluated using:
Let’s not pretend this model is a replacement for real counseling. It’s trained on a dataset that makes a lot of assumptions about student behavior and performance. Real life is, of course, more complex. Please use this model as an assistant, not a replacement for human guidance.
from transformers import GPT2LMHeadModel, GPT2Tokenizer
# Load the fine-tuned model and tokenizer
model = GPT2LMHeadModel.from_pretrained("LyubomirT/gpt2-student-suggester")
tokenizer = GPT2Tokenizer.from_pretrained("LyubomirT/gpt2-student-suggester")
# Define a student profile
student_profile = """
Student Profile:
- Hours Studied per week: 5
- Attendance: 60%
- Parental Involvement: Low
- Sleep Hours per night: 6
- Motivation Level: Low
"""
# Tokenize the input and generate suggestions
inputs = tokenizer.encode(student_profile, return_tensors="pt")
outputs = model.generate(inputs, max_length=600, num_beams=5, early_stopping=True)
suggestions = tokenizer.decode(outputs[0], skip_special_tokens=True)
print("Generated Suggestions:")
print(suggestions)
This model is released under the MIT license, because we believe in sharing the love. Check out Hugging Face's Model Licensing guidelines for more info.