trieutm commited on
Commit
484bb45
·
verified ·
1 Parent(s): 9114026

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -15,8 +15,7 @@ tags:
15
  - medical-machine-translation
16
  ---
17
 
18
- # How to use
19
-
20
  ## For fine-tuning
21
  ### Load model directly
22
  ```python
@@ -28,7 +27,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained("trieutm/mbart-large-50-many-to-ma
28
 
29
  ## For inference
30
  ### Use a pipeline as a high-level helper
31
- ```
32
  from transformers import pipeline
33
 
34
  pipe = pipeline("translation", model="trieutm/mbart-large-50-many-to-many-mmt-finetuned-vi-to-en")
 
15
  - medical-machine-translation
16
  ---
17
 
18
+ # How to use:
 
19
  ## For fine-tuning
20
  ### Load model directly
21
  ```python
 
27
 
28
  ## For inference
29
  ### Use a pipeline as a high-level helper
30
+ ```python
31
  from transformers import pipeline
32
 
33
  pipe = pipeline("translation", model="trieutm/mbart-large-50-many-to-many-mmt-finetuned-vi-to-en")