Run this model with HF Jobs

Run my-ai-stack/Stack-2-9-finetuned on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/my-ai-stack/Stack-2-9-finetuned. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/my-ai-stack/Stack-2-9-finetuned on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/my-ai-stack/Stack-2-9-finetuned. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/my-ai-stack/Stack-2-9-finetuned. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
walidsobhie-code commited on
Commit
b5998ff
·
1 Parent(s): b03a8a0

feat: add production infrastructure - CI/CD, Docker, code quality, and monitoring

Browse files

CI/CD:
- .github/workflows/ci.yml - Python lint + test workflow
- .github/workflows/benchmark.yml - Periodic benchmark workflow
- .github/ISSUE_TEMPLATE/ - Bug report + feature request templates

Docker:
- Dockerfile.gpu - Multi-stage NVIDIA GPU build
- docker-compose.gpu.yml - GPU deployment with healthcheck
- .dockerignore - Excludes training/model weights from build

Code Quality:
- pyproject.toml - Ruff, black, mypy, pytest configs
- .ruff.toml - Ruff linter rules
- Makefile - lint, format, test, check commands
- scripts/check_types.sh - Type checking runner

Data & Monitoring:
- scripts/augment_training_data.py - 2x-5x data augmentation
- scripts/validate_training_data.py - JSONL validation
- docs/DATA_FORMAT.md - Training data format docs
- .modelcard.yml - HuggingFace model card metadata
- MLproject - MLflow experiment tracking

18 files changed +1825 -135
Files changed (18)
.dockerignoreAdded+118
.github/ISSUE_TEMPLATE/bug_report.mdAdded+37
.github/ISSUE_TEMPLATE/feature_request.mdAdded+21
.github/workflows/benchmark.ymlAdded+163
.github/workflows/ci.yml+109-72
.modelcard.ymlAdded+106
.ruff.tomlAdded+31
Dockerfile.gpuAdded+107
MLprojectAdded+79
Makefile+33-5
docker-compose.gpu.ymlAdded+110
docs/DATA_FORMAT.mdAdded+174
evaluate_model.py+2-2
pyproject.toml+26-54
scripts/augment_training_data.pyAdded+324
scripts/check_types.shAdded+31
scripts/validate_training_data.pyAdded+352
test_model.py+2-2