lbourdois commited on
Commit
8e51f8c
1 Parent(s): 80d366f

Add multilingual to the language tag

Browse files

Hi! A PR to add multilingual to the language tag to improve the referencing.

Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -1,12 +1,13 @@
1
  ---
2
- language:
3
  - de
4
  - en
 
 
5
  tags:
6
  - translation
7
  - wmt19
8
  - facebook
9
- license: apache-2.0
10
  datasets:
11
  - wmt19
12
  metrics:
@@ -41,7 +42,7 @@ mname = "facebook/wmt19-de-en"
41
  tokenizer = FSMTTokenizer.from_pretrained(mname)
42
  model = FSMTForConditionalGeneration.from_pretrained(mname)
43
 
44
- input = "Maschinelles Lernen ist großartig, oder?"
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)
 
1
  ---
2
+ language:
3
  - de
4
  - en
5
+ - multilingual
6
+ license: apache-2.0
7
  tags:
8
  - translation
9
  - wmt19
10
  - facebook
 
11
  datasets:
12
  - wmt19
13
  metrics:
 
42
  tokenizer = FSMTTokenizer.from_pretrained(mname)
43
  model = FSMTForConditionalGeneration.from_pretrained(mname)
44
 
45
+ input = "Maschinelles Lernen ist gro�artig, oder?"
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)