tonychenxyz / selfie

This repository contains the code and data for the paper "SelfIE: Self-Interpretation of Large Language Model Embeddings" by Haozhe Chen, Carl Vondrick, and Chengzhi Mao.
29 stars 2 forks source link

How is Figure 3 in the paper plotted #2

Open WYT8506 opened 4 months ago

WYT8506 commented 4 months ago

I really like your paper. Figure 3 presents information remarkably well, and I'm interested in how it was created. Specifically, I'd love to know which tool you used to highlight words in a sentence with their relevance scores. Thanks!

tonychenxyz commented 4 months ago

Thanks very much! I'm glad you liked our paper! For figure 3, we first used python to generate HTML code for highlight and then copied and paste the rendered HTML to Apple Keynotes to organize into the entire diagram.