rnow 0.2.4__py3-none-any.whl → 0.3.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rnow/cli/commands.py +226 -84
- rnow/cli/test.py +536 -441
- rnow/core/__init__.py +4 -1
- rnow/core/reward.py +34 -3
- rnow/core/tool.py +29 -7
- rnow/models.py +88 -6
- rnow/templates/deepseek-aha/config.yml +1 -1
- rnow/templates/mcp-tavily/config.yml +1 -1
- rnow/templates/rl-single/config.yml +7 -7
- rnow/templates/rl-single/train.jsonl +0 -908
- rnow/templates/rl-tools/config.yml +1 -1
- rnow/templates/tutorial-reward/config.yml +7 -7
- rnow/templates/tutorial-reward/train.jsonl +0 -908
- rnow/templates/tutorial-tool/config.yml +1 -1
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/METADATA +23 -9
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/RECORD +22 -22
- /rnow/templates/rl-tools/{env.py → tools.py} +0 -0
- /rnow/templates/tutorial-tool/{env.py → tools.py} +0 -0
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/WHEEL +0 -0
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/entry_points.txt +0 -0
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/licenses/LICENSE +0 -0
- {rnow-0.2.4.dist-info → rnow-0.3.9.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rnow
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.9
|
|
4
4
|
Summary: ReinforceNow CLI - Reinforcement Learning platform command-line interface
|
|
5
|
-
Requires-Python:
|
|
5
|
+
Requires-Python: <3.15,>=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
8
|
Requires-Dist: click>=8.0.0
|
|
@@ -16,6 +16,7 @@ Requires-Dist: tokenizers>=0.15.0
|
|
|
16
16
|
Requires-Dist: openai-harmony>=0.0.8
|
|
17
17
|
Provides-Extra: test
|
|
18
18
|
Requires-Dist: tinker-cookbook>=0.1.0; extra == "test"
|
|
19
|
+
Requires-Dist: transformers>=4.40.0; extra == "test"
|
|
19
20
|
Provides-Extra: api
|
|
20
21
|
Requires-Dist: fastapi>=0.68.0; extra == "api"
|
|
21
22
|
Requires-Dist: uvicorn>=0.15.0; extra == "api"
|
|
@@ -23,6 +24,7 @@ Provides-Extra: mcp
|
|
|
23
24
|
Requires-Dist: fastmcp>=0.1.0; extra == "mcp"
|
|
24
25
|
Provides-Extra: all
|
|
25
26
|
Requires-Dist: tinker-cookbook>=0.1.0; extra == "all"
|
|
27
|
+
Requires-Dist: transformers>=4.40.0; extra == "all"
|
|
26
28
|
Requires-Dist: fastapi>=0.68.0; extra == "all"
|
|
27
29
|
Requires-Dist: uvicorn>=0.15.0; extra == "all"
|
|
28
30
|
Requires-Dist: fastmcp>=0.1.0; extra == "all"
|
|
@@ -38,7 +40,7 @@ Dynamic: license-file
|
|
|
38
40
|
|
|
39
41
|
[](https://pypi.org/project/rnow/)
|
|
40
42
|
[](https://reinforcenow.ai/docs)
|
|
41
|
-
[](https://x.com/
|
|
43
|
+
[](https://x.com/reinforcenow)
|
|
42
44
|
[](./LICENSE)
|
|
43
45
|
|
|
44
46
|
</div>
|
|
@@ -49,22 +51,34 @@ See the [documentation](https://www.reinforcenow.ai/docs/getting-started/quickst
|
|
|
49
51
|
|
|
50
52
|
# Quick Start
|
|
51
53
|
|
|
52
|
-
### 1. Install
|
|
54
|
+
### 1. Install uv (Python package manager)
|
|
53
55
|
|
|
54
56
|
```bash
|
|
55
|
-
|
|
57
|
+
# macOS/Linux:
|
|
58
|
+
$ curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
59
|
+
|
|
60
|
+
# Windows:
|
|
61
|
+
PS> powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 2. Install ReinforceNow
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv init && uv venv --python 3.11
|
|
68
|
+
source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1
|
|
69
|
+
uv pip install rnow
|
|
56
70
|
```
|
|
57
71
|
|
|
58
|
-
###
|
|
72
|
+
### 3. Authenticate
|
|
59
73
|
|
|
60
74
|
```bash
|
|
61
75
|
rnow login
|
|
62
76
|
```
|
|
63
77
|
|
|
64
|
-
###
|
|
78
|
+
### 4. Create & Run Your First Project
|
|
65
79
|
|
|
66
80
|
```bash
|
|
67
|
-
rnow init --template
|
|
81
|
+
rnow init --template sft
|
|
68
82
|
rnow run
|
|
69
83
|
```
|
|
70
84
|
|
|
@@ -123,7 +137,7 @@ Create a `train.jsonl` file with your prompts and reward assignments:
|
|
|
123
137
|
|
|
124
138
|
# Contributing
|
|
125
139
|
|
|
126
|
-
We welcome contributions! ❤️ Please open an issue to discuss your ideas before submitting a PR
|
|
140
|
+
We welcome contributions! ❤️ Please open an issue to discuss your ideas before submitting a PR
|
|
127
141
|
|
|
128
142
|
<br>
|
|
129
143
|
<div align="center">
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
rnow/__init__.py,sha256=eZZ4ojxcXfvZy6DKVUCnABXwaa6qJG2i9Jaw0UG4UNk,105
|
|
2
2
|
rnow/__main__.py,sha256=I7C-8zwJh2X48frHLIp256g9wNyIvs6EJbxrGg70lmQ,141
|
|
3
|
-
rnow/models.py,sha256=
|
|
3
|
+
rnow/models.py,sha256=4gcjXv3reuRw3ICh60RSrm9LwomNCRP_g0Tsj0sC-lM,12001
|
|
4
4
|
rnow/cli/__init__.py,sha256=9jch1FcYtWwO3xa239DQkoJDo07xna4qL9m_IS_kHR8,103
|
|
5
5
|
rnow/cli/auth.py,sha256=M12S4pzocOlRqUM5LLGJDrPfRREh4_wqEyIiLs65Wr4,1797
|
|
6
6
|
rnow/cli/blob.py,sha256=ZdGNoeT_q--K60qbzNRllP9ejYcbHAf5_PrHmQcu43o,2739
|
|
7
|
-
rnow/cli/commands.py,sha256=
|
|
7
|
+
rnow/cli/commands.py,sha256=NXeicEgyAksvy25R5VH2Fm5LSAyaGG8Gp8LBVWRidKk,89624
|
|
8
8
|
rnow/cli/common.py,sha256=ayRStKviHMFatb1nJg6zrUzl_hfdmyoKNTXLFLQrmCA,679
|
|
9
9
|
rnow/cli/cube.py,sha256=oZzhKQia58DPsp78QtWntDX4OZmQHSNyRxWfw4kMzgk,8614
|
|
10
10
|
rnow/cli/main.py,sha256=EpF3XUxEVIwwgO3tblKAdxWf0WW3lntHGkTeK5nwsQE,1169
|
|
11
|
-
rnow/cli/test.py,sha256=
|
|
11
|
+
rnow/cli/test.py,sha256=JlVZpckXsvXXQHnH9zatPyh2AilFG3zJAiHSySt7M8M,26098
|
|
12
12
|
rnow/cli/token_count.py,sha256=2F22yeg9R-Ai9TmTZsloi9RHDlVsQ9YJ9oX-zN2TUIY,9930
|
|
13
|
-
rnow/core/__init__.py,sha256=
|
|
14
|
-
rnow/core/reward.py,sha256=
|
|
15
|
-
rnow/core/tool.py,sha256=
|
|
16
|
-
rnow/templates/deepseek-aha/config.yml,sha256=
|
|
13
|
+
rnow/core/__init__.py,sha256=nztnclAYoccH92KcT4lcFHX4c4Niu7FCSZHyYU9eJDQ,825
|
|
14
|
+
rnow/core/reward.py,sha256=K9u6ukYABNIVNc21g5tqBcr1CLtp0NKlI2lvT-NNJMU,12808
|
|
15
|
+
rnow/core/tool.py,sha256=ISIgRIWlMXfSUKFozIQ7N71Bswy-yBZTGbIvhXYcHtE,17025
|
|
16
|
+
rnow/templates/deepseek-aha/config.yml,sha256=_r1yoFraOwxQsmkOxTksbS4J9aBpZSlq--NtLE6iGHg,573
|
|
17
17
|
rnow/templates/deepseek-aha/rewards.py,sha256=Wawuu5wU8j3h4ggvFd6tmhSUOOjNuw7p_UZvIFt5Usw,1018
|
|
18
18
|
rnow/templates/deepseek-aha/train.jsonl,sha256=TvX96zObfGxYc5KLQNV9rlwrqaYSx_08iHyTb3VqybU,321106
|
|
19
|
-
rnow/templates/mcp-tavily/config.yml,sha256=
|
|
19
|
+
rnow/templates/mcp-tavily/config.yml,sha256=xjcZfx-N7UL4Sq-qrxrNPxaCP-6GkTjlXz0mU_HpVQc,702
|
|
20
20
|
rnow/templates/mcp-tavily/requirements.txt,sha256=1ZpQJZiqb5W7yO6tXGAqVUSWMilSTadxqVmwsRhmgz4,17
|
|
21
21
|
rnow/templates/mcp-tavily/rewards.py,sha256=5z6dI2AO9WeSIIVfhx9LOBMgVGR23rP8Cis4Xyndq4M,776
|
|
22
22
|
rnow/templates/mcp-tavily/train.jsonl,sha256=YjfEErhtfuJko3ZvzHFsNXTEmxNnSNMMTWZHgwg4d9g,225204
|
|
@@ -28,29 +28,29 @@ rnow/templates/rl-nextjs/config.yml,sha256=5b9Gs7thcqjUXJ6bv0chlxQdvsdTARyRduWES
|
|
|
28
28
|
rnow/templates/rl-nextjs/requirements.txt,sha256=Ul1DVTJGLJBXgqujOiyIDLKXgkvl6XlpjNexy4fGoMc,36
|
|
29
29
|
rnow/templates/rl-nextjs/rewards.py,sha256=IAHhWIJY9ah3YksoHkimQaC1folP-FO9Bgae27xhmvA,14625
|
|
30
30
|
rnow/templates/rl-nextjs/train.jsonl,sha256=98mb5S81p6a6lgG4uP35IEIcP_cir0CfJ7BYx0rHMp0,522550
|
|
31
|
-
rnow/templates/rl-single/config.yml,sha256=
|
|
31
|
+
rnow/templates/rl-single/config.yml,sha256=eqXCCDcitp9Kxolglc8uDmYXpzF_SxIB2EkIw__sisk,522
|
|
32
32
|
rnow/templates/rl-single/requirements.txt,sha256=yJceROMgmW4o1Vb4oOo7cMPK597rUw-GxcRkYDWnjrk,19
|
|
33
33
|
rnow/templates/rl-single/rewards.py,sha256=gk4ZYEF8RyH1zcMg_K1Fp23gmDq4JmppN9_vR8L3nUM,426
|
|
34
|
-
rnow/templates/rl-single/train.jsonl,sha256=
|
|
35
|
-
rnow/templates/rl-tools/config.yml,sha256=
|
|
36
|
-
rnow/templates/rl-tools/env.py,sha256=mPzuYS6cNia9Q-sxn3h8a_uyYsXAHOrxk9oYfeIg4gA,1151
|
|
34
|
+
rnow/templates/rl-single/train.jsonl,sha256=onEU-2g9Pl4aNfpAvFOWopojHRYwp7QV2XZTg22aHhg,43338
|
|
35
|
+
rnow/templates/rl-tools/config.yml,sha256=Dzd2WnIdRzvG4WHhRUrLe91rGQx2BzImELYzZV8VDsw,593
|
|
37
36
|
rnow/templates/rl-tools/requirements.txt,sha256=WonZpO2bsLj-HWyU9B5BzQ0qagcgF2zNcnjRvmOFrik,57
|
|
38
37
|
rnow/templates/rl-tools/rewards.py,sha256=5z6dI2AO9WeSIIVfhx9LOBMgVGR23rP8Cis4Xyndq4M,776
|
|
38
|
+
rnow/templates/rl-tools/tools.py,sha256=mPzuYS6cNia9Q-sxn3h8a_uyYsXAHOrxk9oYfeIg4gA,1151
|
|
39
39
|
rnow/templates/rl-tools/train.jsonl,sha256=YjfEErhtfuJko3ZvzHFsNXTEmxNnSNMMTWZHgwg4d9g,225204
|
|
40
40
|
rnow/templates/sft/config.yml,sha256=2o65W43zSEOp63Y0t_sOSeyBBI_5UpLUj3LrH_FHhRw,393
|
|
41
41
|
rnow/templates/sft/train.jsonl,sha256=e3IlKIHj7x2neTTnpOnbc5hNsdT8gwEBBSalKwWHErU,508674
|
|
42
|
-
rnow/templates/tutorial-reward/config.yml,sha256=
|
|
42
|
+
rnow/templates/tutorial-reward/config.yml,sha256=eqXCCDcitp9Kxolglc8uDmYXpzF_SxIB2EkIw__sisk,522
|
|
43
43
|
rnow/templates/tutorial-reward/requirements.txt,sha256=yJceROMgmW4o1Vb4oOo7cMPK597rUw-GxcRkYDWnjrk,19
|
|
44
44
|
rnow/templates/tutorial-reward/rewards.py,sha256=ue6tzd7wDjogKwE28inQZjwjfK_F0Y_mYZvVP1PnzVY,440
|
|
45
|
-
rnow/templates/tutorial-reward/train.jsonl,sha256=
|
|
46
|
-
rnow/templates/tutorial-tool/config.yml,sha256=
|
|
47
|
-
rnow/templates/tutorial-tool/env.py,sha256=2ziGzkDLOzrCGEcYPgk7-bQi80EL4-hiJLG0MMxNIS0,166
|
|
45
|
+
rnow/templates/tutorial-reward/train.jsonl,sha256=onEU-2g9Pl4aNfpAvFOWopojHRYwp7QV2XZTg22aHhg,43338
|
|
46
|
+
rnow/templates/tutorial-tool/config.yml,sha256=44IhP2GFZEVS0zb5psIYsTWqfDRoDCPpkyztTKPQnP8,592
|
|
48
47
|
rnow/templates/tutorial-tool/requirements.txt,sha256=WonZpO2bsLj-HWyU9B5BzQ0qagcgF2zNcnjRvmOFrik,57
|
|
49
48
|
rnow/templates/tutorial-tool/rewards.py,sha256=jxik_6dZh3gTlMsmgbIYz7xQVn9EAqR_mXpWfd4rPe0,182
|
|
49
|
+
rnow/templates/tutorial-tool/tools.py,sha256=2ziGzkDLOzrCGEcYPgk7-bQi80EL4-hiJLG0MMxNIS0,166
|
|
50
50
|
rnow/templates/tutorial-tool/train.jsonl,sha256=wUkObyXyR2k7nn89CCscE3eS-IOwBvn_ar-LGEw8LJE,1216463
|
|
51
|
-
rnow-0.
|
|
52
|
-
rnow-0.
|
|
53
|
-
rnow-0.
|
|
54
|
-
rnow-0.
|
|
55
|
-
rnow-0.
|
|
56
|
-
rnow-0.
|
|
51
|
+
rnow-0.3.9.dist-info/licenses/LICENSE,sha256=zp3v0kxFKoto-UBNj-yWfZv5LuLWI3QRLt3EFKrMkDw,1069
|
|
52
|
+
rnow-0.3.9.dist-info/METADATA,sha256=dZzxXblOxUhgF4F5GF2CZqL7InW0QRv8YSgyF2fAMLI,4511
|
|
53
|
+
rnow-0.3.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
54
|
+
rnow-0.3.9.dist-info/entry_points.txt,sha256=UDq6s3IvmtJPGQskgZyvoFmSI6sUExM9VS0sGep4Eik,44
|
|
55
|
+
rnow-0.3.9.dist-info/top_level.txt,sha256=7UzwktxX6U3A5mExEBPKZB2TlxDAYEBywZeJ4uwNPyY,5
|
|
56
|
+
rnow-0.3.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|