Inspiration
Building vocabulary in a new language is always difficult, and sometimes flash cards, quizlets, and duolingo lessons won’t cut it.
Memorizing the translation of a foreign word is not the same as knowing that word in the context of its language.
LexiCoach leverages GPT-3 to let you to practice your own custom vocabulary sets on sentences generated in a target language.
How to use
- Input vocabulary that you want to be confident using.
- Let LexiCoach generate practice fill-in-the-blank exercises.
- Repeat and learn more nuanced and varied usages of your vocabulary set.
- Incorporated donation support with the convenient checkbooks API.
How we built it
The core of the model is prompt engineering for GPT-3's davinci LLM. The backend was built with Flask and SQLAlchemy, and the frontend with HTML and JS. The donation invoice functionality was built with the Checkbook API.
Challenges we ran into
None of us had worked with Flask or with OpenAI's API before, so we all had to learn on the fly.
Accomplishments that we're proud of
We built a viable prototype that allows you to practice a language's vocabulary in context. Crucially, it allows you to choose what kind of vocabulary you want to learn, and it introduces you to ways that this vocabulary may be used.
What we learned
We learned a lot more about what a web stack looks like and how to design effective prompts for large language models.
What's next for LexiCoach
More intentional sentence generation – deliberately evoke different meanings and inflections.
Expanded support for more languages – how to handle languages with extensive inflectional morphology
Fine tune model and eliminate problems with ambiguous answers.
Built With
- checkbook.io
- flask
- gpt-3
- html5
- javascript
- openai
- python
- sqlalchemy
Log in or sign up for Devpost to join the conversation.