Upload 4 files
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
RightNow Mini
|
| 2 |
+
Copyright 2026 RightNow AI
|
| 3 |
+
|
| 4 |
+
This work is built on Inkling 2 Mini by Thinking Machines Lab, Inc.
|
| 5 |
+
(https://huggingface.co/thinkingmachines/Inkling-2-Mini), released under the Apache License, Version 2.0.
|
| 6 |
+
No weights of Inkling 2 Mini are in this release: the model is used as released, from its own repository.
|
| 7 |
+
The base model's card links a Model Acceptable Use Policy, which applies to any use of the model through this work:
|
| 8 |
+
https://thinkingmachines.ai/model-acceptable-use-policy/
|
| 9 |
+
|
| 10 |
+
The engine in engine/ runs vLLM (https://github.com/vllm-project/vllm, Apache-2.0) and uses, for speculative
|
| 11 |
+
decoding, the draft model Inkling 2 Mini DFlash2 by incoai
|
| 12 |
+
(https://huggingface.co/incoai/Inkling-2-Mini-DFlash2, Apache-2.0), which engine/build_drafter.py prepares on
|
| 13 |
+
the user's machine. Neither is redistributed here.
|
| 14 |
+
|
| 15 |
+
Measured with mini-swe-agent (MIT), the SWE-bench harness (MIT) and SWE-smith (MIT). The fine-tuning experiments
|
| 16 |
+
reported in results/train.md used Unsloth (Apache-2.0). docs/licenses.md lists each with its source and revision.
|
README.md
CHANGED
|
@@ -1,3 +1,125 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: thinkingmachines/Inkling-2-Mini
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- code
|
| 9 |
+
- coding-agent
|
| 10 |
+
- speculative-decoding
|
| 11 |
+
- moe
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# RightNow Mini (preview)
|
| 15 |
+
|
| 16 |
+
**Inkling 2 Mini set up for coding work: an engine line at 730 tokens per second on one GPU, and a deep mode that resolves 92 of 100 SWE-bench Verified tasks with 32 attempts, where one attempt resolves 70 to 83.**
|
| 17 |
+
|
| 18 |
+
<sub>Built on [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab. Apache-2.0. Preview release by RightNow AI.</sub>
|
| 19 |
+
|
| 20 |
+
Everything below was measured on 2026-12-01 on one node with NVIDIA B300 GPUs, one GPU per model server. The files that produced each number are in `results/`.
|
| 21 |
+
|
| 22 |
+
**What this is, plainly.** The model's weights are Inkling 2 Mini's, unchanged: you download them from the base repository. This repository holds no weights. It adds the engine line, deep mode, and the scripts and raw results behind every number. Two changes to the weights were tried, a fine-tune and removing rarely used experts. Neither passed its gate, so neither is shipped. The gap to a frontier model is published below: Opus 5.5 resolves 94 of the same 100 tasks in one attempt.
|
| 23 |
+
|
| 24 |
+
## What is in this repository
|
| 25 |
+
|
| 26 |
+
| Path | What |
|
| 27 |
+
|---|---|
|
| 28 |
+
| `engine/` | One command that serves the model with an OpenAI-compatible API (`engine/serve.sh`) |
|
| 29 |
+
| `deep/` | Deep mode: N attempts, then one answer |
|
| 30 |
+
| `demo/` | A side-by-side page: the same coding task on two models, with live speed and a clock |
|
| 31 |
+
| `eval/`, `train/`, `tools/` | The scripts behind every number here |
|
| 32 |
+
| `results/` | Five result files, and every raw file behind them in `results/data.zip` |
|
| 33 |
+
|
| 34 |
+
## Coding
|
| 35 |
+
|
| 36 |
+
100 tasks of SWE-bench Verified (a fixed draw, `eval/subset.json`), the bash-only agent mini-swe-agent 2.4.6, scored by the SWE-bench harness with the benchmark's own tests. One B300 per model server. Every score is out of 100 tasks.
|
| 37 |
+
|
| 38 |
+
| Setup | Attempts per task | Resolved of 100 |
|
| 39 |
+
|---|---|---|
|
| 40 |
+
| Opus 5.5, through OpenRouter | 1 | 94 |
|
| 41 |
+
| Inkling 2 Mini, greedy decoding, plain vLLM | 1 | 56, 51, 45 (3 passes) |
|
| 42 |
+
| Inkling 2 Mini, temperature 0.8, RightNow Mini engine | 1 | 70 to 83, median 75 (32 passes) |
|
| 43 |
+
| **Deep mode** | 2 | **81** |
|
| 44 |
+
| | 4 | **86** |
|
| 45 |
+
| | 8 | **90** |
|
| 46 |
+
| | 16 | **90** |
|
| 47 |
+
| | 32 | **92** |
|
| 48 |
+
| Deep mode with a reviewing session | 8, and one more session for 63 of the tasks | **88** |
|
| 49 |
+
|
| 50 |
+
Deep mode runs N attempts of the model at temperature 0.8 and returns one patch without seeing the benchmark's tests. If more than half of the attempts wrote the same patch, that patch wins. Otherwise the patch most attempts share wins, then the shortest (`deep/select.py`). A further step was measured: on the tasks where the attempts disagree, one more session of the model with tools reads the candidate patches, writes a reproduction, tries each candidate in the task's container and submits the final patch (`deep/review.yaml`, `tools/review_run.sh`). It resolves 88 against 90 at N=8 for plain agreement, so it is not the default.
|
| 51 |
+
|
| 52 |
+
- At least one of the N attempts resolves the task for 83, 90, 94, 95, 97 of the 100 tasks at N = 2, 4, 8, 16, 32. That is an upper bound, known only from the benchmark's tests; choosing without them keeps 81, 86, 90, 90, 92.
|
| 53 |
+
- Having the model read the candidate patches and vote did worse than plain agreement (79 at N=2, 84 at N=4, 85 at N=8, 86 at N=16), so deep mode does not use it.
|
| 54 |
+
- Time: with the GPU to itself, one task with 8 attempts side by side took 1.1 to 8.4 minutes (median 4.9) on the first 5 tasks of the subset. Larger N was not timed alone. `results/deep.md` has the times of the batch runs, where each GPU served 60 sessions at once.
|
| 55 |
+
- Scores at temperature 0.8 move from pass to pass; the table gives the range. Opus 5.5 was run once, with the provider's default sampling.
|
| 56 |
+
|
| 57 |
+
## Speed
|
| 58 |
+
|
| 59 |
+
One B300, greedy decoding, 64 fixed coding prompts, 512 new tokens each, tokens counted by the server (`results/speed.md`).
|
| 60 |
+
|
| 61 |
+
| Engine line | One stream, tokens per second | 64 streams, tokens per second in total |
|
| 62 |
+
|---|---|---|
|
| 63 |
+
| vLLM, no drafting | 257.7 | 6,579 |
|
| 64 |
+
| SGLang, no drafting | 224.9 | 4,983 |
|
| 65 |
+
| SGLang with the draft head in the checkpoint | 422.5 | 5,888 |
|
| 66 |
+
| vLLM with the draft head in the checkpoint | 548.0 | 8,437 |
|
| 67 |
+
| **RightNow Mini engine** | **729.6** | **10,323** |
|
| 68 |
+
|
| 69 |
+
The engine is vLLM with a published draft model ([Inkling 2 Mini DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by incoai) that `engine/build_drafter.py` prepares in three small ways: it is given the model's normalized embeddings, the right layer list, and its logit cap is switched off. Nothing is trained. The model checks every drafted token.
|
| 70 |
+
|
| 71 |
+
**It is not token-identical to the plain engine.** On 200 prompts captured one at a time, the plain engine repeats itself on 200 of 200. With drafting, 6 of 200 prompts give the same tokens as the plain engine, for vLLM's own draft-head recipe and for ours alike: on this model the engine's arithmetic for a token depends slightly on what is checked together with it, and a near tie can flip. Against vLLM's own draft-head recipe our line gives the same tokens on 123 of 200 prompts. The tables are in `results/speed.md`.
|
| 72 |
+
|
| 73 |
+
## What did not pass
|
| 74 |
+
|
| 75 |
+
This release was built against gates set before the work started. These failed, as measured.
|
| 76 |
+
|
| 77 |
+
- **Token-identical speed-up** (gate: 200 prompts, no token difference from the plain engine). 6 of 200 prompts are identical with drafting. vLLM's own draft-head recipe fails the same way (6 of 200). The engine is published with this said; `DRAFT=0` gives the plain engine.
|
| 78 |
+
- **1,000 tokens per second on one stream** (target). Measured: 729.6.
|
| 79 |
+
- **Faster than Strata on the same GPU** (gate). Not measured: Strata is a desktop engine with its own re-quantized packs and was not run on this node.
|
| 80 |
+
- **A fine-tune that beats the stock model** (gate: every fine-tuned greedy pass above every stock pass). The stock passes scored 56, 51, 45; fine-tuning on the model's own passing attempts, round 1 scored 40, 50, 48 and round 2 scored 45, 35. The fine-tuned weights are not shipped (`results/train.md`).
|
| 81 |
+
- **A smaller model with the same score** (gate: within the unpruned model's range). Keeping 96 of 128 experts per layer (16.3 GB instead of 20.2) scored 67, 66 against 70 to 83; keeping 64 (12.4 GB) scored 5, 5. Nothing was retrained after pruning. The pruned weights are not shipped (`results/size.md`).
|
| 82 |
+
- **Matching Opus 5.5** on this subset. One attempt: 75 at the median. Deep mode: 92 at best (32 attempts). Opus 5.5: 94.
|
| 83 |
+
|
| 84 |
+
## Run it
|
| 85 |
+
|
| 86 |
+
```bash
|
| 87 |
+
# the model's weights (unchanged Inkling 2 Mini), the published draft model, and this repository
|
| 88 |
+
hf download thinkingmachines/Inkling-2-Mini --local-dir model
|
| 89 |
+
hf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafter
|
| 90 |
+
hf download RightNowAI/RightNow-Mini --local-dir rightnow-mini
|
| 91 |
+
|
| 92 |
+
# one GPU, an OpenAI-compatible server on port 8000 (model id: rightnow-mini)
|
| 93 |
+
# the first start prepares the draft model next to its folder (about a minute), later starts reuse it
|
| 94 |
+
MODEL_DIR=$PWD/model DRAFTER_DIR=$PWD/drafter bash rightnow-mini/engine/serve.sh
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
For agent work, sample: send `temperature` 0.8 (the model's own default is 1.0). With greedy decoding this model often repeats one command until its step limit.
|
| 98 |
+
|
| 99 |
+
Deep mode for coding agents, as scored above, is N runs of your agent against that server and then one call:
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
# attempts/att-1/preds.json ... attempts/att-8/preds.json, in the SWE-bench predictions format
|
| 103 |
+
python rightnow-mini/deep/select.py --attempts attempts --n 8 --mode agree --url http://127.0.0.1:8000 --model rightnow-mini --out chosen
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
`deep/server.py` wraps the same idea for a single chat request as the model id `rightnow-mini-deep` (N sampled answers, the shared one wins, otherwise the model votes). It is tested for function (`tests/test_deep.py`) and was not scored.
|
| 107 |
+
|
| 108 |
+
## Limits
|
| 109 |
+
|
| 110 |
+
- **A preview, measured on one day.** One node, one GPU type, one benchmark subset of 100 tasks. A different subset or agent will move the scores. Opus 5.5 was run once.
|
| 111 |
+
- **The weights are the base model's.** What is new here is how the model is served and used.
|
| 112 |
+
- **Drafting changes the tokens.** The model still decides each one, but the text is not the plain engine's text (see Speed).
|
| 113 |
+
- **Deep mode costs N times the compute**, and it chooses by agreement between attempts: it cannot see the task's tests.
|
| 114 |
+
- **Speed was measured on short coding prompts.** Agent sessions with long contexts ran at 1,000 to 1,700 output tokens per second per GPU, summed over the sessions sharing it, on the plain engine in our own runs.
|
| 115 |
+
- The base model's limits apply: see its card, including its Model Acceptable Use Policy.
|
| 116 |
+
|
| 117 |
+
## Licence and credit
|
| 118 |
+
|
| 119 |
+
Apache-2.0. RightNow Mini is built on Inkling 2 Mini by Thinking Machines Lab, whose licence and notices are kept (`LICENSE`, `NOTICE`). The engine runs vLLM and uses the draft model Inkling 2 Mini DFlash2 by incoai (Apache-2.0), which it prepares on your machine; neither is redistributed here. Measured with mini-swe-agent, the SWE-bench harness and SWE-smith. `docs/licenses.md` lists each source with its licence and revision.
|
| 120 |
+
|
| 121 |
+
## About RightNow AI
|
| 122 |
+
|
| 123 |
+
Bring any Hugging Face model. RightNow AI tunes it down to the GPU kernel and hosts it on private infrastructure, with zero data retention by default. RightNow AI is a YC-backed GPU research lab.
|
| 124 |
+
|
| 125 |
+
https://www.rightnowai.co
|
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "RightNow Mini",
|
| 3 |
+
"version": "preview",
|
| 4 |
+
"license": "apache-2.0",
|
| 5 |
+
"description": "The engine and deep-mode configuration measured in results/. The model's weights are Inkling 2 Mini's, unchanged, and are not in this repository.",
|
| 6 |
+
"model": {
|
| 7 |
+
"repository": "thinkingmachines/Inkling-2-Mini",
|
| 8 |
+
"revision": "fcd43a4241eb71e9f56f5f4d4bb125438cc613d9",
|
| 9 |
+
"included": false
|
| 10 |
+
},
|
| 11 |
+
"drafter": {
|
| 12 |
+
"source": "incoai/Inkling-2-Mini-DFlash2",
|
| 13 |
+
"source_revision": "4f9088ea66c21f2b99ed657d1941c306b03e84d2",
|
| 14 |
+
"prepared_by": "engine/build_drafter.py",
|
| 15 |
+
"included": false
|
| 16 |
+
},
|
| 17 |
+
"engine": {
|
| 18 |
+
"server": "vLLM",
|
| 19 |
+
"image": "vllm/vllm-openai@sha256:3f80650e404965216b36042caca709598d4163342366d86c4247a06541eca81d",
|
| 20 |
+
"command": "engine/serve.sh",
|
| 21 |
+
"arguments": ["--reasoning-parser", "inkling", "--enable-auto-tool-choice", "--tool-call-parser", "inkling"],
|
| 22 |
+
"speculative_config": {"method": "dflash", "model": "the prepared drafter", "num_speculative_tokens": 7, "draft_sample_method": "probabilistic"}
|
| 23 |
+
},
|
| 24 |
+
"deep_mode": {
|
| 25 |
+
"attempt_temperature": 0.8,
|
| 26 |
+
"selection": "deep/select.py --mode agree",
|
| 27 |
+
"chat_model_id": "rightnow-mini-deep",
|
| 28 |
+
"chat_server": "deep/server.py"
|
| 29 |
+
},
|
| 30 |
+
"results": "results/"
|
| 31 |
+
}
|