figuringoutmine
commited on
Commit
•
5f2c3d8
1
Parent(s):
9cfeba4
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ model = EncoderDecoderModel.from_pretrained("figuringoutmine/translator-for-trav
|
|
28 |
```
|
29 |
|
30 |
```
|
31 |
-
text = "
|
32 |
embeddings = src_tokenizer(text, return_attention_mask=False, return_token_type_ids=False, return_tensors='pt')
|
33 |
embeddings = {k: v for k, v in embeddings.items()}
|
34 |
output = model.generate(**embeddings)[0, 1:-1]
|
|
|
28 |
```
|
29 |
|
30 |
```
|
31 |
+
text = "豚骨ラーメン"
|
32 |
embeddings = src_tokenizer(text, return_attention_mask=False, return_token_type_ids=False, return_tensors='pt')
|
33 |
embeddings = {k: v for k, v in embeddings.items()}
|
34 |
output = model.generate(**embeddings)[0, 1:-1]
|