未验证 提交 448ef165 编写于 作者: S smallv0221 提交者: GitHub

update dureader-robust readme result (#5064)

* update lrscheduler

* minor fix

* add pre-commit

* minor fix

* Add __len__ to squad dataset

* minor fix

* Add dureader robust prototype

* dataset implement

* minor fix

* fix var name

* add dureader-yesno train script and dataset

* add readme and fix md5sum

* integrete dureader datasets

* change var names: segment to mode, root to data_file

* minor fix

* update var name

* Fix api bugs

* add dataset readme

* add express ner

* update readme format

* fix format bug

* change readme path

* fix format bug

* fix dataset bug

* add 2 datasets and update squad metric

* update readme result
上级 f25f1cfe
...@@ -41,7 +41,7 @@ python -u ./run_du.py \ ...@@ -41,7 +41,7 @@ python -u ./run_du.py \
--max_seq_length 384 \ --max_seq_length 384 \
--batch_size 12 \ --batch_size 12 \
--learning_rate 3e-5 \ --learning_rate 3e-5 \
--num_train_epochs 2 \ --num_train_epochs 1 \
--logging_steps 1000 \ --logging_steps 1000 \
--save_steps 1000 \ --save_steps 1000 \
--warmup_proportion 0.1 \ --warmup_proportion 0.1 \
...@@ -58,11 +58,11 @@ python -u ./run_du.py \ ...@@ -58,11 +58,11 @@ python -u ./run_du.py \
```text ```text
{ {
"exact": 66.97247706422019, "exact": 68.59562455892731,
"f1": 67.26064455422254, "f1": 84.23267270105613,
"total": 1417, "total": 1417,
"HasAns_exact": 66.97247706422019, "HasAns_exact": 68.59562455892731,
"HasAns_f1": 67.26064455422254, "HasAns_f1": 84.23267270105613,
"HasAns_total": 1417 "HasAns_total": 1417
} }
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册