Lalita commited on
Commit
bab48ce
·
1 Parent(s): 4aacc59

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -19,10 +19,10 @@ Training scripts from [LalitaDeelert/NLP-ZH_TH-Project](https://github.com/Lalit
19
 
20
  ```
21
  export WANDB_PROJECT=marianmt-th-zh_cn
22
- python train_model.py --input_fname ../data/v1/Train.csv \\\\
23
- \\t--output_dir ../models/marianmt-th-zh_cn \\\\
24
- \\t--source_lang th --target_lang zh \\\\
25
- \\t--metric_tokenize zh --fp16
26
  ```
27
 
28
  ## Usage
@@ -30,8 +30,8 @@ python train_model.py --input_fname ../data/v1/Train.csv \\\\
30
  ```
31
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
32
 
33
- tokenizer = AutoTokenizer.from_pretrained("cstorm125/marianmt-zh_cn-th")
34
- model = AutoModelForSeq2SeqLM.from_pretrained("cstorm125/marianmt-zh_cn-th").cpu()
35
 
36
  src_text = [
37
  'ฉันรักคุณ',
 
19
 
20
  ```
21
  export WANDB_PROJECT=marianmt-th-zh_cn
22
+ python train_model.py --input_fname ../data/v1/Train.csv \\\\\\\\
23
+ \\\\t--output_dir ../models/marianmt-th-zh_cn \\\\\\\\
24
+ \\\\t--source_lang th --target_lang zh \\\\\\\\
25
+ \\\\t--metric_tokenize zh --fp16
26
  ```
27
 
28
  ## Usage
 
30
  ```
31
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
32
 
33
+ tokenizer = AutoTokenizer.from_pretrained("Lalita/marianmt-zh_cn-th")
34
+ model = AutoModelForSeq2SeqLM.from_pretrained("Lalita/marianmt-zh_cn-th").cpu()
35
 
36
  src_text = [
37
  'ฉันรักคุณ',