Instructions to use mstrasser/jeff-adapter-code-router with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mstrasser/jeff-adapter-code-router with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download example.json from mstrasser/jeff-adapter-code-router: direct link, hf CLI and curl.
- Browser
- Download file 722 Bytes
-
https://huggingface.co/mstrasser/jeff-adapter-code-router/resolve/main/example.json
- Command line
-
hf download hf://mstrasser/jeff-adapter-code-router/example.json
-
curl -L -o example.json https://huggingface.co/mstrasser/jeff-adapter-code-router/resolve/main/example.json
722 Bytes
| { | |
| "model": "code-router", | |
| "state": { | |
| "task": "The unit tests in tests/test_parser.py fail after the last change. Find out why and fix it.", | |
| "recent_steps": "bash: sed -n 30,60p src/parser.py -> (the date-parsing function, with a regular expression that no longer matches two-digit years)" | |
| }, | |
| "questions": { | |
| "thinking": { | |
| "type": "choice", | |
| "instructions": "How hard should the coding model think before its next turn?", | |
| "criteria": { | |
| "off": "Off: the next step is routine; answer without thinking", | |
| "low": "Low: think briefly", | |
| "medium": "Medium: think the step through", | |
| "xhigh": "Extra high: the next step needs careful reasoning" | |
| } | |
| } | |
| } | |
| } | |