Comments (1)
这是我的执行脚本
python pretrain.py --dataset_path ../t5/data/contrastive_learning_800w_filt32.pt \
--pretrained_model_path ../t5/model/t5-base-chinese-cluecorpussmall/pytorch_model.bin \
--vocab_path ../t5/model/t5-base-chinese-cluecorpussmall/vocab.txt \
--config_path ../t5/model/t5-base-chinese-cluecorpussmall/config.json \
--output_model_path ../t5/model/t5-contrastive_learning_800w_filt32_model.bin \
--world_size 1 --gpu_ranks 3 \
--total_steps 10000 --save_checkpoint_steps 5000 --report_steps 1000 \
--learning_rate 5e-4 --batch_size 64 \
--span_masking --span_geo_prob 0.3 --span_max_length 5
from uer-py.
Related Issues (20)
- 请问user-py的 tokenizer是如何保存和转换的
- LSTM的预训练模型的分词用的是什么 HOT 1
- max_seq_length 和 seq_length 两个参数均设置为512,打印出的batch内序列长度仍为128? HOT 1
- 中文特定领域预训练数据集规模
- UER格式的Google预训练模型与原始格式(transformers库的from_pretrained输入的格式)之间如何相互转换? HOT 1
- Why do I encounter a sudden MLM accuracy drop during training? HOT 1
- Is it possible to get embedding directly
- 如何训练seq2seq 的unilm
- 请教下有gpt2的微调的相关文档么? HOT 2
- 请问有没有UER的t5v1.1和google的mT5中中文能力的对比呀?
- 问一下t5预训练模型如何推理
- T5模型预训练问题
- seq2seq模型验证时如何使用BLUE这些指标,我看里面都是混淆矩阵
- 1 没有uer/utils/data.py 文件 2 使用BERT-WWM对整词进行遮罩,如何添加自定义领域词典?
- 预训练的Bart模型,finetune时出错:'NoneType' object has no attribute 'contiguous' HOT 3
- 预训练问题
- 请问wwm不适用于生成mlm+nsp格式的数据吗?
- mBART?
- 处理长文本的问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uer-py.