Git Product home page Git Product logo

regularized-embeddings's Introduction

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

Citing

Text

NOVOTNÝ, Vít, Eniafe Festus AYETIRAN, Michal ŠTEFÁNIK and Petr SOJKA. Text classification with word embedding regularization and soft similarity measure. New York, USA: Cornell University, 2020.

BibTeX

@misc{novotny2020text,
  title = {{Text classification with word embedding regularization and soft similarity measure}},
  author = {V\'{i}t Novotn\'{y} and Eniafe Festus Ayetiran and Michal \v{S}tef\'{a}nik and Petr Sojka},
  year = 2020,
  eprint = {2003.05019v1},
  archivePrefix = {arXiv},
  primaryClass = {cs.IR},
  url = {https://arxiv.org/abs/2003.05019v1},
}

regularized-embeddings's People

Contributors

witiko avatar

Stargazers

yhf avatar Hanying Wei avatar Racle avatar 方攀 avatar jerad fields avatar  avatar

Watchers

 avatar James Cloos avatar Michal Stefanik avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.