Skip to content

Commit 4086a54

Browse files
committed
fix support models
1 parent 4c7cdfa commit 4086a54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbook/client/tinker/modelscope/sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
]
4646
)
4747

48-
input_feature = template.encode(trajectory, add_generation_prompt=True)
48+
input_feature = template.batch_encode([trajectory], add_generation_prompt=True)[0]
4949

5050
input_ids = input_feature['input_ids'].tolist()
5151

src/twinkle/server/gateway/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self,
3636
self.http_options = http_options or {}
3737
self.proxy = ServiceProxy(http_options=http_options, route_prefix=self.route_prefix)
3838
self.supported_models = self._normalize_models(supported_models) or [
39-
types.SupportedModel(model_name='Qwen/Qwen3.5-4B'),
39+
types.SupportedModel(model_name='Qwen/Qwen3.5-27B'),
4040
]
4141
self._modelscope_config_lock = asyncio.Lock()
4242

0 commit comments

Comments
 (0)