This project is developed based Lexecutor, so we strongly recommend to read the document of Lexecutor first.
python -m SelfDyCo.Instrument --files test.py --iids iids.json
- change the base LLM in
Runtime.py
- Using your own Openai API key in
SelfPiCo/pedictor/GPT/ValuePrediector.py
andSelfPiCo/pedictor/GPT/TypePrediector.py
Direct execute the instrumented partial code
python -m SelfDyCo.Instrument --files test.py --iids iids.json
- Collect the variable type data by Lexecutor
- Running SelfPiCo/pedictor/CodeLLama/PrepareData.py
- Running SelfPiCo/pedictor/CodeLLama/FineTune.py
- start up the model
python -m SelfDyCo.predictor.CodeLLama.CodellamaServer
- Direct execute the instrumented partial code