File size: 958 Bytes
e2061b9
61d307b
 
 
 
e2061b9
 
2d77790
e8f7474
5563518
cfd6b27
 
 
 
 
e2061b9
61d307b
 
08dc5f2
61d307b
 
 
 
 
 
 
 
28de159
61d307b
 
 
2baeea3
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: Hexviz
emoji: 👁️🧬
colorFrom: green
colorTo: purple
sdk: streamlit
sdk_version: 1.17.0
python_version: 3.10.5
app_file: ./hexviz/🧬Attention_Visualization.py
pinned: true
tags:
  - protein language models
  - attention analysis
  - protein structure
  - biology
---
# hexviz
Visualize attention pattern on 3D protein structures

## Install and run

```shell
poetry install

poetry run streamlit run hexviz/streamlit/Attention_On_Structure.py
```

## Export dependecies from poetry
Spaces [require](https://huggingface.co/docs/hub/spaces-dependencies#adding-your-own-dependencies) dependencies in a `requirements.txt` file. Export depencies from poetry's `pyproject.toml` file with:
```shell
poetry export -f requirements.txt --output requirements.txt --without-hashes
```

## Acknowledgements
This project builds on the attention visualization introduced and developed in 
https://github.com/salesforce/provis#provis-attention-visualizer