We provide the inference demo script for Magicoder models.
- According to the instructions of README, install the environment.
- Install these packages:
pip install fire==0.5.0
pip install gradio==3.46.0
- Run the command:
CUDA_VISIBLE_DEVICES=0 python magicoder_demo.py \
--base_model "ise-uiuc/Magicoder-S-DS-6.7B" \
--device "cuda:0" \
--port 8080