Commit graph

259 commits

Author SHA1 Message Date
Dakota
522e049d27 Remove unused config_handler.py and its import
- Deleted config_handler.py which had unused torch import
- Cleaned up utils/__init__.py to remove ConfigHandler import
2025-06-04 10:21:46 -05:00
hjc-puro
b5e7746c99 remove process defaults, respect config init 2025-06-02 21:19:45 -04:00
dmahan93
4a21ed0891 Enhance ScoredData model and API documentation
- Added optional fields: advantages, messages, and images to the ScoredData model.
- Updated API responses to include these new fields when no data is available.
- Revised README.md to reflect changes in the API structure and response format.
2025-06-02 17:28:25 -05:00
dmahan93
44b96c7b6c Add max_n_completions parameter to ServerManager for handling multiple completions
- Introduced max_n_completions configuration to limit the number of completions requested per server call.
- Updated chat_completion and completion methods to split requests exceeding max_n_completions into multiple calls, merging results accordingly.
- Enhanced documentation for max_n_completions in ServerManagerConfig.
2025-06-02 11:11:55 -05:00
shannonsands
d232b0fd17
Merge pull request #58 from leehanchung/patch-1
docs: update README.md in atroposlib/env/README.md
2025-05-26 22:48:39 -07:00
Shannon Sands
c6a0439ec6 Integrate Sanskrit Poetry Environment from KhoomeiK - Add ChandasMeterReward to reward function registry - Move sanskrit_poetry_env.py to environments/community/sanskrit_poetry/ - Add comprehensive documentation as entry #25 in community README - Environment supports traditional Sanskrit meter validation using chandas classifier - Includes IAST to SLP1 transliteration for accurate meter analysis - Fixed code formatting with pre-commit hooks 2025-05-27 13:29:45 +10:00
leopardracer
2796b7db5f
Update README.md 2025-05-23 19:42:00 +03:00
shannonsands
1c3b9f4c90
Merge pull request #113 from NousResearch/bugfix-default-factories-cli-args
Bugfix default factories cli args
2025-05-22 23:00:45 -07:00
Shannon Sands
2eddcb3cd9 fu linting 2025-05-23 11:18:16 +10:00
Shannon Sands
5b9c8368d6 linting 2025-05-23 11:16:17 +10:00
Shannon Sands
28e1e76cb7 added default factory handling for CLI args 2025-05-23 11:15:44 +10:00
Shannon Sands
d98f65f444 linting 2025-05-23 11:09:06 +10:00
Shannon Sands
606a2615f0 loop check 2025-05-23 11:05:08 +10:00
Rohan Pandey
9c02ebc054 Fix chandas reward to use classifier 2025-05-18 17:26:13 -07:00
Shannon Sands
6f6084e513 linting 2025-05-18 16:55:25 -07:00
Shannon Sands
99a64f5bce removing debugs 2025-05-18 16:48:42 -07:00
Shannon Sands
24d41720ef debugging 2025-05-18 16:43:59 -07:00
Shannon Sands
955832a349 debugging 2025-05-18 16:32:45 -07:00
Shannon Sands
cb08629bcf fixing error 2025-05-18 16:06:59 -07:00
Shannon Sands
5f36d0c658 debugging 2025-05-18 16:01:38 -07:00
Han
76abb16dac
docs: update README.md in atroposlib/env/README.md
Fixing wrong link to the base environment class documentation
2025-05-18 13:34:13 -07:00
hjc-puro
76bdace9c2
Merge pull request #56 from NousResearch/check_server_status_task_404
changed health check to chat completions since all oai models are com…
2025-05-18 22:49:03 +08:00
Shannon Sands
76736ec4c2 removed unused 2025-05-17 13:37:55 -07:00
Shannon Sands
c05d9f7f53 added health check flag to skip entirely 2025-05-17 13:36:26 -07:00
Shannon Sands
f84934363c linting 2025-05-17 13:06:16 -07:00
Shannon Sands
90138376f9 thanks cursor 2025-05-17 13:00:35 -07:00
Shannon Sands
59b08a1aa9 Added flag for chat completion, switch in OpenAI client 2025-05-17 12:59:20 -07:00
Shannon Sands
81534f7c8a message 2025-05-17 12:50:35 -07:00
Shannon Sands
7dc3938038 changed health check to chat completions since all oai models are compatible with that, and it should work with compatible servers 2025-05-17 12:46:50 -07:00
Shannon Sands
edf2beaa32 linting 2025-05-16 20:40:15 -07:00
Shannon Sands
78fc747230 wording 2025-05-16 17:49:22 -07:00
Shannon Sands
263127ec63 Added FAQ.md, linked to it from README 2025-05-16 17:44:20 -07:00
Shannon Sands
00dd120067 Merge branch 'main' into blackjack2-env 2025-05-14 17:27:44 -07:00
Shannon Sands
67cfd961c5 linting 2025-05-14 14:01:31 -07:00
Shannon Sands
d6f9d58606 new env runs locally 2025-05-14 11:57:45 -07:00
Shannon Sands
21cc528b85 move best-of-n selection to util 2025-05-14 10:35:12 -07:00
Shannon Sands
4c00e2b209 move message history out to utils 2025-05-14 10:13:56 -07:00
dmahan93
df3fa0af9f move argparse to main() 2025-05-14 09:57:08 -05:00
dmahan93
96a3476bec Refactor API server initialization to accept command-line arguments, and default reload to False 2025-05-14 09:12:14 -05:00
dmahan93
f7552c9c6f
make default not slurm 2025-05-13 13:11:04 -05:00
dmahan93
553d45cc7e start servers as healthy so they can get a chance to check... 2025-05-13 11:17:23 -05:00
dmahan93
42c47ebc49 add docs :) 2025-05-13 10:28:17 -05:00
dmahan93
8b864e9786 move server_type to serverbaseline instead so it can be used as well for server instantiation 2025-05-13 10:21:58 -05:00
dmahan93
6fc356e76e fix type checking to substantiate an appropriate class instead of the abstract server class 2025-05-13 10:09:36 -05:00
dmahan93
e2128b817e restructure config_init... 2025-05-13 10:00:45 -05:00
dmahan93
bb658631e9 fix bad import from restructuring... 2025-05-13 09:58:16 -05:00
dmahan93
df62979b90 refactor to not mess up process... 2025-05-13 09:22:07 -05:00
dmahan93
6e9405ba95 Fix bad merge 2025-05-12 20:02:54 -05:00
dmahan93
0aaf59fc9a add trl server
add gsm8k example for axolotl checking
2025-05-12 19:04:46 -05:00
dmahan93
96be544228 Merge commit '71e7a5ca27' into add-support-for-custom-api-servers 2025-05-12 18:40:35 -05:00