#448 · Primary category: Education & Research

How-to-use-Transformers

bert classification natural-language-processing ner nlp prompt pytorch qa sentiment-classification summarization transformer transformers translation

Transformers 库快速入门教程

Project last updated:02/24/26

GitHub Stars

1.9K

Forks

226

Contributors

2

License

Apache-2.0

Why we included this project

This repository is the code companion to a Chinese-language tutorial on the Hugging Face Transformers library. Each chapter's examples live in their own folder, so you can pull out just the NER, translation, summarization, extractive QA, or prompt-based sentiment analysis code and adapt it to your own dataset. The order of topics follows a sensible learning path: pipelines and tokenizers, then fine-tuning, then instruction-tuning models like FlanT5 and Llama2. If you read Chinese and want a guided route from basic concepts to working fine-tuning scripts, these examples fill the gaps that official docs often leave. The tutorial is still being expanded with large language model content, which keeps it useful as the field moves.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category