Spaces:
Sleeping
Sleeping
Commit History
-
Drop GRPO temp to 0.3, bump max_new_tokens to 2048, add inference smoke test
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>576dfc3 -
Add inference-time retry loop with feedback for self-correction
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>10feced -
Add in-context demonstration learning support
Mines GOOD/BAD pytest demonstrations per library (validated by pytest on clean source) and adds --use-demonstrations to zero_shot_distribution.py that splices the demos into each prompt after the source code and before the task instruction, capped at 4000 chars. Includes a self-contained HF Job script that gates demo injection on USE_DEMONSTRATIONS=1. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>968797f -
Fix make_plots.py to accept --wandb-run-id separately from --training-log-json
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>640263f -
pytorch fixes
fe6913c -
no unsloth
361a1fc -
Retry torch.cuda.is_available() in fresh python procs; NVML ready != cuInit ready
27e2f37 -
Rewrite run_hf_job_7b.sh end-to-end: nvidia-smi GPU poll, clean phase structure
8e61ac4 -
Drop venv approach; force-reinstall torch stack over base image to actually upgrade past 2.5.1
1110d0a -
Phase 0: build fresh venv + restore CUDA poll + restore upfront huggingface_hub install
c4df898 -
Install torchaudio alongside torch/torchvision to clear pinned-base-image conflict
7ab4e76 -
Drop version pins on training extras and torch/torchvision install
241a3bd -
Hard reset HF Job env: install torch+torchvision together at fixed versions
bd78955 -
Upgrade torchvision/torchaudio alongside torch to fix nms op registration
94a6b52 -
Upgrade torch to 2.5+ in Phase 0; pin trl>=0.14 for GRPOTrainer
ce6481e -
Make 7B HF Job Phase 0 resilient: poll for CUDA readiness, install hf_hub up front for trap
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>27a9b93 -
Use --env instead of --secrets KEY=VALUE for WANDB_API_KEY
The --secrets KEY=VALUE form is not propagating into the container env in the current hf CLI version (only the bare --secrets HF_TOKEN auto-inject works). Switch WANDB_API_KEY to --env so it reliably reaches the container. Tradeoff: value is plaintext in the job UI. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>571af06 -
Fix wandb login in 7B HF Job: verify env var present, use CLI not Python API
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>cb93805 -
Add 7B variant of HF Job for stronger cold-start.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>f249cf5 -
Add reduced-scope HF Job variant for time-constrained scenarios
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>51e8315
-
Switch HF Job base image to pytorch:2.5.1-cuda12.4 to fix CUDA13 ABI bleed
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>12ecfb5 -
Fix torch/torchvision ABI mismatch in HF Job Phase 0
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>efb52e5 -
Fix GitHub username in HF Job scripts: jester1177 -> melohub-xbit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>082986e -
Fix submit_hf_job.sh syntax: image as positional arg
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>900c737 -
Pre-submission HF Job patches: Python version compat + skip torch reinstall
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>b5d30d0 -
Add HF Job training pipeline: persistence-aware run script, judge-facing demo notebook, baseline JSON output
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>e01ee6d -
Re-apply training prep work on top of validated Layers 1-5 base
Preserved from the Space-debug branch (backup/space-debug-20260426-0215): - training/prompts.py — class-shaped few-shot + positively-phrased system prompt (replaces the function-only examples that were causing few-shot pollution and the negation-list that was triggering forbidden-import output on small models). - training/train_grpo.py — wires SYSTEM_PROMPT and render_few_shot from training.prompts; build_prompt now injects rendered few-shots before the live task. - src/mutant_hunter/corpus/baselines.py — summarize_module now walks class bodies and emits public methods, properties, and dunders with type annotations and defaults, so the policy can use __contains__ via `in`, __len__ via `len()`, and properties as attribute access without guessing the API. - src/mutant_hunter/corpus/_baselines/*.json — regenerated to reflect the richer module_summary. Mutation scores are unchanged. - scripts/probe_summary_richness.py — local CPU diagnostic for prompt regressions; us…1b83cd4 -
Initial commit: MutantHunter — RL env for mutation-score-rewarded test generation
91487c9