Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1 |
-
---
|
2 |
-
license: llama3
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama3
|
3 |
+
---
|
4 |
+
|
5 |
+
This is the code and data repo of paper [HDFlow: Enhancing LLM Complex Problem-Solving with Hybrid Thinking and Dynamic Workflows](https://arxiv.org/abs/2409.17433). If you think this repo is useful, please cite us!
|
6 |
+
|
7 |
+
```bibtex
|
8 |
+
@article{yao2024hdflow,
|
9 |
+
title={HDFlow: Enhancing LLM Complex Problem-Solving with Hybrid Thinking and Dynamic Workflows},
|
10 |
+
author={Yao, Wenlin and Mi, Haitao and Yu, Dong},
|
11 |
+
journal={arXiv preprint arXiv:2409.17433},
|
12 |
+
year={2024}
|
13 |
+
}
|
14 |
+
```
|
15 |
+
|
16 |
+
Download our [model](https://huggingface.co/wenlinyao/HDFlow-Llama-3-8B-Instruct/tree/main) into the dir /xxxx/checkpoints/wenlinyao/HDFlow-Llama-3-8B-Instruct/. Next, use vllm to host the model service. Here provides an example to host two models at the same time (using different ports).
|
17 |
+
|
18 |
+
```sh
|
19 |
+
CUDA_VISIBLE_DEVICES=0 python -m vllm.entrypoints.openai.api_server --model /xxxx/checkpoints/wenlinyao/HDFlow-Llama-3-8B-Instruct/ --tensor-parallel-size 1 --max-num-batched-tokens 8192 --dtype bfloat16 --port 4231
|
20 |
+
```
|
21 |
+
|
22 |
+
Refer to https://github.com/wenlinyao/HDFlow for more details.
|