Giter Club home page Giter Club logo

emotionflow's Introduction

EmotionFlow


Source code for ICASSP2022 paper: EmotionFlow: Capture the Dialogue Level Emotion Transitions

Required Packages:


transformers=4.14.1

torch=1.8

vocab=0.0.5

numpy

tqdm

sklearn

pickle

pandas

Quick start:


download MELD dataset from https://github.com/declare-lab/MELD/ and save to ./MELD

Training


python train.py -tr -wp 0 -bsz 1 -acc_step 8 -lr 1e-4 -ptmlr 1e-5 -dpt 0.3 -bert_path roberta-[base, large] -epochs [20, 5]

Evaluation


python train.py -te -ft -bsz 1 -dpt 0.3 -bert_path roberta-[base, large]

Results


model weighted-F1 Checkpoint
EmotionFlow-roberta-base 65.05 roberta-base-meld.pkl
EmotionFlow-roberta-large 66.50 roberta-large-meld.pkl

Checkpoints are produced on a single V100 GPU.

emotionflow's People

Contributors

fpcsong avatar

Stargazers

iaamlele avatar Rainylt avatar minimindy avatar AN Jinmyeong avatar zzzzd avatar  avatar Elliot avatar Aleksey Tikhonov avatar kiki avatar aidenfaustine avatar Diki Hamdani avatar  avatar  avatar Kunat Pipatanakul avatar TheDetective avatar cin-hubert avatar cloudWL avatar Matthew Drago avatar Dennis Richardson avatar Xu Chen avatar  avatar Minh-Son Cao avatar Proto avatar lightslife avatar Danrui Qi avatar

Watchers

 avatar

emotionflow's Issues

HI~ I have a train.py question

I type this command

python train.py -tr -wp 0 -bsz 1 -acc_step 8 -lr 1e-4 -ptmlr 1e-5 -dpt 0.3 -bert_path roberta-[base, large] -epochs [20, 5]

it replys train.py: error: argument -epochs/--epochs: invalid int value: '[20,'

How to solve the question ?

Thanks .

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.