Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
|
3 |
<p align="center">
|
@@ -11,7 +16,7 @@
|
|
11 |
</p>
|
12 |
|
13 |
<p align="center">
|
14 |
-
🖥️ <a href="https://hunyuan.tencent.com"
|
15 |
🕹️ <a href="https://hunyuan.tencent.com/modelSquare/home/list"><b>Demo</b></a>
|
16 |
</p>
|
17 |
|
@@ -50,27 +55,34 @@ The Hunyuan Translation Model comprises a translation model, Hunyuan-MT-7B, and
|
|
50 |
|
51 |
### Prompt Template for ZH<=>XX Translation.
|
52 |
|
53 |
-
|
54 |
|
55 |
-
|
56 |
|
57 |
-
|
|
|
|
|
58 |
|
59 |
### Prompt Template for XX<=>XX Translation, excluding ZH<=>XX.
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
|
|
|
|
|
|
65 |
|
66 |
### Prompt Template for Hunyuan-MT-Chmeria-7B
|
67 |
|
68 |
-
|
|
|
|
|
69 |
|
70 |
-
The
|
71 |
```<source_text>```
|
72 |
|
73 |
-
The multiple
|
74 |
1. ```<translated_text1>```
|
75 |
2. ```<translated_text2>```
|
76 |
3. ```<translated_text3>```
|
@@ -78,6 +90,7 @@ The multiple `<target_language>` translations:
|
|
78 |
5. ```<translated_text5>```
|
79 |
6. ```<translated_text6>```
|
80 |
|
|
|
81 |
|
82 |
|
83 |
|
@@ -122,4 +135,4 @@ We recommend using the following set of parameters for inference. Note that our
|
|
122 |
"repetition_penalty": 1.05,
|
123 |
"temperature": 0.7
|
124 |
}
|
125 |
-
```
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- translation
|
5 |
+
---
|
6 |
|
7 |
|
8 |
<p align="center">
|
|
|
16 |
</p>
|
17 |
|
18 |
<p align="center">
|
19 |
+
🖥️ <a href="https://hunyuan.tencent.com"><b>Official Website</b></a> |
|
20 |
🕹️ <a href="https://hunyuan.tencent.com/modelSquare/home/list"><b>Demo</b></a>
|
21 |
</p>
|
22 |
|
|
|
55 |
|
56 |
### Prompt Template for ZH<=>XX Translation.
|
57 |
|
58 |
+
```
|
59 |
|
60 |
+
把下面的文本翻译成<target_language>,不要额外解释。
|
61 |
|
62 |
+
<source_text>
|
63 |
+
|
64 |
+
```
|
65 |
|
66 |
### Prompt Template for XX<=>XX Translation, excluding ZH<=>XX.
|
67 |
|
68 |
+
```
|
69 |
|
70 |
+
Translate the following segment into <target_language>, without additional explanation.
|
71 |
|
72 |
+
<source_text>
|
73 |
+
|
74 |
+
```
|
75 |
|
76 |
### Prompt Template for Hunyuan-MT-Chmeria-7B
|
77 |
|
78 |
+
```
|
79 |
+
|
80 |
+
Analyze the following multiple <target_language> translations of the <source_language> segment surrounded in triple backticks and generate a single refined <target_language> translation. Only output the refined translation, do not explain.
|
81 |
|
82 |
+
The <source_language> segment:
|
83 |
```<source_text>```
|
84 |
|
85 |
+
The multiple <target_language> translations:
|
86 |
1. ```<translated_text1>```
|
87 |
2. ```<translated_text2>```
|
88 |
3. ```<translated_text3>```
|
|
|
90 |
5. ```<translated_text5>```
|
91 |
6. ```<translated_text6>```
|
92 |
|
93 |
+
```
|
94 |
|
95 |
|
96 |
|
|
|
135 |
"repetition_penalty": 1.05,
|
136 |
"temperature": 0.7
|
137 |
}
|
138 |
+
```
|