SoMiyagawa commited on
Commit
2b603bf
1 Parent(s): eb8b06f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -11,6 +11,14 @@ co2_eq_emissions:
11
  emissions: 52.20776152155173
12
  ---
13
 
 
 
 
 
 
 
 
 
14
  # Model Trained Using AutoTrain
15
 
16
  - Problem type: Translation
 
11
  emissions: 52.20776152155173
12
  ---
13
 
14
+ ```
15
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
16
+
17
+ tokenizer = AutoTokenizer.from_pretrained("SoMiyagawa/ainu-2-japanese-20220314")
18
+
19
+ model = AutoModelForSeq2SeqLM.from_pretrained("SoMiyagawa/ainu-2-japanese-20220314")
20
+ ```
21
+
22
  # Model Trained Using AutoTrain
23
 
24
  - Problem type: Translation