Coder Social home page Coder Social logo

llm4vis's Introduction

LLM4Vis

Code for Our EMNLP (Industry) 2023 paper "LLM4Vis: Explainable Visualization Recommendation using ChatGPT"

Run in-context learning for visualization recommendation.

Unzip the dataset file example2_nodiscrization_3.csv.zip.

Set an api-key of OpenAI API in the utils file.

openai.api_key = ""
openai.api_base = "" 

Since we have prepared all the relevant files, you can directly run the following command.

python final_run.py

Check our result log file (result_file.log) in the output directory.

Run to get relevant files.

Run the following command to get summary file

python feature_summary.py

Run the following command to get demonstration file, including the code for explanation generation bootstrapping.

python demo_prepare.py

Run the following command to get similarity file

python similarity.py

😸 Cite

If you find LLM4Vis useful for your research and applications, please kindly cite using this BibTeX:

@article{wang2023llm4vis,
  title={LLM4Vis: Explainable Visualization Recommendation using ChatGPT},
  author={Wang, Lei and Zhang, Songheng and Wang, Yun and Lim, Ee-Peng and Wang, Yong},
  journal={arXiv preprint arXiv:2310.07652},
  year={2023}
}

llm4vis's People

Contributors

demoleiwang avatar

Stargazers

ConanYao avatar Devansh Khandekar avatar  avatar  avatar Songheng (Alexander) Zhang avatar Xu Hong Bo avatar  avatar XiangyuYang avatar Yukai Guo avatar WANG Yong avatar  avatar Seongbum Seo avatar  avatar  avatar Kejie Zhao avatar Derrick Zhu avatar  avatar YingchaojieFeng avatar  avatar 唐国梁Tommy avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

mumudata tulip549

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.