Spaces:
Running
Download submit.md from Gladiator-codes/sinchan-env: direct link, hf CLI and curl.
- Browser
- Download file 10.2 kB
-
https://huggingface.co/spaces/Gladiator-codes/sinchan-env/resolve/main/submit.md
- Command line
-
hf download hf://spaces/Gladiator-codes/sinchan-env/submit.md
-
curl -L -o submit.md https://huggingface.co/spaces/Gladiator-codes/sinchan-env/resolve/main/submit.md
π FINAL SUBMISSION CHECKLIST
Generated from repository scan: openenv-sinchan-env @ E:\OprnEnvHackathon\sinchan_env. This file is listed in .gitignore and must not be committed.
0. OpenEnv (dependency version)
- Package:
openenv-core[core]>=0.2.3inpyproject.toml(latest pin declared in this repo: 0.2.3+; resolve exact installed build in your venv withpip show openenv-corebefore submitting). - Server integration:
openenv.core.env_server.http_server.create_appinserver/app.py. - Note:
server/requirements.txtstill has>=0.2.2β align to0.2.3in deploy if you use that file standalone.
1. π Hugging Face Space (Environment)
- URL (cards / Space page): https://huggingface.co/spaces/Gladiator-codes/sinchan-env
- URL (primary runtime UI β use for demos / best UX): https://gladiator-codes-sinchan-env.hf.space/play (β
/sinchan-ui/) - URL (Space root / other UIs): https://gladiator-codes-sinchan-env.hf.space/
- Status (checked 2026-04-26, automated GET):
- Health:
GET /healthβ 200 (body:{"status":"healthy"}β not"ok"; README is slightly out of date). - UI routes:
/playβ redirects (302) to/sinchan-ui/; final page 200. Both the redirect and the static UI work./sinchan-ui/β 200 (Crayon-style UI).
- Other:
/gradioβ 307 to/gradio/;/webβ 307 (OpenEnv web UI; follow in browser).
- Health:
- Checklist:
- Loads correctly (health + key routes respond)
- UI present (
/playβ/sinchan-ui/,/gradio,/web) - Environment runnable (server up; you must still click through UI for full manual QA)
β οΈ Note: The hackathon list calls out /play and /sinchan-ui: /play redirects to /sinchan-ui/ β both are valid; use either.
2. π§ͺ Training Notebook
- URL (submission notebook): https://colab.research.google.com/drive/1BF3I0M1Md2hG_rq7oldPVD-dJHsdLl0g?usp=sharing
- Platform: Colab (GitHub-mirror of the same project:
training/ShinChan_GRPO_Training.ipynbon the repo, if you need file identity). - Training stack: Hugging Face TRL
GRPOTrainerβtraining/train_sinchan.py(not Unsloth; Unsloth is optional per README only). - Checklist (not re-executed in this scan):
- Runs top-to-bottom
- Installs dependencies
- Connects to environment (
ENV_URL/ remote Space as configured in the notebook)
Fallback β lightweight run (β10 min, AMD Radeon 680M / tight laptop)
PyTorch on Windows + AMD iGPU often has no stable CUDA path; treat CPU as the safe default for a short real run (real env rollouts, real metrics.jsonl). If you have a working ROCm or DirectML setup, you may omit --use-cu and adjust.
PowerShell (repo root), with Space as env (or set ENV_URL to a local uv run server):
pip install -e ".[training]"
$env:ENV_URL = "https://gladiator-codes-sinchan-env.hf.space"
python training/train_sinchan.py `
--env-url $env:ENV_URL `
--model Qwen/Qwen3-0.6B `
--output-dir training/artifacts/fallback_lite `
--max-steps 12 `
--dataset-size 12 `
--num-generations 1 `
--max-completion-length 192 `
--grad-accum 1 `
--per-device-train-batch-size 1 `
--learning-rate 1e-5 `
--precision fp32 `
--use-cpu `
--seed 42
python training/plot_metrics.py --run-dir training/artifacts/fallback_lite --assets-dir assets
This is intentionally tiny (few steps, small dataset, 1 generation) so logs finish quickly; you still get non-placeholder metrics.jsonl and PNGs if plotting succeeds. If it still exceeds 10 minutes (slow network to the Space), point --env-url at a local server on 127.0.0.1 and re-run.
3. π Training Evidence
Reward curve
- Expected path (per README):
assets/reward_curve_total.png - Status in repo (scan): MISSING β the
assets/directory has onlyassets/README.md; noreward_curve_total.pngcommitted.
Loss curve
- Expected path (per README):
assets/loss_curve.png - Status in repo (scan): MISSING β not present.
Verification (requires you to add PNGs and/or link hosted copies)
- Rewards increase over time (inspect
metrics.jsonland/or plot) - Loss changes meaningfully
- Training is not static/fake (corroborate with
run_metadata.json,trainer_state.json, and non-constantmetrics.jsonllines)
Proof of real training (what reviewers should see): JSONL logs with step-to-step variation and metadata (timestamps, env URL) β not a single repeated scalar. Right now, committed artifacts are gitignored (training/artifacts/**); you must generate a run, plot, and add small PNGs to assets/ or provide public URLs to evidence hosted elsewhere (no large files in git).
4. π§ Training Quality Verdict
Honest statement: A real TRL+OpenEnv training path is implemented (train_sinchan.py, Colab, staged scripts). Curves on disk for submission are not present in this repository snapshot β so learning cannot be signed off from the repo alone until you add assets/reward_curve_total.png and assets/loss_curve.png (or equivalent public evidence).
5. π README Quality
- Problem clearly explained
- Environment explained
- Training process explained
- Results / evidence section (points to
assets/andeval_summary.json) - Links included:
- HF Space β yes (cards + runtime)
- Notebook β Colab
-
blog.mdβ Space URL + GitHubblog.md(after README update in this pass)
Gap: README says health returns "ok"; live Space returns "healthy" β minor inconsistency to fix for polish.
6. π Blog / Demo
Type: Blog (no YouTube)
URL (served on Space): https://gladiator-codes-sinchan-env.hf.space/blog.md
URL (source in this repo, must track
blog.mdin GitHub for reviewers): https://github.com/Sarthaks-24/sinchan_env/blob/main/blog.mdIf blog (hackathon rule): Points at structured write-up: repository
blog.md(same text served atGET /blog.mdon the Space; server prefers repo-rootblog.md).Checklist:
- Not a YouTube link
-
blog.mdcontent covers Problem / Environment / Training / Results / Why it matters
7. π¦ REPO CLEANLINESS
- No large model weights in tree (per README;
training/artifactsignored) -
trash/in.gitignore(folder may or may not exist) -
.gitignoreupdated β includessubmit.md - Broken scripts β not fully audited;
pytestsmoke 8 passed locally after blog route change
8. β FINAL VALIDATION (do manually before send)
- All links work in incognito / logged-out
- HF Space cold start waited out; UIs open
- Training evidence visible (PNG and/or public Hub paths)
- README scannable in < 3 min
π₯ FINAL SUBMISSION LINKS (COPY THIS)
| Item | URL |
|---|---|
| Hugging Face Space (cards / Hub page) | https://huggingface.co/spaces/Gladiator-codes/sinchan-env |
Hugging Face Space (primary UI β /play β crayon UI) |
https://gladiator-codes-sinchan-env.hf.space/play |
Hugging Face Space (root / alt UIs: /web, /gradio) |
https://gladiator-codes-sinchan-env.hf.space/ |
| Training notebook (Colab β submission copy) | https://colab.research.google.com/drive/1BF3I0M1Md2hG_rq7oldPVD-dJHsdLl0g?usp=sharing |
| Training notebook (repo file mirror) | https://github.com/Sarthaks-24/sinchan_env/blob/main/training/ShinChan_GRPO_Training.ipynb |
| Blog (served on Space) | https://gladiator-codes-sinchan-env.hf.space/blog.md |
Blog (source in GitHub β blog.md) |
https://github.com/Sarthaks-24/sinchan_env/blob/main/blog.md |
| Repository | https://github.com/Sarthaks-24/sinchan_env |
β οΈ MISSING / RISK ITEMS
assets/reward_curve_total.pngβ missing in repo.assets/loss_curve.pngβ missing in repo.- No committed
training/artifacts/**(by design in.gitignore); you must produce a run and either commit small PNG/JSON evidence or link external storage. - README vs live
/healthbody (okvshealthy) β inconsistency. server/requirements.txtvspyproject.tomlOpenEnv lower bound β version drift risk.- Colab βruns top-to-bottomβ β not re-verified in this pass.
π§ FINAL VERDICT
- CHOSEN: NEEDS FIXES β οΈ
Why: Public Space, notebook path, blog, OpenEnv+TRL wiring, and README are in good shape, but required training plots are not in the repository, so submission completeness for βevidence of trainingβ is not met until you add real curves (and ideally point to a real metrics.jsonl summary or hosted artifacts).
β‘ LAST ACTION PLAN (do these in order)
- Run a training job (Colab and/or the fallback command above) until
training/artifacts/<run>/metrics.jsonlexists and shows varying metrics. - Run
python training/plot_metrics.py --run-dir ... --assets-dir assetsand commit the small PNGs (assets/reward_curve_total.png,assets/loss_curve.png) if rules allow, or upload plots to a public URL and paste those links into the hackathon form + README. - Re-run
training/stage4_evaluate.py(if part of your story) and keepeval_summary.jsonevidence consistent with the READMEβs βBefore vs afterβ table. - In a private window, open Space, Colab, blog.md, and GitHub links from section 8.
- Optional polish: set README health example to
healthy; bumpopenenvinserver/requirements.txtto>=0.2.3. - Confirm
submit.mdis not tracked:git statusshould not list it; if it was ever added, rungit rm --cached submit.md. - Submit.
End of submit.md.