Instructions to use mstrasser/jeff-adapter-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mstrasser/jeff-adapter-code with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download example.json from mstrasser/jeff-adapter-code: direct link, hf CLI and curl.
- Browser
- Download file 903 Bytes
-
https://huggingface.co/mstrasser/jeff-adapter-code/resolve/main/example.json
- Command line
-
hf download hf://mstrasser/jeff-adapter-code/example.json
-
curl -L -o example.json https://huggingface.co/mstrasser/jeff-adapter-code/resolve/main/example.json
903 Bytes
| { | |
| "model": "code", | |
| "state": { | |
| "task": "The unit tests in tests/test_parser.py fail after the last change. Find out why and fix it.", | |
| "recent_steps": "bash: python -m pytest tests/test_parser.py -q -> FAILED tests/test_parser.py::test_dates - AttributeError: 'NoneType' object has no attribute 'group' (src/parser.py:42)" | |
| }, | |
| "questions": { | |
| "tool": { | |
| "type": "choice", | |
| "instructions": "Gather what the coding model will need for its next step, and hand over as soon as more looking would not help. Which tool should run next?", | |
| "criteria": { | |
| "read": "Read: read a file, or a slice of it around a line named in an error", | |
| "search": "Search: search the code for a name or an error message", | |
| "check": "Check: see whether a program or package is installed", | |
| "hand_over": "Hand over: let the coding model take its turn" | |
| } | |
| } | |
| } | |
| } | |