当前位置:   article > 正文

Hugging face教程-使用速查表-快速入门_copy a token from your hugging face tokens page an

copy a token from your hugging face tokens page and paste it below. immediat

Hugging face笔记

course url:https://huggingface.co/course/chapter5/8?fw=pt

函数详细情况:https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.TokenClassificationPipeline

基础掌握transformers和datasets,教程写得比较详细,在transformers模块就涉及了从tokenize到后面的输入模型以及模型内部以及输出head到后面预训练的过程。

0 setup

环境配置,使用jupyter notebook或者python文件的形式

1 transformer models

需要掌握的内容:

libraries from the Hugging Face ecosystem —

推荐阅读
相关标签