Instructions to use hbin0701/opsd-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hbin0701/opsd-lora with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download configs/variants/p5_wrapper/utils.py from hbin0701/opsd-lora: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/hbin0701/opsd-lora/resolve/main/configs/variants/p5_wrapper/utils.py
- Command line
-
hf download hf://hbin0701/opsd-lora/configs/variants/p5_wrapper/utils.py
-
curl -L -o utils.py https://huggingface.co/hbin0701/opsd-lora/resolve/main/configs/variants/p5_wrapper/utils.py
490 Bytes
| from agents.variants.base import TeacherVariant | |
| class P5(TeacherVariant): | |
| """Wrapper edit (off-axis multiplier): P1's strategy, but the teacher wrapper drops | |
| the inherited anti-copy line — the reactive arm WANTS the teacher to follow r. The | |
| reactive teacher_user lives in this folder's prompts.yaml, so build_ctx picks it up | |
| with no code change.""" | |
| name = "p5_wrapper" | |
| description = "P1 strategy + reactive teacher wrapper (no anti-copy framing)" | |
| VARIANT = P5 | |