Downloads · 30 days
10
18% of all-time downloads
accesscreate012/abhinav-chatbot
abhinav-chatbot is a text generation model from accesscreate012. 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.
A fine-tuned language model designed to answer questions about Abhinav Academy's courses, facilities, and services. This model is based on EleutherAI's GPT-Neo 1.3B and has been specifically trained to provide accurat…
Downloads · 30 days
10
18% of all-time downloads
All-time downloads
56
Public
Parameters
125M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1 GB · 50%
From the Hugging Face model README
A fine-tuned language model designed to answer questions about Abhinav Academy's courses, facilities, and services. This model is based on EleutherAI's GPT-Neo 1.3B and has been specifically trained to provide accurate information about the institution.
This model is designed to:
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model and tokenizer
model_name = "accesscreate012/abhinav-chatbot"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Function to generate responses
def generate_response(instruction, max_new_tokens=150):
prompt = f"Instruction: {instruction}\nResponse:"
# Tokenize the input
inputs = tokenizer(prompt, return_tensors="pt")
# Generate with improved parameters
outputs = model.generate(
**inputs,
max_new_tokens=max_new_tokens,
num_beams=5,
no_repeat_ngram_size=3,
early_stopping=True,
top_p=0.92,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
# Process and clean the output
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
# Extract only the response part
if "Response:" in generated_text:
response = generated_text.split("Response:")[1].strip()
else:
response = generated_text.replace(prompt, "").strip()
return response
# Example queries
queries = [
"What courses do you offer for JEE preparation?",
"Tell me about your NEET coaching program",
"Where is Abhinav Academy located?",
"Do you have hostel facilities?"
]
# Generate and print responses
for query in queries:
print(f"Q: {query}")
print(f"A: {generate_response(query)}")
print()
Q: What courses does Abhinav Academy offer?
A: We offer MHT-CET, JEE, NEET preparation, as well as supplementary courses like English Communication, Personality Development, and Foreign Languages (German/French).
Q: Does Abhinav Academy offer NEET coaching?
A: Yes, we offer NEET coaching with expert faculty and structured study materials. Our 24-month NEET Preparation program emphasizes NCERT-based learning and practical lab sessions for Biology, Physics, and Chemistry.
Q: What are the admission requirements for Abhinav Academy?
A: Admission requirements vary by program. Generally, students must pass an entrance test and interview. Competitive courses require strong academics.
This model was fine-tuned using a supervised approach on a custom dataset containing question-answer pairs about Abhinav Academy. The training process focused on:
This model can be integrated into:
This model is provided for educational purposes. Please contact Abhinav Academy for commercial use.
For questions or feedback about this model, please reach out to [CONTACT_EMAIL].