jiesutd/Text-Attention-Heatmap-Visualization
소개
텍스트 어텐션을 시각화하는 벡터 그래프를 그립니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTAHV:Text Attention Heatmap Visualization
This repository provides a simple visualization tool for the attention based NLP tasks.
Many attention based NLP tasks visualize the text with attention weights as background. This code takes word list and the corresponding weights as input and generate the Latex code to visualize the attention based text. The Latex code will generates a standalone .pdf visulization file. Users can use this .pdf visulization file as vector diagram to demonstrate the attention ability of the model in their papers/slides/demos.
Usage
It is very simple to use this code. Feed the word list and weight list in function generate with output Latex file directory and color configuration. The Latex file will be generated. Then compile the Latex file, the .pdf file will be generated.
- Notice the weight range: [0-100]



Citation:
This repository will be part of new NCRF++. Please cite our ACL demo paper if you use this code.
@inproceedings{yang2018ncrf,
title={NCRF++: An Open-source Neural Sequence Labeling Toolkit},
author={Yang, Jie and Zhang, Yue},
booktitle={Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics},
Url = {http://aclweb.org/anthology/P18-4013},
year={2018}
}
Update
- 2019-Apr-12, support Chinese
- 2019-Apr-01, init version
관련 프로젝트 살펴보기
불러오는 중…