mirror of
https://github.com/TabbyML/tabby
synced 2024-11-23 10:05:08 +00:00
96cea7d112
* feat: prompt rewrite eval tool * chore: readme * chore: language * chore: resolve comments * chore: prefix generation * chore: clean * chore: dependency
610 B
610 B
Prompt rewriting evaluation tool
Install dependencies
pip install -r requirements.txt
Run backend rewriting script
-
tweak
eval.toml
- tabby binary path
- index repo url (the repo you want tabby to index from)
- sample repo url (the repo you want to generate completion requests from)
- language
- prompt count
-
run
python evaluation.py
Run dashboard to view prompts
streamlit run dashboard.py
- Tweak the slider bar to change how many recent prompts you want to review.
- Change the language to filter only the specific language you are interested in.