Skip to content

Commit 0a3dc3f

Browse files
Merge pull request #310 from Xiaoxue-xx/2.0.0
fix and add instructions
2 parents 4664f30 + 25f6c17 commit 0a3dc3f

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

instructions/Multilingual Models/M2M_100.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## M2M_100
22

3-
You can fine-tune a NLLB model from HuggingFace through ``model=NLLB``, ``model_path=<hf-or-local-path>``, ``dataset=<dataset-name>``. Specifically, M2M is a Multilingual Model. You can set source language and target language with ``tokenizer_kwargs={'src_lang': 'source language', 'tgt_lang': 'target_language'}``.
3+
You can fine-tune a M2M_100 model from HuggingFace through ``model=M2M_100``, ``model_path=<hf-or-local-path>``, ``dataset=<dataset-name>``. Specifically, M2M is a Multilingual Model. You can set source language and target language with ``tokenizer_kwargs={'src_lang': 'source language', 'tgt_lang': 'target_language'}``.
44

55
Example usage:
66

instructions/Seq2Seq/MASS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## MASS
2+
3+
You can fine-tune a MASS model from HuggingFace through ``model=MASS``, ``model_path=<hf-or-local-path>``, ``dataset=<dataset-name>``.
4+
5+
Example usage:
6+
7+
```bash
8+
python run_textbox.py \
9+
--model=MASS \
10+
--model_path=RUCAIBox/mass-base-uncased \
11+
--dataset=samsum
12+
```

instructions/Seq2Seq/UniLM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## UniLM
22

3-
You can fine-tune a T5 model from HuggingFace through ``model=T5``, ``model_path=<hf-or-local-path>``, ``dataset=<dataset-name>``.
3+
You can fine-tune a UniLM model from HuggingFace through ``model=UniLM``, ``model_path=<hf-or-local-path>``, ``dataset=<dataset-name>``.
44

55
Example usage:
66

0 commit comments

Comments
 (0)