Buckets:

rtrm's picture
|
download
raw
1.3 kB
# โมเดล Decoder
<CourseFloatingBanner
chapter={1}
classNames="absolute z-10 right-0 top-0"
/>
<Youtube id="d_ixlCubqQw" />
โมเดล decoder ใช้เพียงส่วน decoder จากโมเดล Transformer เท่านั้น ในแต่ละชั้น attention layer สามารถเข้าถึงคำที่อยู่ตำแหน่งก่อนหน้าในประโยคได้เท่านั้น โมเดลเหล่านี้เรียกว่า *โมเดล auto-regressive*
โมเดล pretrain ในกลุ่มนี้ใช้ในการทำนายคำต่อไปในประโยค เหมาะสำหรับงานในการสร้างข้อความ
ตัวแทนโมเดลในกลุ่มนี้ได้แก่:
- [CTRL](https://huggingface.co/transformers/model_doc/ctrl.html)
- [GPT](https://huggingface.co/docs/transformers/model_doc/openai-gpt)
- [GPT-2](https://huggingface.co/transformers/model_doc/gpt2.html)
- [Transformer XL](https://huggingface.co/transformers/model_doc/transformerxl.html)
<EditOnGithub source="https://github.com/huggingface/course/blob/main/chapters/th/chapter1/6.mdx" />

Xet Storage Details

Size:
1.3 kB
·
Xet hash:
f72c2354d2a5b536c5140b029efbc9a1e4f01d0ad540b1c3d6d5369611abe2d1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.