nlp
文章平均质量分 71
KAila_Lucky
这个作者很懒,什么都没留下…
展开
-
Allennlp入门2021-03-19
According to your own research project, you only need to implement DatasetReader and Model, and then run your various experiments with config files. Basically, we need to understand three features below to start our project with AllenNLPDefine Your Da...原创 2021-03-19 21:35:35 · 210 阅读 · 1 评论 -
利用huggingface出品的transformers进行预训练模型的finetune
language-modeling finetuning本文基于最新的transformers v4.3.3https://github.com/huggingface/transformers/tree/master/examples#important-note第一步非常重要,如上面官方链接讲的,需要正确安装transformers。单纯的pip install会报错第二步,多GPU进行分布式训练,同样如上面官方链接,在运行run_mlm.py的时候在前面加上一句:python原创 2021-03-04 16:11:07 · 3027 阅读 · 1 评论