Index / Business and law / Work skills
Document Classification Env
Space · TanujInsane/document-classification-env
Classify and route customer support tickets into 22 categories, using metadata and escalate tools under SLA time pressure.
Good for
- RL on small policies
- routing with time and cost trade-offs
Reward
- How it is scored
- Programmatic check
- Signal
- Dense, per step
Reward is accuracy plus speed bonus minus SLA penalty and processing cost in the step loop.
How to run it
1. From the cardcopied from the publisher's own instructions
from environment import DocumentClassificationEnv env = DocumentClassificationEnv(task_difficulty="medium") obs, info = env.reset()
2. Run the Space locallyevery Space is a Docker image or app you can clone
git clone https://huggingface.co/spaces/TanujInsane/document-classification-env cd document-classification-env
The Space also runs live on the Hub; open it to see the API it serves.
Framework documentation: OpenEnv.