GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Mywayking/XF2019_APP_Classify: 讯飞大数据应用分类标注挑战赛深度学习模型Baseline

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pre_classify.py
pre_classify.py
 
 
xf_bert_v2.py
xf_bert_v2.py
 
 
xunfei_classify.py
xunfei_classify.py
 
 

Repository files navigation

大数据应用分类标注挑战赛深度学习模型Baseline

两个模型随便使用。

比赛链接:

  • http://challenge.xfyun.cn/2019/gamedetail?type=detail/classifyApp

keras模型训练方式

使用bert提取特征,Bidirectional 训练模型,可以达到 74.39565。需要一定的内存。

pip install keras
pip install keras_bert

# 指定数据目录,
data_dir = './data/'
# 将bert预训练数据放到改目录
# https://storage.googleapis.com/bert_models/2018_11_03/chinese_L-12_H-768_A-12.zip
BERT_PRETRAINED_DIR = './chinese_L-12_H-768_A-12/'
# 运行
python3 xf_bert_v2.py

kears TextCNN 模型使用方式

  • 下载好数据存放/data文件夹下,创建data/xfyun文件夹
  • 数据预处理生成数据集python xunfei/pre_classify.py
  • 训练模型python xunfei_classify.py -d ./data/xfyun -n xunfei -m train
  • 预测模型python xunfei_classify.py -d ./data/xfyun -n xunfei -m predict

参考资料

  • tokenizer
  • 模型结构

@Galen20190717

About

讯飞大数据应用分类标注挑战赛深度学习模型Baseline

Resources

Readme
Activity

Stars

11 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.