Git Product home page Git Product logo

vgupta123 / contextualize_scdv Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 5.55 MB

Unsupervised Contextualized Document Representation, to appear in SustaiNLP 2021 EMNLP 2021

Home Page: https://arxiv.org/pdf/2109.10509.pdf

License: Apache License 2.0

Python 98.98% Perl 1.02%
text-classification scdv bert multi-sense-embeddings word-sense-disambiguation multi-class-classification multi-label-classification low-resource-nlp few-shot-learning sparse-document-vectors

contextualize_scdv's Introduction

Unsupervised Contextualized Document Representation

Introduction

  • For text classification and information retrieval tasks, text data has to be represented as a fixed dimension vector.
  • We propose simple feature construction technique named Unsupervised Contextualized Document Representation that peforms Word Sense Disambiguation and usues contextualization power of BERT and SCDV.
  • We demonstrate our method through experiments on multi-class classification ( Fully Supervised and Semi-Supervised Setthing ), Similarity Tasks & Concept Matching Tasks.

Citation

If you find SCDV useful in your research, please consider citing:

@misc{gupta2021unsupervised,
      title={Unsupervised Contextualized Document Representation}, 
      author={Ankur Gupta and Vivek Gupta},
      year={2021},
      eprint={2109.10509},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Testing

Please refer to folders classification, STS & Concept_Match which contains script and data related to experiments.

Requirements

Minimum requirements:

  • Python 3.7
  • NumPy 1.17.2
  • Scikit-learn 0.23.1
  • Pandas 0.25.1
  • Gensim 3.8.1
  • sgmllib3k
  • flair 0.9

For theory and explanation of this work, please visit our SustaiNLP paper

contextualize_scdv's People

Contributors

ankugupt avatar vgupta123 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.