Instructions to use EvanNLP/CGEC-BART-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Fairseq
How to use EvanNLP/CGEC-BART-Model with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "EvanNLP/CGEC-BART-Model" ) - Notebooks
- Google Colab
- Kaggle
wanglaiqi commited on
Commit ·
58885e2
1
Parent(s): a4eb16c
update
Browse files
README.md
CHANGED
|
@@ -7,6 +7,9 @@ tags:
|
|
| 7 |
- BART
|
| 8 |
- pytorch
|
| 9 |
- CGEC
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# 中文语法纠错任务介绍
|
|
@@ -36,5 +39,4 @@ python -u ${FAIRSEQ_DIR}/interactive.py $PROCESSED_DIR \
|
|
| 36 |
--remove-bpe \
|
| 37 |
--fp16 \
|
| 38 |
--output_file $OUTPUT_DIR/output.nbest \
|
| 39 |
-
<$OUTPUT_DIR/lang8_test.char
|
| 40 |
-
|
|
|
|
| 7 |
- BART
|
| 8 |
- pytorch
|
| 9 |
- CGEC
|
| 10 |
+
metrics:
|
| 11 |
+
- bleu
|
| 12 |
+
pipeline_tag: translation
|
| 13 |
---
|
| 14 |
|
| 15 |
# 中文语法纠错任务介绍
|
|
|
|
| 39 |
--remove-bpe \
|
| 40 |
--fp16 \
|
| 41 |
--output_file $OUTPUT_DIR/output.nbest \
|
| 42 |
+
<$OUTPUT_DIR/lang8_test.char
|
|
|