Skip to content

A visual interface for understanding and interpreting Transformers

Notifications You must be signed in to change notification settings

yizhe-ang/interactive-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

The Interactive Transformer

🚧 work in progress 🚧

interactive_transformer_demo.mp4

Setup

git clone https://github.com/yizhe-ang/interactive-transformer.git

Launch Backend

cd python

Install Python environment

poetry install

For non-CUDA CPU version, additionally run:

poetry source add -p explicit pytorch https://download.pytorch.org/whl/cpu
poetry add --source pytorch torch torchvision

Launch the backend server

poetry shell

uvicorn main:app --reload

Launch Application

cd svelte

Install dependencies

npm install --force

Launch application

npm run dev

The application will run by default on http://localhost:5173/

About

A visual interface for understanding and interpreting Transformers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published