All Projects → jiesutd → Text Attention Heatmap Visualization

jiesutd / Text Attention Heatmap Visualization

Plot the vector graph of attention based text visualisation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Text Attention Heatmap Visualization

Vue Calendar Heatmap
A lightweight calendar heatmap Vuejs component built on SVG, inspired by github's contribution calendar graph
Stars: ✭ 120 (-33.7%)
Mutual labels:  heatmap
Imgaug
Image augmentation for machine learning experiments.
Stars: ✭ 12,107 (+6588.95%)
Mutual labels:  heatmap
Macterm
Terminal emulator for macOS with 24-bit color, bitmap and vector graphics.
Stars: ✭ 162 (-10.5%)
Mutual labels:  vector-graphics
Rad Lines
Beautiful Vector Generator Tool
Stars: ✭ 121 (-33.15%)
Mutual labels:  vector-graphics
Leaflet Webgl Heatmap
Leaflet plugin for @pyalot's webgl heatmap library.
Stars: ✭ 134 (-25.97%)
Mutual labels:  heatmap
Geo Heatmap
🗺️ Generate an interactive geo heatmap from your Google location data
Stars: ✭ 1,861 (+928.18%)
Mutual labels:  heatmap
Vectorifydahome
📱 Minimal app to apply wallpapers from a vast (400+) collection of vector graphics 🙃
Stars: ✭ 119 (-34.25%)
Mutual labels:  vector-graphics
Calendar Heatmap
📊 Calendar heatmap graph
Stars: ✭ 170 (-6.08%)
Mutual labels:  heatmap
Dvisvgm
A fast DVI, EPS, and PDF to SVG converter
Stars: ✭ 134 (-25.97%)
Mutual labels:  vector-graphics
Method Draw
Method Draw, the SVG Editor for Method of Action
Stars: ✭ 2,109 (+1065.19%)
Mutual labels:  vector-graphics
React Leaflet Heatmap Layer
A custom layer for heatmaps in react-leaflet
Stars: ✭ 122 (-32.6%)
Mutual labels:  heatmap
Ragg
Graphic Devices Based on AGG
Stars: ✭ 127 (-29.83%)
Mutual labels:  vector-graphics
Tidyheatmap
Draw heatmap simply using a tidy data frame
Stars: ✭ 151 (-16.57%)
Mutual labels:  heatmap
Pixelfarm
From Vectors to (sub) Pixels, C# 2D Rendering Library
Stars: ✭ 120 (-33.7%)
Mutual labels:  vector-graphics
Calendar Heatmap
A d3 heatmap for representing time series data similar to github's contribution chart
Stars: ✭ 1,985 (+996.69%)
Mutual labels:  heatmap
Svg
Composer and parser for SVG
Stars: ✭ 119 (-34.25%)
Mutual labels:  vector-graphics
Svglib
Read SVG files and convert them to other formats.
Stars: ✭ 139 (-23.2%)
Mutual labels:  vector-graphics
Psvg
Programmable Scalable Vector Graphics -- drawings that draw themselves
Stars: ✭ 177 (-2.21%)
Mutual labels:  vector-graphics
Gerbolyze
Render high-resolution bitmap images to PCB gerber files
Stars: ✭ 169 (-6.63%)
Mutual labels:  vector-graphics
Tangram
WebGL map rendering engine for creative cartography
Stars: ✭ 1,964 (+985.08%)
Mutual labels:  vector-graphics

TAHV: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]

alt text

alt text

alt text

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].