Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ license_name: openmdw
|
|
| 4 |
license_link: LICENSE
|
| 5 |
---
|
| 6 |
# Seed-X-Instruct-7B
|
| 7 |
-
<a href="https://
|
| 8 |
<img src="https://img.shields.io/badge/Seed--X-Report-blue"></a>
|
| 9 |
<a href="https://huggingface.co/ByteDance-Seed/Seed-X-Instruct-7B">
|
| 10 |
<img src="https://img.shields.io/badge/Seed--X-Hugging Face-brightgreen"></a>
|
|
@@ -44,7 +44,7 @@ This repo contains the **Seed-X-Instruct** model, with the following features:
|
|
| 44 |
## Quickstart
|
| 45 |
Here is a simple example demonstrating how to load the model and perform translation using ```vllm```
|
| 46 |
```python
|
| 47 |
-
from vllm import LLM, SamplingParams
|
| 48 |
|
| 49 |
model_path = "./ByteDance-Seed/Seed-X-Instruct-7B"
|
| 50 |
|
|
@@ -59,13 +59,13 @@ 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 |
# Sampling
|
| 63 |
decoding_params = SamplingParams(temperature=0,
|
| 64 |
max_tokens=512,
|
| 65 |
skip_special_tokens=True)
|
| 66 |
-
# Beam Search
|
| 67 |
-
decoding_params = BeamSearchParams(beam_width=4,
|
| 68 |
-
max_tokens=512)
|
| 69 |
|
| 70 |
results = model.generate(messages, decoding_params)
|
| 71 |
responses = [res.outputs[0].text.strip() for res in results]
|
|
@@ -75,21 +75,21 @@ print(responses)
|
|
| 75 |
## Evaluation
|
| 76 |
We evaluated Seed-X on a diverse set of translation benchmarks, including FLORES-200, WMT-25, and a publicly released [challenge set](https://github.com/ByteDance-Seed/Seed-X-7B/tree/main/challenge_set) accompanied by human evaluations.
|
| 77 |

|
| 78 |
-
For detailed benchmark results and analysis, please refer to our [Technical Report](https://
|
| 79 |
|
| 80 |
## License
|
| 81 |
This project is licensed under OpenMDW. See the [LICENSE](https://github.com/ByteDance-Seed/Seed-X-7B/blob/main/LICENSE.openmdw) file for details.
|
| 82 |
|
| 83 |
## Citation
|
| 84 |
-
|
| 85 |
```bibtex
|
| 86 |
-
@
|
| 87 |
-
title={
|
| 88 |
-
author={
|
| 89 |
year={2025},
|
| 90 |
-
eprint={
|
| 91 |
archivePrefix={arXiv},
|
| 92 |
-
primaryClass={cs.
|
|
|
|
| 93 |
}
|
| 94 |
-
|
| 95 |
-
We will soon publish our technical report on Arxiv.
|
|
|
|
| 4 |
license_link: LICENSE
|
| 5 |
---
|
| 6 |
# Seed-X-Instruct-7B
|
| 7 |
+
<a href="https://arxiv.org/pdf/2507.13618">
|
| 8 |
<img src="https://img.shields.io/badge/Seed--X-Report-blue"></a>
|
| 9 |
<a href="https://huggingface.co/ByteDance-Seed/Seed-X-Instruct-7B">
|
| 10 |
<img src="https://img.shields.io/badge/Seed--X-Hugging Face-brightgreen"></a>
|
|
|
|
| 44 |
## Quickstart
|
| 45 |
Here is a simple example demonstrating how to load the model and perform translation using ```vllm```
|
| 46 |
```python
|
| 47 |
+
from vllm import LLM, SamplingParams, BeamSearchParams
|
| 48 |
|
| 49 |
model_path = "./ByteDance-Seed/Seed-X-Instruct-7B"
|
| 50 |
|
|
|
|
| 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 |
+
max_tokens=512)
|
| 65 |
# Sampling
|
| 66 |
decoding_params = SamplingParams(temperature=0,
|
| 67 |
max_tokens=512,
|
| 68 |
skip_special_tokens=True)
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
results = model.generate(messages, decoding_params)
|
| 71 |
responses = [res.outputs[0].text.strip() for res in results]
|
|
|
|
| 75 |
## Evaluation
|
| 76 |
We evaluated Seed-X on a diverse set of translation benchmarks, including FLORES-200, WMT-25, and a publicly released [challenge set](https://github.com/ByteDance-Seed/Seed-X-7B/tree/main/challenge_set) accompanied by human evaluations.
|
| 77 |

|
| 78 |
+
For detailed benchmark results and analysis, please refer to our [Technical Report](https://arxiv.org/pdf/2507.13618).
|
| 79 |
|
| 80 |
## License
|
| 81 |
This project is licensed under OpenMDW. See the [LICENSE](https://github.com/ByteDance-Seed/Seed-X-7B/blob/main/LICENSE.openmdw) file for details.
|
| 82 |
|
| 83 |
## Citation
|
| 84 |
+
If you find Seed-X useful for your research and applications, feel free to give us a star ⭐ or cite us using:
|
| 85 |
```bibtex
|
| 86 |
+
@misc{cheng2025seedxbuildingstrongmultilingual,
|
| 87 |
+
title={Seed-X: Building Strong Multilingual Translation LLM with 7B Parameters},
|
| 88 |
+
author={Shanbo Cheng and Yu Bao and Qian Cao and Luyang Huang and Liyan Kang and Zhicheng Liu and Yu Lu and Wenhao Zhu and Zhichao Huang and Tao Li and Sitong Liu and Ningxin Peng and Shuaijie She and Lu Xu and Nuo Xu and Sen Yang and Runsheng Yu and Yiming Yu and Liehao Zou and Hang Li and Lu Lu and Yuxuan Wang and Yonghui Wu},
|
| 89 |
year={2025},
|
| 90 |
+
eprint={2507.13618},
|
| 91 |
archivePrefix={arXiv},
|
| 92 |
+
primaryClass={cs.CL},
|
| 93 |
+
url={https://arxiv.org/abs/2507.13618},
|
| 94 |
}
|
| 95 |
+
```
|
|
|