An open API service indexing awesome lists of open source software.

https://github.com/hengluchang/visualizing_contextual_vectors

Visualizing ELMo Contextual Vectors for Word Sense Disambiguation
https://github.com/hengluchang/visualizing_contextual_vectors

elmo machine-learning nlp python visualization

Last synced: 8 months ago
JSON representation

Visualizing ELMo Contextual Vectors for Word Sense Disambiguation

Awesome Lists containing this project

README

          

# visualizing_contextual_vectors
Visualizing ELMo Contextual Vectors for Word Sense Disambiguation. Check out the medium blog post [here](https://towardsdatascience.com/visualizing-elmo-contextual-vectors-94168768fdaa)!

# Pre-reqs
Python 3.6

# How to install
```pip install -r requirements.txt```

# How to run
`python elmo_vis.py` to visualize elmo contextual vectors of three words - bank, work, and plant.

# References
- [Deep contextualized word representations](https://arxiv.org/pdf/1802.05365.pdf)
- [Allen NLP readme for ELMo](https://github.com/allenai/allennlp/blob/master/tutorials/how_to/elmo.md)