Skip to content

NPoe/input-optimization-nlp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
SRC
 
 
 
 

Interpretable Textual Neuron Representations for NLP

Data

We use the dataset from Chrupała, G., Gelderloos, L., & Alishahi, A. (2017). Representations of language in a model of visually grounded speech signal. ACL., which can be downloaded here.

Code

train.py

Trains a keras implementation of the GRU IMAGINET architecture from Kádár, A., Chrupała, G., & Alishahi, A. (2017). Representation of linguistic form and function in recurrent neural networks. Computational Linguistics..

optimize.py [search|embfree|logits|softmax|gumbel] [I|T]

Finds optimal n-gram for the image or text modality using the specified method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages