GithubHelp home page GithubHelp logo

gck15 / faq-question-answer-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seanzhang-zhichen/faq-question-answer-system

0.0 0.0 0.0 51 KB

基于深度学习的FAQ式问答系统

Python 100.00%

faq-question-answer-system's Introduction

FAQ-question-answer-system

基于深度学习的FAQ式问答系统

所有数据集均在data文件夹里,由于数据量太大,无法上传至git

数据集百度云链接为:

链接:https://pan.baidu.com/s/1Wdi4-WKLBW4WXeGf8UnZQQ 提取码:uivj

整个项目结构如下: │ bert_model.py │ bm25.py │ business.py │ config.py │ config_distil.py │ data.py │ data_gen.py │ deep_match_qa.py │ hnsw_faiss.py │ matchnn.py │ matchnn_utils.py │ predict.py │ preprocessor.py │ ranker.py │ seq2seq.py │ similarity.py │ task.py │ test.py │ tokenizer.py │ tools.py │ train.py │ train_LM.py │ train_matchnn.py │ word2vec.py

├─data │ │ chat.txt │ │ dev.csv │ │ stopwords.txt │ │ test.csv │ │ train_no_blank.csv │ │ ware.txt │ │
│ ├─generative │ │ dev.tsv │ │ LCCC-base_test.json │ │ LCCC-base_train.json │ │ LCCC-base_valid.json │ │ test.tsv │ │ train.tsv │ │
│ ├─intention │ │ business.test │ │ business.train │ │ key_word.txt │ │
│ └─ranking │ dev.tsv │ test.tsv │ train.tsv │
├─lib │ └─bert │ config.json │ pytorch_model.bin │ vocab.txt │
├─log │

├─model │ ├─generative │ │
│ ├─intention │ │
│ ├─ranking │ │
│ └─retrieval │
├─result │

python deep_match_qa.py执行

项目结构在线看如果比较乱的话,可以把代码拉到本地用typora查看

faq-question-answer-system's People

Contributors

seanzhang-zhichen 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.