An open API service indexing awesome lists of open source software.

https://github.com/muavia1/fine-tuning-gpt2-on-mathriddles-dataset

This repository contains code for fine-tuning GPT-2 to generate math riddles with solutions using Hugging Face’s transformers and TRL.
https://github.com/muavia1/fine-tuning-gpt2-on-mathriddles-dataset

fine-tuning finetuning-llms gpt gpt-2 trainer training

Last synced: about 2 months ago
JSON representation

This repository contains code for fine-tuning GPT-2 to generate math riddles with solutions using Hugging Face’s transformers and TRL.

Awesome Lists containing this project

README

        

# Fine-Tuning-GPT2-on-MathRiddles-Dataset

This repository contains code for fine-tuning **GPT-2** to generate **math riddles with solutions** using **Hugging Face’s transformers** and **TRL**. The project covers:

✅ **Dataset Preparation** – Structuring riddles and solutions for training.
✅ **Fine-Tuning GPT-2** – Using `transformers` and `trl` for text generation.
✅ **Interactive Riddle Generation** – A CLI for generating riddles on demand.

🚀 **Potential Applications:** AI-powered education, tutoring assistants, and interactive learning tools.

#AI #MachineLearning #NLP #GPT2 #EdTech