├── .gitignore ├── README.md ├── dataset_sheet.pdf ├── plot2code ├── __init__.py ├── eval │ ├── __int__.py │ ├── combine_evaluation_results.py │ ├── gpt4v_evaluate_pairs.py │ ├── gpt4v_evaluations_score.py │ └── text_match_score.py ├── execute_generated_code.py ├── gpt4v_generate_code.py ├── llm_generate_code.py └── utils.py ├── requirements.txt └── scripts ├── evaluate-instruct.sh ├── evaluate.sh └── generate_code.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/README.md -------------------------------------------------------------------------------- /dataset_sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/dataset_sheet.pdf -------------------------------------------------------------------------------- /plot2code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plot2code/eval/__int__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /plot2code/eval/combine_evaluation_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/eval/combine_evaluation_results.py -------------------------------------------------------------------------------- /plot2code/eval/gpt4v_evaluate_pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/eval/gpt4v_evaluate_pairs.py -------------------------------------------------------------------------------- /plot2code/eval/gpt4v_evaluations_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/eval/gpt4v_evaluations_score.py -------------------------------------------------------------------------------- /plot2code/eval/text_match_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/eval/text_match_score.py -------------------------------------------------------------------------------- /plot2code/execute_generated_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/execute_generated_code.py -------------------------------------------------------------------------------- /plot2code/gpt4v_generate_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/gpt4v_generate_code.py -------------------------------------------------------------------------------- /plot2code/llm_generate_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/llm_generate_code.py -------------------------------------------------------------------------------- /plot2code/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/plot2code/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | matplotlib==3.8.4 2 | Levenshtein 3 | NumPy 4 | Pillow 5 | openai -------------------------------------------------------------------------------- /scripts/evaluate-instruct.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/scripts/evaluate-instruct.sh -------------------------------------------------------------------------------- /scripts/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/scripts/evaluate.sh -------------------------------------------------------------------------------- /scripts/generate_code.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentARC/Plot2Code/HEAD/scripts/generate_code.sh --------------------------------------------------------------------------------