Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivanmao714/transformers

Huggingface Transformers Tutorial
https://github.com/ivanmao714/transformers

huggingface-transformers transformer transformers

Last synced: 7 days ago
JSON representation

Huggingface Transformers Tutorial

Awesome Lists containing this project

README

        

# Huggingface Transformers工具教程

Transformer 越来越多出现在顶会论文中,其学习的必要性越来越重要

> 教程内容来源于官网教程:https://huggingface.co/course

## Contents

- 运行环境
- 安装
- 教程内容

## 运行环境

- python=3.6
- torch=1.10.1 (cpu)
- transformers=4.18.0
- datasets=2.4.0

## 安装

命令行下载对应的库

```terminal
pip install transformers
```

验证是否安装成功

```python
import transformers
```

## 教程内容
- [pipeline的使用](./turtorial/1pipeline/doc.md)
- [AutoModel的基本使用](./turtorial/2AutoModel的基本使用/doc.md)
- [Tokenizer的使用](./turtorial/3Tokenizer/doc.md)
- [Multiple_sequences的基本使用](./turtorial/4Multiple_sequences/doc.md)
- [Dataset](./turtorial/5Dataset/doc.md)