Git Product home page Git Product logo

bert_sarcasm_classification's Introduction

任务介绍:

文本二分类任务。对文档进行分类,判断是否属于讽刺

准备工作

需要下载BERT中文训练文件chinese_L-12_H-768_A-12

数据集介绍:

训练集:2119个样本(正例: 383, 负例: 1736)
测试集:903个样本(正例: 163, 负例: 740)

模型:

BERT作为特征提取,模型采用DNN. 直接运行model_train.py即可

模型效果:

在训练集的acc为0.9099,在测试集上的acc为0.8427

bert_sarcasm_classification's People

Contributors

obitoqiu avatar jclian91 avatar

Stargazers

 avatar 032004117李征涛 avatar

Watchers

 avatar

Forkers

onej0213

bert_sarcasm_classification's Issues

训练样本

您好,想请问下要用这个模型去识别讽刺言论,本质上还是使用中文版BERT,然后自己去标注一些数据,应用到自己的研究场景就可以吧

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.