Asking questions (pt. 2)
Last time, we discussed how to prepare the data for our question-generating system. To recap, here was the rough plan:
- Fetch and prepare Wikipedia data (see more here)
- Use an LLM to generate questions based on a given Wikipedia article (the focus of today’s post)
There are numerous LLM services available online, but for our purposes, we’ll use an open-source solution that can be run locally on our machine: ollama. This tool acts as a wrapper around popular, freely available models, providing a uniform API and CLI while managing model downloads for us.