Coder Social home page Coder Social logo

jack960317 / sentiment-analysis-chinese-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ligouhai-bigone/sentiment-analysis-chinese-pytorch

0.0 0.0 0.0 3.65 MB

Sentiment Analysis-Pytorch(情感分析的Pytorch实现)

License: MIT License

Python 100.00%

sentiment-analysis-chinese-pytorch's Introduction

Chineses-Sentiment Analysis-Pytorch

中文情感分析的Pytorch实现

**本项目使用了word2vec的中文预训练向量

**模型分别有BiLSTM-attention和普通的LSTM两种,自行选择

使用说明:

1、在Config中配置相关参数

2、然后运行DataProcess.py,生成相应的word2id,word2vec等文件

3、运行主函数main.py,得到训练好的模型,并保存模型

4、运行eval.py,读取模型,并得到评价

5、模型准确率平均85%左右

原创不易,如果好用请给个Star,谢谢了 ——作者:李狗嗨

引用请标明出处,谢谢。作者:李狗嗨

sentiment-analysis-chinese-pytorch's People

Contributors

ligouhai-bigone 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.