0Pricing
NLP Academy · บทเรียน

QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ

สองวิธีในการตอบคำถาม

QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ เป็นบทเรียน NLP Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 1 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน NLP Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส NLP Academy มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

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. 🎯

คำถามที่พบบ่อย

บทเรียน “QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส NLP Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส NLP Academy มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ”

สองวิธีในการตอบคำถาม คุณปฏิบัติ NLP Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน NLP Academy หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน NLP Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 1 จากทั้งหมด 4 บทเรียน

บทเรียน “QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน NLP Academy นี้ได้ไหม

ได้ บทเรียน NLP Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. QA แบบดึงข้อมูลเทียบกับแบบสร้างคำตอบ
  2. เรียกใช้ไปป์ไลน์ QA
  3. ค้นหาช่วงคำตอบในบริบท
  4. จัดการกรณีไม่มีคำตอบและเอกสารยาว
← กลับไปที่ NLP Academy