Method 0: Trial and Error
Learn about the trial and error method.
Let’s start with the trial and error approach.
Question-answering seems very easy. Is that true? Let’s find out. We'll be using the QA_0.ipynb
Jupyter notebook this lesson. We will run the notebook cell by cell.
We will first import Hugging Face’s pipeline, which contains many ready-to-use transformer resources. They provide high-level abstraction functions for the Hugging Face library resources to perform a wide range of tasks. We can access those NLP tasks through a simple API.
Importing Hugging Face
The pipeline is imported with one line of code:
Get hands-on with 1400+ tech skills courses.