Coder Social home page Coder Social logo

arrowluo / grace Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 9.0 1.06 MB

The impletation of paper titled GRACE: Gradient Harmonized and Cascaded Labeling for Aspect-based Sentiment Analysis

Home Page: https://arxiv.org/abs/2009.10557

License: Apache License 2.0

Python 100.00%
aspect-based-sentiment-analysis aspect-sentiment-classification aspect-term-extraction opinion-target-extraction sentiment-analysis

grace's People

Contributors

arrowluo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grace's Issues

复现效果问题

您好,参照您的readme参数设置复现三种情况中的结果,但是发现加上VAT之后效果反而变差了,并且其余结果也均比论文中的效果低,请问是为什么呢?readme里面的参数有需要调整的吗?谢谢。

关于pretrainedmodel问题

您好,我在您代码的基础上在bertSequenceLabeling的基础上init初始化的时候添加了层,发现即使forward中不使用效果也会变差,请问这个load原始模型的过程是哪里需要修改吗?添加新的层是会影响其它层load的参数吗?不是太理解,期待回复,谢谢

how to generate training data set in the given format

Hi

Thank you for good repo, I want train this model on completely new domain dataset, I have review comment, its aspects and polarity respectively. How do i generate the training and eval data set to use these models.

Token, POS, CHUNCK, Term Label, Sentiment Label, Collapsed Label

I could think of using spacy get token, pos and noun-chunks and sentiment label is what aspect sentiment, but what is term label, how can get this, my understanding is collapsed label - term label + sentiment label

Script for prediction from pretrained model

Hi @ArrowLuo
Thanks for the implementation and I was able to run it successfully on the latest pytorch version (built from source), in order to use cuda 11.2.. and was able to replicate your paper results.

However I'm trying to create a script to use the trained model and make predictions only. Was wondering if you had some script or code that could help, as I was going through the code to patch together something..
Cheers.

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.