添加README和教程文件
This commit is contained in:
parent
0816b6c70e
commit
f79f229ac1
16
README.md
16
README.md
|
@ -0,0 +1,16 @@
|
|||
# BERT模型项目
|
||||
+ 环境准备
|
||||
+ Python 3.9
|
||||
+ Pytorch 1.12
|
||||
+ torchtext 0.13.0
|
||||
## 基于BERT的文本分类任务
|
||||
+ 文本分类
|
||||
+ `python ./tasks/sentence_classification.py`
|
||||
|
||||
## 基于BERT的文本蕴含任务
|
||||
+ 文本蕴含
|
||||
+ `python ./tasks/pair_sentence_classification.py`
|
||||
|
||||
## 基于BERT的MLM、NSP预训练任务
|
||||
+ 预训练
|
||||
+ `python ./tasks/pretraining.py`
|
Binary file not shown.
|
@ -1,4 +1,3 @@
|
|||
from ast import arg
|
||||
import os
|
||||
import time
|
||||
import logging
|
||||
|
|
Loading…
Reference in New Issue