Natural Language Processing with Transformers

Thông tin

  • Tác giả: Lewis Tunstall, Leandro von Werra, Thomas Wolf
  • Trạng thái: Đang đọc
  • Tổng số trang PDF: 479
  • Chủ đề chính: NLP hiện đại, Transformer, Hugging Face, fine-tuning, production, few-shot learning.

Nguồn

Tiến độ tự động

TABLE WITHOUT ID
  max(rows.current_page_after) AS "Trang hiện tại",
  this.total_pages AS "Tổng trang",
  round((max(rows.current_page_after) / this.total_pages) * 100) + "%" AS "Tiến độ"
FROM "03 - Daily Reading"
WHERE type = "daily-reading"
  AND status = "completed"
  AND book = this.file.link
  AND current_page_after
GROUP BY book

Lý do đọc

  • Hiểu cách xây dựng ứng dụng NLP thực tế bằng Transformer.
  • Nắm workflow Hugging Face từ dataset, tokenizer, model, trainer đến deployment.
  • Tạo được demo nhỏ theo từng chapter để biến kiến thức thành kỹ năng.

Mục tiêu đọc

  • Hoàn thành 1 chapter mỗi session hoặc chia nhỏ nếu chapter dài.
  • Sau mỗi chapter, viết lại ý chính bằng tiếng Việt.
  • Chạy hoặc phác thảo ít nhất 1 demo thực hành.
  • Tách các khái niệm quan trọng sang 04 - Concepts khi cần dùng lại.

Sections

Lịch đọc đề xuất

NgàyNội dungTrangMục tiêu
2026-07-23NLP Transformers - Chapter 01 - Hello Transformers21-38Tổng quan Transformer, Hugging Face và pipeline
2026-07-24NLP Transformers - Chapter 02 - Text Classification39-57Dataset, nhãn, độ dài văn bản và tokenization
2026-07-25NLP Transformers - Chapter 02 - Text Classification58-77Feature extraction, fine-tuning và workflow
2026-07-26NLP Transformers - Chapter 03 - Transformer Anatomy78-98Self-attention và positional embeddings
2026-07-27NLP Transformers - Chapter 03 - Transformer Anatomy99-118Encoder, decoder và encoder-decoder
2026-07-28NLP Transformers - Chapter 04 - Multilingual Named Entity Recognition119-149NER và cross-lingual transfer
2026-07-29NLP Transformers - Chapter 05 - Text Generation150-163Decoding strategies
2026-07-30NLP Transformers - Chapter 06 - Summarization164-179Summarization và metrics
2026-07-31NLP Transformers - Chapter 06 - Summarization180-194Fine-tuning summarization
2026-08-01NLP Transformers - Chapter 07 - Question Answering195-214Extractive QA
2026-08-02NLP Transformers - Chapter 07 - Question Answering215-233Retriever-reader pipeline
2026-08-03NLP Transformers - Chapter 08 - Making Transformers Efficient in Production234-259Benchmark production
2026-08-04NLP Transformers - Chapter 08 - Making Transformers Efficient in Production260-285Distillation, quantization, ONNX, pruning
2026-08-05NLP Transformers - Chapter 09 - Dealing with Few to No Labels286-305Baseline và ít nhãn
2026-08-06NLP Transformers - Chapter 09 - Dealing with Few to No Labels306-325Prompting, augmentation và unlabeled data
2026-08-07NLP Transformers - Chapter 10 - Training Transformers from Scratch326-358Corpus và tokenizer
2026-08-08NLP Transformers - Chapter 10 - Training Transformers from Scratch359-392Pretraining loop và chi phí
2026-08-09NLP Transformers - Chapter 11 - Future Directions393-416Future directions và tổng kết sách

Ý tưởng quan trọng

  • Transformer là nền tảng kiến trúc cho nhiều bài toán NLP hiện đại.
  • Hugging Face giúp chuẩn hóa vòng đời NLP: dữ liệu, tokenization, model, training, evaluation, deployment.
  • Fine-tuning, evaluation và tối ưu production quan trọng không kém việc chọn model.

Concepts nên tách

Demo tổng thể

  • Tạo một notebook hoặc script nhỏ chạy các pipeline cơ bản của Hugging Face.
  • Sau mỗi chapter, thêm một demo riêng để kiểm chứng ý tưởng chính.

Ghi chú sau khi hoàn thành