8000 GitHub - yuyumi/LangVis: CS 279R Final Project
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yuyumi/LangVis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangVis

CS 279R Final Project

demo

To install the dependencies, first run pip install -e . then run pip install captum, pip install Flask and pip install Flask-SQLAlchemy.

Alternatively, try conda env create --name envname --file=environment.yml file if you have anaconda installed.

Run python app.py to open the application.

Write your prompt on the left panel, and hit generate button.

Hover your mouse on a generated word in the right panel to visualize its saliency map (redder color means more significant words in term of gradient-based saliency).

The hovered word is highlighted in green.

Click on a word to see the other token that the word pays the most attention to (highlighted by a blue border).

About

CS 279R Final Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0