The LLM-Powered Flashcard Generator is a modern, intelligent study tool that allows students, educators, and content creators to generate question-answer flashcards automatically from educational text or PDF files. It uses advanced NLP models like T5 for question generation and BART for answer extraction, wrapped inside an intuitive Streamlit web app.
main.py)The core functionality involves:
lmqg/t5-large-squad-qg model.valhalla/bart-large-finetuned-squadv1 model.PyMuPDF.streamlit_app.py).pdfgit clone https://github.com/AmanYadav038/LLM-Powered-Flashcard-Generator.git
cd LLM-Powered-Flashcard-Generator
(Optional but recommended)
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On Linux/macOS
pip install -r requirements.txt
streamlit run streamlit_app.py
Then open the app in your browser at:
📍 http://localhost:8501
{
"question": "What is the primary function of vehicles?",
"answer": "To transport people or goods from one place to another."
}

You can try it with examples/vehicles_500_words.pdf or paste your own text.
flashcards.csv — for spreadsheets or sharingflashcards.json — for developer use or integration16 commits
Python
100.0%
The LLM-Powered Flashcard Generator is a modern, intelligent study tool that allows students, educators, and content creators to generate question-answer flashcards automatically from educational text or PDF files. It uses advanced NLP models like T5 for question generation and BART for answer extraction, wrapped inside an intuitive Streamlit web app.
main.py)The core functionality involves:
lmqg/t5-large-squad-qg model.valhalla/bart-large-finetuned-squadv1 model.PyMuPDF.streamlit_app.py).pdfgit clone https://github.com/AmanYadav038/LLM-Powered-Flashcard-Generator.git
cd LLM-Powered-Flashcard-Generator
(Optional but recommended)
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On Linux/macOS
pip install -r requirements.txt
streamlit run streamlit_app.py
Then open the app in your browser at:
📍 http://localhost:8501
{
"question": "What is the primary function of vehicles?",
"answer": "To transport people or goods from one place to another."
}

You can try it with examples/vehicles_500_words.pdf or paste your own text.
flashcards.csv — for spreadsheets or sharingflashcards.json — for developer use or integration16 commits
Python
100.0%