Text Generation
Transformers
Safetensors
English
lfm2
trl
openenv
harbor
agent
smoldataenvs
grpo
multi-harness
conversational
Eval Results (legacy)
Instructions to use FineEnvs/LFM2.5-2.6B-multiharness-RL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FineEnvs/LFM2.5-2.6B-multiharness-RL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FineEnvs/LFM2.5-2.6B-multiharness-RL") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("FineEnvs/LFM2.5-2.6B-multiharness-RL") model = AutoModelForCausalLM.from_pretrained("FineEnvs/LFM2.5-2.6B-multiharness-RL", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FineEnvs/LFM2.5-2.6B-multiharness-RL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FineEnvs/LFM2.5-2.6B-multiharness-RL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FineEnvs/LFM2.5-2.6B-multiharness-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FineEnvs/LFM2.5-2.6B-multiharness-RL
- SGLang
How to use FineEnvs/LFM2.5-2.6B-multiharness-RL with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FineEnvs/LFM2.5-2.6B-multiharness-RL" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FineEnvs/LFM2.5-2.6B-multiharness-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FineEnvs/LFM2.5-2.6B-multiharness-RL" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FineEnvs/LFM2.5-2.6B-multiharness-RL", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FineEnvs/LFM2.5-2.6B-multiharness-RL with Docker Model Runner:
docker model run hf.co/FineEnvs/LFM2.5-2.6B-multiharness-RL
Release step 1000 with tokenizer, evaluation results and model card
Browse files- .gitattributes +1 -0
- LICENSE +71 -0
- NOTICE +10 -0
- README.md +182 -0
- chat_template.jinja +125 -0
- config.json +74 -0
- eval_results.json +82 -0
- generation_config.json +16 -0
- model.safetensors +3 -0
- release_manifest.json +44 -0
- tokenizer.json +3 -0
- tokenizer_config.json +13 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LFM Open License v1.0
|
| 2 |
+
|
| 3 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 4 |
+
|
| 5 |
+
1. Definitions.
|
| 6 |
+
|
| 7 |
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by this document.
|
| 8 |
+
|
| 9 |
+
"Licensor" shall mean Liquid AI, Inc.
|
| 10 |
+
|
| 11 |
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
| 12 |
+
|
| 13 |
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
| 14 |
+
|
| 15 |
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
| 16 |
+
|
| 17 |
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
| 18 |
+
|
| 19 |
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
|
| 20 |
+
|
| 21 |
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
| 22 |
+
|
| 23 |
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
| 24 |
+
|
| 25 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
| 26 |
+
|
| 27 |
+
"Commercial Use" shall mean any use of the Work for direct or indirect commercial advantage or monetary compensation.
|
| 28 |
+
|
| 29 |
+
"Qualified Non-Profit Organization" shall mean a Legal Entity that is organized and operated exclusively for religious, charitable, scientific, testing for public safety, literary, or educational purposes, and which is exempt from federal income tax under Section 501(c)(3) of the United States Internal Revenue Code of 1986, as amended, or any equivalent non-profit or charitable organization in a foreign jurisdiction.
|
| 30 |
+
|
| 31 |
+
"Non-Commercial or Research Purposes" shall mean purposes that do not involve any use of the Work or a Derivative Work for Commercial Use.
|
| 32 |
+
|
| 33 |
+
"Threshold" shall mean annual revenue of 10 million United States dollars ($10,000,000) or more.
|
| 34 |
+
|
| 35 |
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
| 36 |
+
|
| 37 |
+
3. Grant of Patent License. Subject to the terms and conditions of this License, including the Commercial Use limitation set forth in Section 5, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
| 38 |
+
|
| 39 |
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
| 40 |
+
|
| 41 |
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
| 42 |
+
|
| 43 |
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
| 44 |
+
|
| 45 |
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
| 46 |
+
|
| 47 |
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
| 48 |
+
|
| 49 |
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
| 50 |
+
|
| 51 |
+
5. Commercial Use Limitation.
|
| 52 |
+
|
| 53 |
+
(a) The rights granted under this License for Commercial Use are conditioned upon You or Your Legal Entity not exceeding the Threshold.
|
| 54 |
+
|
| 55 |
+
(b) Any Commercial Use of the Work or a Derivative Work by a Legal Entity that exceeds the Threshold is not licensed under this Agreement.
|
| 56 |
+
|
| 57 |
+
(c) The Threshold shall not apply to a Qualified Non-Profit Organization's use of the Work or a Derivative Work for Non-Commercial or Research Purposes.
|
| 58 |
+
|
| 59 |
+
6. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
| 60 |
+
|
| 61 |
+
7. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except for the reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
| 62 |
+
|
| 63 |
+
8. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
| 64 |
+
|
| 65 |
+
9. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
| 66 |
+
|
| 67 |
+
10. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
| 68 |
+
|
| 69 |
+
11. Termination. This License will terminate automatically and immediately if You fail to comply with any of its terms and conditions. Upon termination, You must cease all use of the Work and any Derivative Works and delete all copies in Your possession.
|
| 70 |
+
|
| 71 |
+
END OF TERMS AND CONDITIONS
|
NOTICE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Base model: LiquidAI/LFM2.5-2.6B
|
| 2 |
+
Base revision: 654f9463ce32b05d0429d76fe1f580b27d4c1ac0
|
| 3 |
+
Original model and license: Liquid AI, Inc.
|
| 4 |
+
|
| 5 |
+
FineEnvs fine-tuned model.safetensors using TRL Async GRPO.
|
| 6 |
+
Checkpoint: 1000; release revision: main.
|
| 7 |
+
Configuration, generation settings, tokenizer serialization and chat template
|
| 8 |
+
are the saved training-checkpoint versions and may differ from the base release.
|
| 9 |
+
The original license is retained in LICENSE.
|
| 10 |
+
Experiment: https://huggingface.co/spaces/AdithyaSK/multi-harness-rl
|
README.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: LiquidAI/LFM2.5-2.6B
|
| 3 |
+
base_model_relation: finetune
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: other
|
| 9 |
+
tags:
|
| 10 |
+
- trl
|
| 11 |
+
- openenv
|
| 12 |
+
- harbor
|
| 13 |
+
- agent
|
| 14 |
+
- smoldataenvs
|
| 15 |
+
- grpo
|
| 16 |
+
- multi-harness
|
| 17 |
+
datasets:
|
| 18 |
+
- FineEnvs/SmolDataEnvs-harbor-train
|
| 19 |
+
thumbnail: https://huggingface.co/spaces/AdithyaSK/multi-harness-rl/resolve/main/app/public/og/og-image.png
|
| 20 |
+
model-index:
|
| 21 |
+
- name: LFM2.5-2.6B-multiharness-RL (main, step 1000)
|
| 22 |
+
results:
|
| 23 |
+
- task:
|
| 24 |
+
type: text-generation
|
| 25 |
+
name: Agentic data analysis
|
| 26 |
+
dataset:
|
| 27 |
+
type: FineEnvs/SmolDataEnvs-harbor-test
|
| 28 |
+
name: SmolDataEnvs (250 fixed test tasks)
|
| 29 |
+
split: test
|
| 30 |
+
args:
|
| 31 |
+
harness: all four
|
| 32 |
+
metrics:
|
| 33 |
+
- type: pass_at_1
|
| 34 |
+
name: Pass@1 (%) — Overall
|
| 35 |
+
value: 54.2
|
| 36 |
+
- task:
|
| 37 |
+
type: text-generation
|
| 38 |
+
name: Agentic data analysis
|
| 39 |
+
dataset:
|
| 40 |
+
type: FineEnvs/SmolDataEnvs-harbor-test
|
| 41 |
+
name: SmolDataEnvs (250 fixed test tasks)
|
| 42 |
+
split: test
|
| 43 |
+
args:
|
| 44 |
+
harness: opencode
|
| 45 |
+
metrics:
|
| 46 |
+
- type: pass_at_1
|
| 47 |
+
name: Pass@1 (%) — OpenCode
|
| 48 |
+
value: 49.6
|
| 49 |
+
- task:
|
| 50 |
+
type: text-generation
|
| 51 |
+
name: Agentic data analysis
|
| 52 |
+
dataset:
|
| 53 |
+
type: FineEnvs/SmolDataEnvs-harbor-test
|
| 54 |
+
name: SmolDataEnvs (250 fixed test tasks)
|
| 55 |
+
split: test
|
| 56 |
+
args:
|
| 57 |
+
harness: claude-code
|
| 58 |
+
metrics:
|
| 59 |
+
- type: pass_at_1
|
| 60 |
+
name: Pass@1 (%) — Claude Code
|
| 61 |
+
value: 48.8
|
| 62 |
+
- task:
|
| 63 |
+
type: text-generation
|
| 64 |
+
name: Agentic data analysis
|
| 65 |
+
dataset:
|
| 66 |
+
type: FineEnvs/SmolDataEnvs-harbor-test
|
| 67 |
+
name: SmolDataEnvs (250 fixed test tasks)
|
| 68 |
+
split: test
|
| 69 |
+
args:
|
| 70 |
+
harness: codex
|
| 71 |
+
metrics:
|
| 72 |
+
- type: pass_at_1
|
| 73 |
+
name: Pass@1 (%) — Codex
|
| 74 |
+
value: 53.6
|
| 75 |
+
- task:
|
| 76 |
+
type: text-generation
|
| 77 |
+
name: Agentic data analysis
|
| 78 |
+
dataset:
|
| 79 |
+
type: FineEnvs/SmolDataEnvs-harbor-test
|
| 80 |
+
name: SmolDataEnvs (250 fixed test tasks)
|
| 81 |
+
split: test
|
| 82 |
+
args:
|
| 83 |
+
harness: mini-swe-agent
|
| 84 |
+
metrics:
|
| 85 |
+
- type: pass_at_1
|
| 86 |
+
name: Pass@1 (%) — Mini-SWE-Agent
|
| 87 |
+
value: 64.8
|
| 88 |
+
license_name: lfm1.0
|
| 89 |
+
license_link: LICENSE
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
[](https://huggingface.co/spaces/AdithyaSK/multi-harness-rl)
|
| 93 |
+
|
| 94 |
+
# LFM2.5-2.6B-multiharness-RL
|
| 95 |
+
|
| 96 |
+
A full fine-tune of [LiquidAI/LFM2.5-2.6B](https://huggingface.co/LiquidAI/LFM2.5-2.6B) for agentic data-analysis tasks, trained with asynchronous GRPO (TRL Async GRPO) using **OpenCode, Claude Code, Codex, Mini-SWE-Agent**. This release is **step 1,000** on **`main`**, scoring **54.2% pass@1** across four evaluation harnesses.
|
| 97 |
+
|
| 98 |
+
[Article](https://huggingface.co/spaces/AdithyaSK/multi-harness-rl) · [Collection](https://huggingface.co/collections/FineEnvs/multi-harness-rl-6abdfaaa8d74dacd481d5212) · [Evaluation tasks](https://huggingface.co/datasets/FineEnvs/SmolDataEnvs-harbor-test) · [Training dashboard](https://huggingface.co/spaces/FineEnvs/data-agent-training-comparison-trackio)
|
| 99 |
+
|
| 100 |
+
## Training
|
| 101 |
+
|
| 102 |
+
TRL Async GRPO with **correctness plus a tool-call efficiency bonus**, initialized from the base model. Each group uses one task and one harness; harnesses rotate across groups. Rollouts run through OpenEnv × Harbor in E2B sandboxes.
|
| 103 |
+
|
| 104 |
+
| Setting | Value |
|
| 105 |
+
|---|---|
|
| 106 |
+
| Training task pool | 1,000 tasks: 400 medium / 600 hard |
|
| 107 |
+
| Checkpoint | 1,000 optimizer steps |
|
| 108 |
+
| Learning rate | 3e-6 |
|
| 109 |
+
| Rollouts per GRPO group / maximum staleness | 8 / 4 optimizer steps |
|
| 110 |
+
| Optimizer / precision | paged AdamW 8-bit / bfloat16 |
|
| 111 |
+
| Training harnesses | OpenCode, Claude Code, Codex, Mini-SWE-Agent |
|
| 112 |
+
| Sampling temperature / top-p | 0.8 / 1.0 |
|
| 113 |
+
| Per-call output budget, training / evaluation | 4,096 / 4,096 tokens |
|
| 114 |
+
|
| 115 |
+
The reward is `correctness × (1 + 0.1 × 15 / (15 + tool_calls))`, using verified native harness action counts. Incorrect answers receive zero; missing or unverified action counts receive no efficiency bonus. Reported pass@1 measures correctness only. The 1,000-task pool is not a claim that every task contributed an optimizer update.
|
| 116 |
+
|
| 117 |
+
## Evaluation
|
| 118 |
+
|
| 119 |
+
250 fixed SmolDataEnvs test tasks (33 easy, 118 medium, 99 hard), each evaluated under four harnesses: **1,000 graded task/harness cells**. Pass@1 uses the first graded attempt per cell; infrastructure retries do not turn it into pass@k. All cells below are graded.
|
| 120 |
+
|
| 121 |
+
| Harness | Correct / evaluated | Pass@1 |
|
| 122 |
+
|---|---:|---:|
|
| 123 |
+
| OpenCode | 124 / 250 | 49.6% |
|
| 124 |
+
| Claude Code | 122 / 250 | 48.8% |
|
| 125 |
+
| Codex | 134 / 250 | 53.6% |
|
| 126 |
+
| Mini-SWE-Agent | 162 / 250 | 64.8% |
|
| 127 |
+
| **Overall** | **542 / 1,000** | **54.2%** |
|
| 128 |
+
|
| 129 |
+
Harness versions: OpenCode 1.18.31, Claude Code 2.1.270, Codex 0.154.0, Mini-SWE-Agent 2.4.6. Full scores, including difficulty breakdowns, are in [eval_results.json](eval_results.json).
|
| 130 |
+
|
| 131 |
+
The [main branch](https://huggingface.co/FineEnvs/LFM2.5-2.6B-multiharness-RL/tree/main) contains the final step-1,000 checkpoint (54.2%). The [step-700 branch](https://huggingface.co/FineEnvs/LFM2.5-2.6B-multiharness-RL/tree/step-700) contains the best observed checkpoint (54.6%), used in the article's SFT-versus-RL comparison. **Best checkpoint selection used this test set**, not a separate validation set.
|
| 132 |
+
|
| 133 |
+
At step 1,000, tool calls were **31.1% lower** than the base model across **356 task/harness pairs solved by both**. This is a matched-success comparison, not a reduction across every task or a causal estimate of the reward's effect.
|
| 134 |
+
|
| 135 |
+
These are single-run results on a specific task set and harness versions. Harness mix, training exposure and compute differ across runs; the scores do not isolate a causal effect of the harness or objective.
|
| 136 |
+
|
| 137 |
+
## Load the checkpoint
|
| 138 |
+
|
| 139 |
+
The repository contains full saved model weights and the saved tokenizer/chat template, not a LoRA adapter. Training used Transformers 5.14.1; use a compatible Transformers release.
|
| 140 |
+
|
| 141 |
+
```python
|
| 142 |
+
import torch
|
| 143 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 144 |
+
|
| 145 |
+
model_id = "FineEnvs/LFM2.5-2.6B-multiharness-RL"
|
| 146 |
+
revision = "main"
|
| 147 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision)
|
| 148 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 149 |
+
model_id, revision=revision, dtype=torch.bfloat16, device_map="auto"
|
| 150 |
+
)
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
Reproducing the task scores requires the agent harness and tools described in the [article](https://huggingface.co/spaces/AdithyaSK/multi-harness-rl); a plain chat prompt is not the same evaluation.
|
| 154 |
+
|
| 155 |
+
## Related releases
|
| 156 |
+
|
| 157 |
+
- [LFM2.5-2.6B-multiharness-RL](https://huggingface.co/FineEnvs/LFM2.5-2.6B-multiharness-RL)
|
| 158 |
+
- [LFM2.5-2.6B-opencode-RL](https://huggingface.co/FineEnvs/LFM2.5-2.6B-opencode-RL)
|
| 159 |
+
- [LFM2.5-2.6B-multiharness-SFT](https://huggingface.co/FineEnvs/LFM2.5-2.6B-multiharness-SFT)
|
| 160 |
+
- [LFM2.5-2.6B-opencode-SFT](https://huggingface.co/FineEnvs/LFM2.5-2.6B-opencode-SFT)
|
| 161 |
+
- [Qwen3.5-2B-multiharness-RL](https://huggingface.co/FineEnvs/Qwen3.5-2B-multiharness-RL)
|
| 162 |
+
- [Qwen3.5-2B-opencode-RL](https://huggingface.co/FineEnvs/Qwen3.5-2B-opencode-RL)
|
| 163 |
+
- [Qwen3.5-2B-opencode-standalone-RL](https://huggingface.co/FineEnvs/Qwen3.5-2B-opencode-standalone-RL)
|
| 164 |
+
|
| 165 |
+
All models, datasets, environments and the article are linked in the [multi-harness RL collection](https://huggingface.co/collections/FineEnvs/multi-harness-rl-6abdfaaa8d74dacd481d5212).
|
| 166 |
+
|
| 167 |
+
## License and provenance
|
| 168 |
+
|
| 169 |
+
Derived from [LiquidAI/LFM2.5-2.6B](https://huggingface.co/LiquidAI/LFM2.5-2.6B) under the LFM Open License v1.0. The base model's license is included unchanged in [LICENSE](LICENSE). FineEnvs modified the weights by reinforcement learning; this is not an official Liquid AI release. See [NOTICE](NOTICE) and [release_manifest.json](release_manifest.json) for modification notices, the pinned base revision, checkpoint identity and file checksums. Optimizer, scheduler, RNG and trainer state are excluded.
|
| 170 |
+
|
| 171 |
+
## Citation
|
| 172 |
+
|
| 173 |
+
For the experiment, methodology and interpretation, cite the [main article](https://huggingface.co/spaces/AdithyaSK/multi-harness-rl):
|
| 174 |
+
|
| 175 |
+
```bibtex
|
| 176 |
+
@misc{kolavi2026multiharnessrl,
|
| 177 |
+
author = {Adithya S Kolavi},
|
| 178 |
+
title = {The ultimate guide to multi-harness RL},
|
| 179 |
+
year = {2026},
|
| 180 |
+
url = {https://huggingface.co/spaces/AdithyaSK/multi-harness-rl}
|
| 181 |
+
}
|
| 182 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{- bos_token -}}
|
| 2 |
+
{%- set preserve_thinking = preserve_thinking | default(false) -%}
|
| 3 |
+
|
| 4 |
+
{%- macro format_arg_value(arg_value) -%}
|
| 5 |
+
{%- if arg_value is string -%}
|
| 6 |
+
{{- "'" + (arg_value | replace("\\", "\\\\") | replace("'", "\\'") | replace("\n", "\\n") | replace("\r", "\\r")) + "'" -}}
|
| 7 |
+
{%- elif arg_value is mapping or arg_value is iterable -%}
|
| 8 |
+
{{- arg_value | tojson -}}
|
| 9 |
+
{%- else -%}
|
| 10 |
+
{{- arg_value | string -}}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- endmacro -%}
|
| 13 |
+
|
| 14 |
+
{%- macro parse_content(content) -%}
|
| 15 |
+
{%- if content is string -%}
|
| 16 |
+
{{- content -}}
|
| 17 |
+
{%- elif content is mapping -%}
|
| 18 |
+
{{- content | tojson -}}
|
| 19 |
+
{%- elif content is iterable -%}
|
| 20 |
+
{%- set _ns = namespace(result="") -%}
|
| 21 |
+
{%- for item in content -%}
|
| 22 |
+
{%- if item is string -%}
|
| 23 |
+
{%- set _ns.result = _ns.result + item -%}
|
| 24 |
+
{%- elif item is mapping and item.get("type") == "image" -%}
|
| 25 |
+
{%- set _ns.result = _ns.result + "<image>" -%}
|
| 26 |
+
{%- elif item is mapping and item.get("type") == "text" -%}
|
| 27 |
+
{%- set _ns.result = _ns.result + ((item.get("text") or "") | string) -%}
|
| 28 |
+
{%- else -%}
|
| 29 |
+
{%- set _ns.result = _ns.result + (item | tojson) -%}
|
| 30 |
+
{%- endif -%}
|
| 31 |
+
{%- endfor -%}
|
| 32 |
+
{{- _ns.result -}}
|
| 33 |
+
{%- endif -%}
|
| 34 |
+
{%- endmacro -%}
|
| 35 |
+
|
| 36 |
+
{%- macro render_tool_calls(tool_calls) -%}
|
| 37 |
+
{%- set tool_calls_ns = namespace(tool_calls=[]) -%}
|
| 38 |
+
{%- for tool_call in tool_calls -%}
|
| 39 |
+
{%- set func = tool_call["function"] if "function" in tool_call else tool_call -%}
|
| 40 |
+
{%- set func_name = func["name"] -%}
|
| 41 |
+
{%- set func_args = func.get("arguments") -%}
|
| 42 |
+
{%- set args_ns = namespace(arg_strings=[]) -%}
|
| 43 |
+
{%- if func_args is mapping -%}
|
| 44 |
+
{%- for arg_name, arg_value in func_args.items() -%}
|
| 45 |
+
{%- set args_ns.arg_strings = args_ns.arg_strings + [arg_name + "=" + format_arg_value(arg_value)] -%}
|
| 46 |
+
{%- endfor -%}
|
| 47 |
+
{%- elif func_args is string and (func_args | trim) not in ["", "{}", "null"] -%}
|
| 48 |
+
{{- raise_exception("Tool call arguments must be a mapping, got a JSON-encoded string: parse arguments with json.loads() before applying the chat template") -}}
|
| 49 |
+
{%- endif -%}
|
| 50 |
+
{%- set tool_calls_ns.tool_calls = tool_calls_ns.tool_calls + [func_name + "(" + (args_ns.arg_strings | join(", ")) + ")"] -%}
|
| 51 |
+
{%- endfor -%}
|
| 52 |
+
{{- "<|tool_call_start|>[" + (tool_calls_ns.tool_calls | join(", ")) + "]<|tool_call_end|>" -}}
|
| 53 |
+
{%- endmacro -%}
|
| 54 |
+
|
| 55 |
+
{%- set ns = namespace(system_prompt="", last_user_index=-1) -%}
|
| 56 |
+
{%- if messages and messages[0]["role"] == "system" -%}
|
| 57 |
+
{%- if messages[0].get("content") -%}
|
| 58 |
+
{%- set ns.system_prompt = parse_content(messages[0]["content"]) -%}
|
| 59 |
+
{%- endif -%}
|
| 60 |
+
{%- set messages = messages[1:] -%}
|
| 61 |
+
{%- endif -%}
|
| 62 |
+
{%- if tools -%}
|
| 63 |
+
{%- set ns.system_prompt = ns.system_prompt + ("\n" if ns.system_prompt else "") + "List of tools: [" -%}
|
| 64 |
+
{%- for tool in tools -%}
|
| 65 |
+
{%- if tool is not string -%}
|
| 66 |
+
{%- set tool = tool | tojson -%}
|
| 67 |
+
{%- endif -%}
|
| 68 |
+
{%- set ns.system_prompt = ns.system_prompt + tool -%}
|
| 69 |
+
{%- if not loop.last -%}
|
| 70 |
+
{%- set ns.system_prompt = ns.system_prompt + ", " -%}
|
| 71 |
+
{%- endif -%}
|
| 72 |
+
{%- endfor -%}
|
| 73 |
+
{%- set ns.system_prompt = ns.system_prompt + "]" -%}
|
| 74 |
+
{%- endif -%}
|
| 75 |
+
{%- if ns.system_prompt -%}
|
| 76 |
+
{{- "<|im_start|>system\n" + ns.system_prompt + "<|im_end|>\n" -}}
|
| 77 |
+
{%- endif -%}
|
| 78 |
+
{%- for message in messages -%}
|
| 79 |
+
{%- if message["role"] == "user" -%}
|
| 80 |
+
{%- set ns.last_user_index = loop.index0 -%}
|
| 81 |
+
{%- endif -%}
|
| 82 |
+
{%- endfor -%}
|
| 83 |
+
{%- for message in messages -%}
|
| 84 |
+
{{- "<|im_start|>" + message.role + "\n" -}}
|
| 85 |
+
{%- if message.role == "assistant" -%}
|
| 86 |
+
{%- generation -%}
|
| 87 |
+
{%- set keep_thinking = preserve_thinking or loop.index0 > ns.last_user_index -%}
|
| 88 |
+
{%- set thinking = message.thinking or message.reasoning or message.reasoning_content -%}
|
| 89 |
+
{%- set thinking = thinking if thinking is string else "" -%}
|
| 90 |
+
{%- if thinking and keep_thinking -%}
|
| 91 |
+
{{- "<think>" + thinking + "</think>" -}}
|
| 92 |
+
{%- endif -%}
|
| 93 |
+
{%- set _cfm_tag = "CONTINUE_FINAL_MESSAGE_TAG " -%}
|
| 94 |
+
{%- set _has_cfm = false -%}
|
| 95 |
+
{%- set content = "" -%}
|
| 96 |
+
{%- if message.get("content") -%}
|
| 97 |
+
{%- set content = parse_content(message.content) -%}
|
| 98 |
+
{%- endif -%}
|
| 99 |
+
{%- if not keep_thinking and "</think>" in content -%}
|
| 100 |
+
{%- set content = content.split("</think>")[-1] | trim -%}
|
| 101 |
+
{%- endif -%}
|
| 102 |
+
{%- if content.endswith(_cfm_tag) -%}
|
| 103 |
+
{%- set _has_cfm = true -%}
|
| 104 |
+
{%- set _trunc_len = (content | length) - (_cfm_tag | length) -%}
|
| 105 |
+
{%- set content = content[:_trunc_len] -%}
|
| 106 |
+
{%- endif -%}
|
| 107 |
+
{{- content -}}
|
| 108 |
+
{%- if message.tool_calls -%}
|
| 109 |
+
{{- render_tool_calls(message.tool_calls) -}}
|
| 110 |
+
{%- endif -%}
|
| 111 |
+
{%- if _has_cfm -%}
|
| 112 |
+
{{- _cfm_tag -}}
|
| 113 |
+
{%- endif -%}
|
| 114 |
+
{{- "<|im_end|>\n" -}}
|
| 115 |
+
{%- endgeneration -%}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{%- if message.get("content") -%}
|
| 118 |
+
{{- parse_content(message["content"]) -}}
|
| 119 |
+
{%- endif -%}
|
| 120 |
+
{{- "<|im_end|>\n" -}}
|
| 121 |
+
{%- endif %}
|
| 122 |
+
{%- endfor -%}
|
| 123 |
+
{%- if add_generation_prompt -%}
|
| 124 |
+
{{- "<|im_start|>assistant\n<think>" -}}
|
| 125 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Lfm2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"block_auto_adjust_ff_dim": false,
|
| 6 |
+
"block_dim": 2048,
|
| 7 |
+
"block_ffn_dim_multiplier": 1.0,
|
| 8 |
+
"block_mlp_init_scale": 1.0,
|
| 9 |
+
"block_multiple_of": 256,
|
| 10 |
+
"block_norm_eps": 1e-05,
|
| 11 |
+
"block_out_init_scale": 1.0,
|
| 12 |
+
"block_use_swiglu": true,
|
| 13 |
+
"block_use_xavier_init": true,
|
| 14 |
+
"bos_token_id": 124894,
|
| 15 |
+
"conv_L_cache": 3,
|
| 16 |
+
"conv_bias": false,
|
| 17 |
+
"conv_dim": 2048,
|
| 18 |
+
"conv_use_xavier_init": true,
|
| 19 |
+
"dtype": "bfloat16",
|
| 20 |
+
"eos_token_id": 124900,
|
| 21 |
+
"full_attn_idxs": null,
|
| 22 |
+
"hidden_size": 2048,
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"intermediate_size": 10752,
|
| 25 |
+
"layer_types": [
|
| 26 |
+
"conv",
|
| 27 |
+
"conv",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"conv",
|
| 30 |
+
"conv",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"conv",
|
| 33 |
+
"conv",
|
| 34 |
+
"conv",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"conv",
|
| 37 |
+
"conv",
|
| 38 |
+
"conv",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"conv",
|
| 41 |
+
"conv",
|
| 42 |
+
"conv",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"conv",
|
| 45 |
+
"conv",
|
| 46 |
+
"conv",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"conv",
|
| 49 |
+
"conv",
|
| 50 |
+
"full_attention",
|
| 51 |
+
"conv",
|
| 52 |
+
"conv",
|
| 53 |
+
"full_attention",
|
| 54 |
+
"conv",
|
| 55 |
+
"conv"
|
| 56 |
+
],
|
| 57 |
+
"max_position_embeddings": 131072,
|
| 58 |
+
"model_type": "lfm2",
|
| 59 |
+
"norm_eps": 1e-05,
|
| 60 |
+
"num_attention_heads": 32,
|
| 61 |
+
"num_heads": 32,
|
| 62 |
+
"num_hidden_layers": 30,
|
| 63 |
+
"num_key_value_heads": 8,
|
| 64 |
+
"pad_token_id": 124893,
|
| 65 |
+
"rope_parameters": {
|
| 66 |
+
"rope_theta": 10000000.0,
|
| 67 |
+
"rope_type": "default"
|
| 68 |
+
},
|
| 69 |
+
"tie_word_embeddings": true,
|
| 70 |
+
"transformers_version": "5.14.1",
|
| 71 |
+
"use_cache": false,
|
| 72 |
+
"use_pos_enc": true,
|
| 73 |
+
"vocab_size": 128000
|
| 74 |
+
}
|
eval_results.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metric": "pass@1",
|
| 3 |
+
"complete": true,
|
| 4 |
+
"graded_cells": 1000,
|
| 5 |
+
"average_pass_at_1": 0.542,
|
| 6 |
+
"harnesses": {
|
| 7 |
+
"opencode": {
|
| 8 |
+
"evaluations": 250,
|
| 9 |
+
"pass_at_1": 0.496,
|
| 10 |
+
"difficulty": {
|
| 11 |
+
"easy": {
|
| 12 |
+
"evaluations": 33,
|
| 13 |
+
"pass_at_1": 0.7575757575757576
|
| 14 |
+
},
|
| 15 |
+
"medium": {
|
| 16 |
+
"evaluations": 118,
|
| 17 |
+
"pass_at_1": 0.5084745762711864
|
| 18 |
+
},
|
| 19 |
+
"hard": {
|
| 20 |
+
"evaluations": 99,
|
| 21 |
+
"pass_at_1": 0.3939393939393939
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"claude-code": {
|
| 26 |
+
"evaluations": 250,
|
| 27 |
+
"pass_at_1": 0.488,
|
| 28 |
+
"difficulty": {
|
| 29 |
+
"easy": {
|
| 30 |
+
"evaluations": 33,
|
| 31 |
+
"pass_at_1": 0.7272727272727273
|
| 32 |
+
},
|
| 33 |
+
"medium": {
|
| 34 |
+
"evaluations": 118,
|
| 35 |
+
"pass_at_1": 0.5423728813559322
|
| 36 |
+
},
|
| 37 |
+
"hard": {
|
| 38 |
+
"evaluations": 99,
|
| 39 |
+
"pass_at_1": 0.3434343434343434
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
"codex": {
|
| 44 |
+
"evaluations": 250,
|
| 45 |
+
"pass_at_1": 0.536,
|
| 46 |
+
"difficulty": {
|
| 47 |
+
"easy": {
|
| 48 |
+
"evaluations": 33,
|
| 49 |
+
"pass_at_1": 0.7575757575757576
|
| 50 |
+
},
|
| 51 |
+
"medium": {
|
| 52 |
+
"evaluations": 118,
|
| 53 |
+
"pass_at_1": 0.6101694915254238
|
| 54 |
+
},
|
| 55 |
+
"hard": {
|
| 56 |
+
"evaluations": 99,
|
| 57 |
+
"pass_at_1": 0.37373737373737376
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"mini-swe-agent": {
|
| 62 |
+
"evaluations": 250,
|
| 63 |
+
"pass_at_1": 0.648,
|
| 64 |
+
"difficulty": {
|
| 65 |
+
"easy": {
|
| 66 |
+
"evaluations": 33,
|
| 67 |
+
"pass_at_1": 0.9090909090909091
|
| 68 |
+
},
|
| 69 |
+
"medium": {
|
| 70 |
+
"evaluations": 118,
|
| 71 |
+
"pass_at_1": 0.6864406779661016
|
| 72 |
+
},
|
| 73 |
+
"hard": {
|
| 74 |
+
"evaluations": 99,
|
| 75 |
+
"pass_at_1": 0.5151515151515151
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
"tito_pass": true,
|
| 81 |
+
"comparison_ready": true
|
| 82 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 124894,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
124900
|
| 7 |
+
],
|
| 8 |
+
"output_attentions": false,
|
| 9 |
+
"output_hidden_states": false,
|
| 10 |
+
"pad_token_id": 124893,
|
| 11 |
+
"repetition_penalty": 1.1,
|
| 12 |
+
"temperature": 0.1,
|
| 13 |
+
"top_k": 50,
|
| 14 |
+
"transformers_version": "5.14.1",
|
| 15 |
+
"use_cache": true
|
| 16 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a746561c74a0a73de158569e14222f9d5c47b1226012b2fb0be2fcbaf9e88b86
|
| 3 |
+
size 5394427448
|
release_manifest.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repo_id": "FineEnvs/LFM2.5-2.6B-multiharness-RL",
|
| 3 |
+
"revision": "main",
|
| 4 |
+
"checkpoint_step": 1000,
|
| 5 |
+
"base_model": "LiquidAI/LFM2.5-2.6B",
|
| 6 |
+
"base_revision": "654f9463ce32b05d0429d76fe1f580b27d4c1ac0",
|
| 7 |
+
"method": "TRL Async GRPO",
|
| 8 |
+
"article": "https://huggingface.co/spaces/AdithyaSK/multi-harness-rl",
|
| 9 |
+
"training_harnesses": [
|
| 10 |
+
"opencode",
|
| 11 |
+
"claude-code",
|
| 12 |
+
"codex",
|
| 13 |
+
"mini-swe-agent"
|
| 14 |
+
],
|
| 15 |
+
"files": {
|
| 16 |
+
"model.safetensors": {
|
| 17 |
+
"sha256": "a746561c74a0a73de158569e14222f9d5c47b1226012b2fb0be2fcbaf9e88b86",
|
| 18 |
+
"bytes": 5394427448
|
| 19 |
+
},
|
| 20 |
+
"config.json": {
|
| 21 |
+
"sha256": "3af87c167083ebf3c699240e0162151ad7ee8872e47558e3d0fe2af363a8aaa2",
|
| 22 |
+
"bytes": 1495
|
| 23 |
+
},
|
| 24 |
+
"generation_config.json": {
|
| 25 |
+
"sha256": "127fb60d3ae25548092506e15845d1e754c8b6a443c14c9eb7d16f1249eeb941",
|
| 26 |
+
"bytes": 328
|
| 27 |
+
},
|
| 28 |
+
"tokenizer.json": {
|
| 29 |
+
"sha256": "695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41",
|
| 30 |
+
"bytes": 17905598
|
| 31 |
+
},
|
| 32 |
+
"tokenizer_config.json": {
|
| 33 |
+
"sha256": "fe0dad1e6992b02c64988c9834e0cd1b7c0ccb70a5a002e10e27e0f285c96a3e",
|
| 34 |
+
"bytes": 364
|
| 35 |
+
},
|
| 36 |
+
"chat_template.jinja": {
|
| 37 |
+
"sha256": "ea663864491de7ade391839479860ca95541f892f72665c73251fbd4643b1bef",
|
| 38 |
+
"bytes": 5443
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"tensor_count": 266,
|
| 42 |
+
"evaluation_cells": 1000,
|
| 43 |
+
"optimizer_state_included": false
|
| 44 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41
|
| 3 |
+
size 17905598
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|startoftext|>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<|im_end|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"legacy": false,
|
| 8 |
+
"local_files_only": false,
|
| 9 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 10 |
+
"pad_token": "<|pad|>",
|
| 11 |
+
"tokenizer_class": "TokenizersBackend",
|
| 12 |
+
"use_default_system_prompt": false
|
| 13 |
+
}
|