0Pricing
NLP Academy · Lekcja

Ekstrakcyjne i generatywne QA

Dwa sposoby odpowiadania na pytania

Ekstrakcyjne i generatywne QA to bezpłatna lekcja NLP Academy na CoddyKit. To lekcja 1 z 4. Możesz przeczytać całą lekcję poniżej za darmo — a potem ćwiczyć ją interaktywnie w przeglądarce z wbudowanym edytorem kodu i tutorem AI dostępnym 24/7. To część ścieżki edukacyjnej NLP Academy, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs NLP Academy zawiera 4 lekcji w sumie.

Części tej lekcji nie zostały jeszcze przetłumaczone i są wyświetlane po angielsku.

What Question Answering Means

Question answering, or QA, is the task of returning a precise answer to a natural-language question instead of a list of links. You ask, the system answers. 💬

Two Big Families

QA systems split into two families. Extractive QA pulls the answer straight out of a given passage, word for word.

Generative QA

The other family is generative QA. Instead of copying text, the model writes a fresh answer in its own words, possibly combining several facts.

Extractive Needs a Context

Extractive QA always works against a context passage you provide. The answer must be a span that already exists inside that text.

context = "Marie Curie was born in Warsaw in 1867."
question = "Where was Marie Curie born?"

The Answer Is a Span

In extractive QA the output is a span: a start and end position in the context. Here the span is simply the word Warsaw.

Generative Can Go Beyond

A generative model is not limited to the passage. It can summarize, rephrase, or answer from knowledge baked in during training. ✨

Trust and Traceability

Extractive answers are easy to trust: you can point to the exact text they came from. Generative answers are flexible but harder to verify.

The Risk of Hallucination

Because generative models invent wording, they can hallucinate facts that sound right but are false. Extractive QA cannot do that.

When to Pick Extractive

Choose extractive QA when answers live inside trusted documents and you need exact, auditable quotes, like legal or medical text.

When to Pick Generative

Choose generative QA when you need fluent, combined answers or want to respond even when no single passage holds the full reply.

This Course Starts Extractive

We begin with extractive QA because it is concrete and easy to evaluate. You will load a passage and pull the exact answer from it.

Quick Check

Test your grasp of the two QA families.

Recap

QA returns precise answers. Extractive copies an exact span from a context; generative writes new text. Extractive is auditable and where we start. 🎯

Często zadawane pytania

Czy lekcja „Ekstrakcyjne i generatywne QA” jest bezpłatna?

Tak — pełny tekst „Ekstrakcyjne i generatywne QA” jest dostępny za darmo tutaj w sieci. Aby ćwiczyć ją interaktywnie (wbudowany edytor kodu i tutor AI dostępny 24/7) i odblokować resztę kursu NLP Academy, przejdź na CoddyKit PRO. Kurs NLP Academy zawiera 4 lekcji w sumie.

Co nauczysz się w „Ekstrakcyjne i generatywne QA”?

Dwa sposoby odpowiadania na pytania Ćwiczysz NLP Academy z praktycznym kodem, który uruchamiasz bezpośrednio w przeglądarce, a tutor AI dostępny 24/7 odpowiada na Twoje pytania podczas pracy nad lekcją.

Czy potrzebuję doświadczenia, aby zacząć NLP Academy?

Nie wymagamy żadnego doświadczenia. NLP Academy w CoddyKit jest strukturyzowany dla początkujących i zaawansowanych użytkowników, więc możesz zacząć tutaj lub od początku i uczyć się w swoim tempie. To lekcja 1 z 4.

Ile czasu zajmuje lekcja „Ekstrakcyjne i generatywne QA”?

Większość lekcji CoddyKit trwa około 5–10 minut. Każda lekcja to mały, interaktywny krok, dzięki czemu robisz systematyczne postępy i zawsze wracasz dokładnie do tego samego miejsca — na webie i w aplikacji.

Czy mogę pisać i uruchamiać kod w tej lekcji NLP Academy?

Tak. Każda lekcja NLP Academy zawiera wbudowany edytor kodu, więc piszesz i uruchamiasz prawdziwy kod bezpośrednio w przeglądarce i od razu otrzymujesz sprzężenie zwrotne od AI — bez konfiguracji na komputerze.

Wszystkie lekcje w tym kursie

  1. Ekstrakcyjne i generatywne QA
  2. Uruchamianie potoku QA
  3. Wyszukiwanie fragmentów odpowiedzi w kontekście
  4. Obsługa braku odpowiedzi i długich dokumentów
← Powrót do NLP Academy