File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cookbook/client/tinker/modelscope
src/twinkle/server/gateway Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
5050input_ids = input_feature ['input_ids' ].tolist ()
5151
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments