Add multilingual to the language tag
#5
by
lbourdois
- opened
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
- en
|
4 |
- de
|
|
|
|
|
5 |
tags:
|
6 |
- translation
|
7 |
- wmt19
|
8 |
- facebook
|
9 |
-
license: apache-2.0
|
10 |
datasets:
|
11 |
- wmt19
|
12 |
metrics:
|
@@ -45,7 +46,7 @@ input = "Machine learning is great, isn't it?"
|
|
45 |
input_ids = tokenizer.encode(input, return_tensors="pt")
|
46 |
outputs = model.generate(input_ids)
|
47 |
decoded = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
48 |
-
print(decoded) # Maschinelles Lernen ist
|
49 |
|
50 |
```
|
51 |
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
- en
|
4 |
- de
|
5 |
+
- multilingual
|
6 |
+
license: apache-2.0
|
7 |
tags:
|
8 |
- translation
|
9 |
- wmt19
|
10 |
- facebook
|
|
|
11 |
datasets:
|
12 |
- wmt19
|
13 |
metrics:
|
|
|
46 |
input_ids = tokenizer.encode(input, return_tensors="pt")
|
47 |
outputs = model.generate(input_ids)
|
48 |
decoded = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
49 |
+
print(decoded) # Maschinelles Lernen ist gro�artig, oder?
|
50 |
|
51 |
```
|
52 |
|