floread

Python 2025-07-26

floread

基于情绪分析的E-书籍音乐推荐服务

贡献者

AHN GEUN -WOO kang在-woo中Yeomjinbong Lee Seok -bum
Kgeunwo77 Kiw331 Jinbong-Yeom Stonetiger0912

如何使用

  • 后端

    floread ./gradlew build //백그라운드 실행할경우 nohup java -jar floread -0.0.1-SNAPSHOT.jar & //그냥 실행할 경우 java -jar floread -0.0.1-SNAPSHOT.jar">
      cd ./ floread
      ./gradlew build
      //백그라운드 실행할경우
      nohup java -jar floread -0.0.1-SNAPSHOT.jar &
      //그냥 실행할 경우
      java -jar floread -0.0.1-SNAPSHOT.jar
    
  • 卡夫卡

     //다른 환경에서 실행할 경우 환경변수 설정 후
    cd kafka_path
    bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
    bin/kafka-server-start.sh  -daemon config/server.properties
    
  • 前端

    floread/frontend/todo-react-app sudo npm run dev">
      cd ./ floread /frontend/todo-react-app
      sudo npm run dev
    
  • 模型

要求

  • Kobert要求(拥抱面)
  Python >= 3.6
  PyTorch >= 1.8.1
  transformers >= 4.8.2
  sentencepiece >= 0.1.91
  • 学习和运行本地
    ve_kobert.ipynb

情感分析模型

数据:提供的AI-HUB

  • 情绪对话
  • 包含韩国评估信息的无远的对话数据集
  • 连续对话数据集包含韩国评估信息

*学习数据处理课程: EDA和预处理

表现

模型学习数据ACC尺寸(MB)笔记
Kobert-V9组合数据集-V5 0.702 351.81
Kobert-V6组合数据集-V3 0.694 351.79
KCELECTRA-V3组合数据集-V2 0.679 416.25
Kobert-V4组合数据集-V2 0.681 351.79
Kclectra-V2组合数据集0.681 416.25
KCELECTRA-V1情绪对话0.584 -
Koelectra-V1组合数据集0.601 -
Kobert-V3组合数据集0.674 351.79
Kobert-V2单个对话数据集0.545 351.79
Kobert-V1情绪对话0.591 351.79

*通过将测试数据集分为4:1来衡量精度。
*可以在train_[모델이름].ipynb


执照

floread Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.">
 The MIT License (MIT)

Copyright (c) 2023 floread

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

参考

  • 科伯特
  • Koelectra
  • 克莱克特拉
下载源码

通过命令行克隆项目:

git clone https://github.com/Bongwoo2lee/floread.git