RLVE Gym environments shim - exposes Gym.environments and Gym.parameter_controllers
Project description
rlve-gym
Minimal shim package that exposes RLVE's Gym module (environments and parameter controllers) without the vendored slime package.
Installation
pip install rlve-gym
Usage
from Gym.environments import identifier2environment
from Gym.parameter_controllers import identifier2controller
# ~400 verifiable environments available
print(len(identifier2environment))
# Example: Multiplication environment
env_class = identifier2environment["Multiplication"]
env = env_class(answer_markers=("<answer>", "</answer>"))
env.generator(seed=42, parameter={"digit_num": 3})
prompt = env.prompt_generator()
Source
This package contains only the Gym/ directory from RLVE.
- Upstream: https://github.com/Zhiyuan-Zeng/RLVE
- Commit: 73cccd971230b50a1a4f5d921027c0853d1eb227
License
MIT (same as RLVE)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlve_gym-0.0.1.tar.gz
(557.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rlve_gym-0.0.1.tar.gz.
File metadata
- Download URL: rlve_gym-0.0.1.tar.gz
- Upload date:
- Size: 557.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6e4f4ff443c3954c311327a34826de9a7326e6eed67d6beed9d8edd4fba5aa5
|
|
| MD5 |
c7eae5a617afb0a0284414e183b51b6d
|
|
| BLAKE2b-256 |
6125d2989b569a2d023987b5d7652a140393ddd9ad5e835463cf29b0d093687e
|
File details
Details for the file rlve_gym-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rlve_gym-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59b7956ac6dc49712fa6b5f5e67c66f357c3c39fe9a2e83f388f33ccf8a568f4
|
|
| MD5 |
d44417223a18107d5783309c7fd6f6c2
|
|
| BLAKE2b-256 |
349f6376aad2547a1797fb9e79d6900457aad44f56a31848839222028c10934c
|