Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

A Question-Answering Bot Powered by Wikipedia Coupled to GPT-3

Still fascinated by the possibilities offered by GPT-3 and its power, here coupled to Wikipedia

15 min readOct 27, 2022

--

Press enter or click to view image in full size
Photo by Júnior Ferreira on Unsplash

If you follow me, you’ve seen I’m fascinated with GPT-3 both as a tool for productivity and as a tool for information retrieval through natural questions. You’ve also seen that GPT-3 often provides correct answers to a question, but sometimes it does not and it can even be misleading or confusing because its answer appears confident despite being wrong. In some cases, but not always, when it cannot find a reasonable completion (i.e. it “doesn’t know” the answer) it tells you so, or it just doesn’t provide any answer. I showed you that factual accuracy can be improved by fine-tuning the model, or more easily, by few-shot learning. But it isn’t easy to decide what information to use in these procedures, let alone how to apply it. Here I present you a rather simple way to enhance your bot by using information that it retrieves directly from Wikipedia. As you will see by reading on, it works quite well.

Introduction

GPT-3 is powering many projects that were unthinkable until a year or so ago. Just look here at the articles I wrote presenting various example applications — with the twist that they are all web-based and running…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

LucianoSphere (Luciano Abriata, PhD)
LucianoSphere (Luciano Abriata, PhD)

Written by LucianoSphere (Luciano Abriata, PhD)

https://www.lucianoabriata.com | Scientific writing, technology integrator, programming, biotech, bioinformatics.| Have a job for me? Contact me in ES FR EN IT

Responses (1)