Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

Regularized Word Embeddings in Text Classification

Use Python 3.4+ with Pip to install the required Python packages:

pip install -r requirements.txt

Reproducing Our Results

To reproduce our results, you can download all the datasets and corpora, produce Word2Vec models and similarity matrices, and perform the evaluation. Alternatively, you can download and visualize our result files.

Performing Your Own Evaluation

To perform your own evaluation, you will require the following additional tools: GNU Make, Perl 5, GNU Parallel, GNU Wget, Unzip, XZ Utils, GNU Coreutils, and Moreutils. Execute the following command:

dvc repro results.dvc

Open the Jupyter notebook with the experimental code to see the results:

jupyter-notebook classification.ipynb

Downloading and Visualizing Our Results

To download our results, execute the following command:

dvc pull results.dvc

Open the Jupyter notebook with the experimental code to see the results:

jupyter-notebook classification.ipynb

About

Experimental code for the “Text classification with word embedding regularization and soft similarity measure” (Novotný et al., 2020) paper

Resources

License

Releases

No releases published

Packages

No packages published