[update]add sent_tokenize
Browse files
main.py
CHANGED
@@ -137,6 +137,18 @@ It was introduced in this [paper](https://arxiv.org/abs/2010.11125) and first re
|
|
137 |
"Chinese",
|
138 |
"facebook/m2m100_418M",
|
139 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
]
|
141 |
|
142 |
model_choices = [
|
|
|
137 |
"Chinese",
|
138 |
"facebook/m2m100_418M",
|
139 |
],
|
140 |
+
[
|
141 |
+
"我是一个句子。我是另一个句子。",
|
142 |
+
"Chinese",
|
143 |
+
"English",
|
144 |
+
"facebook/m2m100_418M",
|
145 |
+
],
|
146 |
+
[
|
147 |
+
"M2M100 is a multilingual encoder-decoder (seq-to-seq) model trained for Many-to-Many multilingual translation. It was introduced in this paper and first released in this repository.",
|
148 |
+
"English",
|
149 |
+
"Chinese",
|
150 |
+
"facebook/m2m100_418M",
|
151 |
+
]
|
152 |
]
|
153 |
|
154 |
model_choices = [
|