Giter Site home page Giter Site logo

qinghao-guan / 10dimensions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minjechoi/10dimensions

0.0 0.0 0.0 1.52 MB

Public repository containing the dataset and code for training the models in "Ten Social Dimensions of Conversations and Relationships" (WWW'20)

License: MIT License

Python 81.91% Jupyter Notebook 18.09%

10dimensions's Introduction

10dimensions

Public repository containing the dataset and code for training the models in "Ten Social Dimensions of Conversations and Relationships" (WWW'20) paper

Requirements for code

  • The requirements can be found here
  • Our LSTM models are based on pretrained GloVe word embeddings. Please refer to the instructions for setting the word embeddings here

Preprocessing dataset

  1. Run preprocess_data.py to transform the existing dataset in data/labeled-dataset.tsv to a BERT-friendly form

Using pretrained models

  • The instructions for downloading and using pretrained models can be found here
  • Once the pretrained weights are placed in the right directories, you can test the models on new sentences using the 'Test BERT' and 'Test LSTM' jupyter notebooks.

Training your own models

  • Run train_BERT.py or train_LSTM.py to train the model for each of the 10 dimensions. The dimensions can be modified in the main function.

Citation

If using the package for research purposes, please cite the following work.

@inproceedings{10.1145/3366423.3380224, author = {Choi, Minje and Aiello, Luca Maria and Varga, Kriszti'{a}n Zsolt and Quercia, Daniele}, title = {Ten Social Dimensions of Conversations and Relationships}, year = {2020}, isbn = {9781450370233}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, url = {https://doi.org/10.1145/3366423.3380224}, doi = {10.1145/3366423.3380224}, booktitle = {Proceedings of The Web Conference 2020}, pages = {1514โ€“1525}, numpages = {12}, keywords = {conversations, NLP, twitter, reddit, tinghy, enron, social relationships}, location = {Taipei, Taiwan}, series = {WWW โ€™20} }

10dimensions's People

Contributors

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