Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ModelZoo
Spark-X1
Commits
997d1621
Commit
997d1621
authored
Jun 01, 2026
by
weishb
Browse files
更新部署步骤
parent
9f204d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
README.md
README.md
+7
-1
No files found.
README.md
View file @
997d1621
...
...
@@ -59,6 +59,12 @@ docker run -it \
#### 单机推理
**以`Spark-Chemistry-X1-13B`为例**
```
bash
cd
/path/to/model/Spark-Chemistry-X1-13B
#进入模型目录内
python transformers_run.py
```
**transformers_run.py参考:**
```
python
from
transformers
import
AutoModelForCausalLM
,
AutoTokenizer
import
torch
...
...
@@ -119,7 +125,7 @@ vllm serve /path/to/Spark-Scilit-X1-13B \
curl http://127.0.0.1:8000/v1/chat/completions
\
-H
"Content-Type: application/json"
\
-d
'{
"model": "
Spark-Formalizer
-X1-
7
B",
"model": "
/path/to/Spark-Scilit
-X1-
13
B",
"messages": [
{
"role": "user",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment