Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,29 @@
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
3 |
+
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
- ja
|
7 |
+
|
8 |
+
tags:
|
9 |
+
- translation
|
10 |
+
|
11 |
---
|
12 |
+
|
13 |
+
# FuguMT
|
14 |
+
|
15 |
+
This is a translation model using Marian-NMT.
|
16 |
+
Details of the data and source code are shown in [my repository](https://github.com/s-taka/fugumt).
|
17 |
+
|
18 |
+
* source language: en
|
19 |
+
* target language: ja
|
20 |
+
|
21 |
+
### How to use
|
22 |
+
|
23 |
+
You can use this model directly with a pipeline:
|
24 |
+
|
25 |
+
```python
|
26 |
+
from transformers import pipeline
|
27 |
+
tako_translator = pipeline('translation', model='staka/fugumt-en-ja')
|
28 |
+
tako_translator('This is a cat.')
|
29 |
+
```
|