Skip to content

Commit acc7183

Browse files
committed
fix doc
1 parent 188dd72 commit acc7183

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/source_en/Usage Guide/Train-as-a-Service.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ API endpoint: `base_url="https://www.modelscope.cn/twinkle"`
1616

1717
## Step 2. Review the Cookbook and Customize Development
1818

19-
We strongly recommend that developers review our [cookbook](https://github.com/modelscope/twinkle/tree/main/cookbook/client/) and build upon the training code provided there.
19+
We strongly recommend that developers review our [cookbook](https://github.com/modelscope/twinkle/tree/main/cookbook/client/tinker) and build upon the training code provided there.
20+
21+
> The ModelScope server is tinker-compatible, so use the tinker cookbooks. In the future version, we will support a server works both for twinkle/tinker clients.
2022
2123
Developers can customize datasets, advantage functions, rewards, templates, and more. However, the Loss component is not currently customizable since it needs to be executed on the server side (for security reasons). If you need support for additional Loss functions, you can upload your Loss implementation to ModelHub and contact us via the Q&A group or through an issue to have the corresponding component added to the whitelist.
2224

docs/source_zh/使用指引/训练服务.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
## Step 2. 查看 Cookbook 并二次定制开发
2121

22-
我们强烈推荐开发者查看我们的 [cookbook](https://github.com/modelscope/twinkle/tree/main/cookbook/client/),并根据其中的训练代码进行二次开发。
22+
我们强烈推荐开发者查看我们的 [cookbook](https://github.com/modelscope/twinkle/tree/main/cookbook/client/tinker),并根据其中的训练代码进行二次开发。
23+
24+
> 目前的服务兼容tinker client,因此请使用tinker的cookbook进行训练。后续我们会支持单服务器支持twinkle/tinker双client。
2325
2426
开发者可以定制数据集/优势函数/奖励/模板等,其中 Loss 部分由于需要在服务端执行,因此当前暂不支持(安全性原因)。
2527
如果需要支持您的额外 Loss,可以将该 Loss 实现上传到 ModelHub 中,并在答疑群中或者 issue 中联系我们,将对应组件开放白名单即可使用。

0 commit comments

Comments
 (0)