Update README.md
Browse files
README.md
CHANGED
|
@@ -59,9 +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 |
-
|
| 63 |
-
|
|
|
|
| 64 |
skip_special_tokens=True)
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
results = model.generate(messages, sampling_params)
|
| 67 |
responses = [res.outputs[0].text.strip() for res in results]
|
|
@@ -77,7 +81,7 @@ For detailed benchmark results and analysis, please refer to our [Technical Repo
|
|
| 77 |
This project is licensed under OpenMDW. See the [LICENSE](https://github.com/ByteDance-Seed/Seed-X-7B/blob/main/LICENSE.openmdw) flie for details.
|
| 78 |
|
| 79 |
## Citation
|
| 80 |
-
If you find Seed-X useful for your research and applications, feel free to give us a star ⭐ or cite us using:
|
| 81 |
```bibtex
|
| 82 |
@Article{XXX,
|
| 83 |
title={XXXXXXXXXXX},
|
|
@@ -87,5 +91,5 @@ If you find Seed-X useful for your research and applications, feel free to give
|
|
| 87 |
archivePrefix={arXiv},
|
| 88 |
primaryClass={cs.XX}
|
| 89 |
}
|
| 90 |
-
|
| 91 |
We will soon publish our technical report on Arxiv.
|
|
|
|
| 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, sampling_params)
|
| 71 |
responses = [res.outputs[0].text.strip() for res in results]
|
|
|
|
| 81 |
This project is licensed under OpenMDW. See the [LICENSE](https://github.com/ByteDance-Seed/Seed-X-7B/blob/main/LICENSE.openmdw) flie 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 |
@Article{XXX,
|
| 87 |
title={XXXXXXXXXXX},
|
|
|
|
| 91 |
archivePrefix={arXiv},
|
| 92 |
primaryClass={cs.XX}
|
| 93 |
}
|
| 94 |
+
```-->
|
| 95 |
We will soon publish our technical report on Arxiv.
|