Skip to content

feat: add README publishing workflow - #4

Open
YOIMIYA66 wants to merge 3 commits into
liuyunlin:mainfrom
YOIMIYA66:feature/readme-publishing-workflow
Open

feat: add README publishing workflow#4
YOIMIYA66 wants to merge 3 commits into
liuyunlin:mainfrom
YOIMIYA66:feature/readme-publishing-workflow

Conversation

@YOIMIYA66

Copy link
Copy Markdown
Contributor

Summary

Adds a concrete README publishing workflow for AI Studio training runs.

  • Require dataset README generation/upload after dataset upload verification in SKILL.md
  • Replace the model README instructions with script-driven generation and API upload, avoiding tokens in Git URLs
  • Add train.py commands to generate dataset/model README files and push README.md to AI Studio Git repositories

Why

In the ERNIE medical-record SFT run, training artifacts were preserved but dataset/model README publishing did not happen automatically. The skill mentioned model cards in prose, but there was no script command for agents or notebooks to call, and dataset README publishing was not part of the upload gate.

Validation

  • python -m py_compile scripts\train.py
  • python scripts\train.py --help
  • python scripts\train.py --generate-dataset-readme <sample.jsonl> --train-data user/demo_dataset --train-file train.jsonl --out <temp README>
  • git diff --check (only existing LF/CRLF warnings on Windows)

@YOIMIYA66
YOIMIYA66 marked this pull request as ready for review May 20, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant