Add Qwen3.5 ROCK agentic SWE example#396
Merged
PanAndy merged 3 commits intoalibaba:mainfrom Mar 24, 2026
Merged
Conversation
Commented out the 'fa2' line in model_args section.
181ce03 to
87740e9
Compare
Collaborator
|
Could you fix this bug as well? It should only require a config change. |
With group_size=1, mean normalization over traj_group_id produces all-zero advantages (R - R = 0). Use method: identity to skip normalization and pass raw rewards through directly. Closes alibaba#397
32c57b7 to
e39fe4b
Compare
Contributor
Author
|
@PanAndy done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a Qwen3.5 native ROCK agentic example and fix the text agentic chat-template tokenization path for newer Transformers.
Closes #395.
What Changed
examples/agentic_demo/agent_val_rock_swe_qwen35_2b.yamlexamples/agentic_demo/run_agentic_pipeline_rock_swe_qwen35_2b.shreturn_dict=FalseinAgentNativeStepEnvManagerandproxy_utils.generate_by_proxysoapply_chat_template(..., tokenize=True)keeps returning token ids for Qwen3.5Validation
python -m py_compile roll/pipeline/agentic/env_manager/agent_native_env_manager.py roll/pipeline/agentic/llm_proxy/proxy_utils.pyexamples/agentic_demo/agent_val_rock_swe_qwen35_2b.yamlwithyaml.safe_load