Machine Learning, Fine Tuning, Kids And Tech, Language Model, Kids Education.
peft_model.merge_and_unload() model.push_to_hub("Simple-Learner/aniket-math-small-gpt") 11. Generate Text with the Trained Model: import torch from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("Simple-Learner/aniket-math-small-gpt",