GithubHelp home page GithubHelp logo

yangsuhui / domain_blse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jerbarnes/domain_blse

0.0 1.0 0.0 50.31 MB

Projecting Embeddings for Domain Adaptation: Joint Modeling of Sentiment in Diverse Domains

Python 63.83% MATLAB 5.18% HTML 20.54% Makefile 0.43% C 10.02%

domain_blse's Introduction

Projecting Embeddings for Domain Adaptation: Joint Modeling of Sentiment in Diverse Domains

This is the source code from the COLING paper:

Jeremy Barnes, Roman Klinger, and Sabine Schulde im Walde. 2018. Projecting Embeddings for Domain Adaptation: Joint Modeling of Sentiment in Diverse Domains. In Proceedings of COLING 2018 (to appear).

If you use the code for academic research, please cite the paper in question:

@inproceedings{Barnes2018domain,
    author={Barnes, Jeremy and Klinger, Roman and Schulte im Walde, Sabine},
    title={Projecting Embeddings for Domain Adaptation: Joint Modeling of Sentiment in Diverse Domains},
    booktitle = {Proceedings of COLING 2018, the 27th International Conference on Computational Linguistics},
    year = {2018},
    month = {August},
    address = {Santa Fe, USA},
    publisher = {Association for Computational Linguistics},
    language = {english}
    }

Requirements to run the experiments

Usage

First, clone the repo:

git clone https://github.com/jbarnesspain/domain_blse
cd blse

Then, get the embeddings, either by training your own, or by downloading the pretrained embeddings mentioned in the paper, and put them in the 'embeddings' directory:

Run the domain_blse script:

python3 BLSE_domain_all.py

Finally, you can use the blse.py script which will automatically use the best hyperparameters found.

python3 blse.py

License

Copyright (C) 2018, Jeremy Barnes

Licensed under the terms of the Creative Commons CC-BY public license

domain_blse's People

Contributors

jerbarnes avatar

Watchers

 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.