| title |
Question Generator |
| emoji |
🔑 |
| colorFrom |
yellow |
| colorTo |
yellow |
| sdk |
streamlit |
| sdk_version |
1.10.0 |
| app_file |
app.py |
| pinned |
false |
- The Intelligent Question Generator app is an easy-to-use interface built in Streamlit which uses KeyBERT, Sense2vec, T5
- It uses a minimal keyword extraction technique that leverages multiple NLP embeddings and relies on Transformers 🤗 to create keywords/keyphrases that are most similar to a document.
- sense2vec (Trask et. al, 2015) is a nice twist on word2vec that lets you learn more interesting and detailed word vectors.
src/Pipeline/QAhaystack.py: This file contains the code of question answering using haystack.
src/Pipeline/QuestGen.py: This file contains the code of question generation.
src/Pipeline/Reader.py: This file contains the code of reading the document.
src/Pipeline/TextSummariztion.py: This file contains the code of text summarization.
src/PreviousVersionCode/context.py: This file contains the finding the context of the paragraph.
src/PreviousVersionCode/QuestionGenerator.py: This file contains the code of first attempt of question generation.
$ git clone https://github.com/HemanthSai7/Internship-IVIS-labs.git
$ cd Internship-IVIS-labs
pip install -r requirements.txt
- For the running the app for the first time locally, you need to uncomment the the lines in
src/Pipeline/QuestGen.py to download the models to the models directory.
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.0.103:8501
