Update README.md
Browse files
README.md
CHANGED
|
@@ -24,6 +24,7 @@ This repo contains the **Seed-X-Instruct** model, with the following features:
|
|
| 24 |
* Training Stage: Pretraining & Post-training
|
| 25 |
* Support: Multilingual translation among 28 languages
|
| 26 |
|
|
|
|
| 27 |
| Languages | Abbr. | Languages | Abbr. | Languages | Abbr. | Languages | Abbr. |
|
| 28 |
| ----------- | ----------- |-----------|-----------|-----------|-----------| -----------|-----------|
|
| 29 |
|Arabic | ar |French | fr | Malay | ms | Russian | ru |
|
|
@@ -59,9 +60,9 @@ messages = [
|
|
| 59 |
"Translate the following English sentence into Chinese and explain it in detail:\nMay the force be with you <zh>" # with CoT
|
| 60 |
]
|
| 61 |
|
| 62 |
-
# Beam Search
|
| 63 |
decoding_params = BeamSearchParams(beam_width=4,
|
| 64 |
-
|
| 65 |
# Sampling
|
| 66 |
decoding_params = SamplingParams(temperature=0,
|
| 67 |
max_tokens=512,
|
|
|
|
| 24 |
* Training Stage: Pretraining & Post-training
|
| 25 |
* Support: Multilingual translation among 28 languages
|
| 26 |
|
| 27 |
+
(We recommend using Seed-X-PPO model, as its translation performance is superior to Seed-X-Instruct.)
|
| 28 |
| Languages | Abbr. | Languages | Abbr. | Languages | Abbr. | Languages | Abbr. |
|
| 29 |
| ----------- | ----------- |-----------|-----------|-----------|-----------| -----------|-----------|
|
| 30 |
|Arabic | ar |French | fr | Malay | ms | Russian | ru |
|
|
|
|
| 60 |
"Translate the following English sentence into Chinese and explain it in detail:\nMay the force be with you <zh>" # with CoT
|
| 61 |
]
|
| 62 |
|
| 63 |
+
# Beam Search (We recommend using beam search decoding)
|
| 64 |
decoding_params = BeamSearchParams(beam_width=4,
|
| 65 |
+
max_tokens=512)
|
| 66 |
# Sampling
|
| 67 |
decoding_params = SamplingParams(temperature=0,
|
| 68 |
max_tokens=512,
|