Text Classification
Transformers
Safetensors
Laya
multilingual
en
zh
ruhui
jev
system-one
calibrated-decisions
rlcd
classification
routing
scoring
guardrails
moderation
reinforcement-learning
commercial-use
Instructions to use anyforge/ruhui with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anyforge/ruhui with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anyforge/ruhui")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anyforge/ruhui", device_map="auto") - Laya
How to use anyforge/ruhui with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download rl_agent_config.json from anyforge/ruhui: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/anyforge/ruhui/resolve/main/rl_agent_config.json
- Command line
-
hf download hf://anyforge/ruhui/rl_agent_config.json
-
curl -L -o rl_agent_config.json https://huggingface.co/anyforge/ruhui/resolve/main/rl_agent_config.json
533 Bytes
| { | |
| "encoder": "jhu-clsp/mmBERT-base", | |
| "head_layers": 2, | |
| "max_len": 1024, | |
| "head_max_len": 256, | |
| "max_prefixes": 6, | |
| "act_costs": { | |
| "escalate": 0.5 | |
| }, | |
| "cost_wrong_act": 3.0, | |
| "amp_dtype": "bf16", | |
| "model_name": "ruhui", | |
| "temperature": [ | |
| 1.00849449634552, | |
| 0.8922340273857117, | |
| 1.028362512588501 | |
| ], | |
| "temperature_by_options": {}, | |
| "training": { | |
| "updates": 15987, | |
| "epochs_completed": 4, | |
| "hours": 4.97, | |
| "world_size": 1, | |
| "fine_tuned_from_checkpoint": false | |
| }, | |
| "fine_tuned": true | |
| } |