Downloads · 30 days
17
16% of all-time downloads
mah567/ai-tutor-model-v2
ai-tutor-model-v2 is a text generation model from mah567. 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.
Model: ai-tutor-model-v2 Author: mah567 License: MIT / Apache 2.0 Tags: chatbot, question-answering, educational, AI tutor
Downloads · 30 days
17
16% of all-time downloads
All-time downloads
108
Public
Parameters
124M
498 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
Model: ai-tutor-model-v2
Author: mah567
License: MIT / Apache 2.0
Tags: chatbot, question-answering, educational, AI tutor
ai-tutor-model-v2 is a fine-tuned causal language model designed to answer educational questions. It is trained on a custom dataset of Q&A pairs to assist students and learners with explanations and solutions.
Not intended for:
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
# Load the model
tokenizer = AutoTokenizer.from_pretrained("mah567/ai-tutor-model-v2")
model = AutoModelForCausalLM.from_pretrained("mah567/ai-tutor-model-v2")
# Create a text-generation pipeline
tutor = pipeline("text-generation", model=model, tokenizer=tokenizer)
# Ask a question
response = tutor("What is the capital of France?", max_length=50)
print(response[0]['generated_text'])