CoolFace
Apppublic

saheb/content-moderation-env

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
50 commits on main
c5000c95mo ago

Upload folder using huggingface_hub

saheb
4c4e5e15mo ago

Update log_end function: Include score in end log output for better tracking

saheb
6e684d05mo ago

Update grader score precision: Change rounding from 4 to 2 decimal places

saheb
dbc0ad45mo ago

Enhance ContentModerationEnvironment: Initialize grader score at episode start and compute it consistently

saheb
dc54ec65mo ago

Update benchmark display: Add clarification on score accuracy and adjust score formatting

saheb
4b94b385mo ago

Enhance Content Moderation Environment: Add package exports, improve import handling, and update moderation actions

saheb
9da56b96mo ago

Reduce Uvicorn timeout from 300 to 65 seconds for improved performance

saheb
4a9549a6mo ago

Refactor Dockerfile: Replace uv with pip for dependency installation and improve caching

saheb
06dfa9c6mo ago

Enhance Content Moderation Environment: Update Dockerfile, add client, improve README, and refine environment handling

saheb
971d57f6mo ago

updating benchmarks

saheb
965722a6mo ago

benchmarks and readme

saheb
e8739536mo ago

tidy

saheb
182b62d6mo ago

updating benchmarks

saheb
1b8abf66mo ago

prevent reward hacking

saheb
f82c8e66mo ago

view_thread and view_post each reward only once per post per episode.

saheb
4e4195d6mo ago

thread reading enabled

saheb
f2f2b356mo ago

polish

saheb
7caffe66mo ago

clamping scores to be strictly between 0 and 1

saheb
653fcf26mo ago

hf port 7860 not necessary for docker; adding app_port in hf yaml readme

saheb
751e1fb6mo ago

HF_TOKEN → api_key

saheb
52670156mo ago

HF_TOKEN first, API_KEY as fallback

saheb
33c05f06mo ago

remove HF_TOKEN as fallback

saheb
b9bdf846mo ago

opt in load_dotenv

saheb
8e1c11c6mo ago

Another attempt at fixing No API calls were made through our LLM proxy

saheb
761b8c26mo ago

fix(env): prioritize API_KEY over HF_TOKEN for API key lookup

saheb
1bd522f6mo ago

updating benchmarks

saheb
c44226e6mo ago

fixing env variables and linking benchmarks.html

saheb
55bd0c26mo ago

reset and step fixes

saheb
606400c6mo ago

interactive demo UI and some refactoring

Saheb Motiani
45593886mo ago

feat: add very hard difficulty tier and interactive demo UI

saheb
d20ad686mo ago

refactoring, polish, and adding very hard data

Saheb Motiani
bf766436mo ago

refactoring, polish, and adding very hard data

saheb
745c2e26mo ago

refactor: improve inference robustness, update documentation, and enhance Pydantic schema definitions

saheb
75693e66mo ago

docs: add Gemini 3.1 Flash Lite performance metrics to README table

saheb
d057d9a6mo ago

fix: add InternalServerError handling to inference fallback and update benchmarks with gemma-4-31b-it results

saheb
7bde72d6mo ago

feat: update inference to use strict JSON schema and add reward metrics to README results table

saheb
f8db5ac6mo ago

refactor: transition moderation environment to active-post focus with failure tracking and update model benchmarks

saheb
62c8aca6mo ago

update content moderation datasets and increase max_steps in environment configuration

saheb
5b9bf136mo ago

feat: enhance inference engine with structured logging, conversation history, multi-stage JSON schema fallbacks, and global timeout management.

saheb
7a495436mo ago

feat: add .env support, improve rate-limit handling, and update configuration for flexible LLM provider integration

saheb
29dac116mo ago

Add uv.lock for reproducible builds

saheb
3f088436mo ago

Update Dockerfile and pyproject.toml to use app instance directly; enhance app initialization in server.py with readiness endpoint

saheb
40463876mo ago

Refactor app initialization to use factory pattern and update baseline script references

saheb
ceab3ec6mo ago

Add auto-sync workflow to HF Spaces

saheb
5f750906mo ago

Refactor app creation and improve comments for clarity

saheb
d3d9a516mo ago

Fix app instantiation for HF Spaces compatibility

saheb
10db3e86mo ago

Fix app factory and add health checks

saheb
7e455ba6mo ago

chore: update inference client base URL to localhost for local development

saheb
2a562826mo ago

chore: add 1.5s step delay to avoid Groq RateLimitError cascade

saheb
aae47ee6mo ago

Fix HF Load Balancer ping (Add GET / health check endpoint)

saheb