百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

FlowQA

> 编程语言
开源

对话式问答模型的实现: FlowQA(略有改进)

196 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

对话式问答模型的实现: FlowQA(略有改进)

FlowQA

This is our first attempt to make state-of-the-art single-turn QA models conversational. Feel free to build on top of our code to build an even stronger conversational QA model.

For more details, please see: FlowQA: Grasping Flow in History for Conversational Machine Comprehension

Step 1:

perform the following:

bash
pip install -r requirements.txt

to install all dependent python packages.

Step 2:

download necessary files using:

bash
./download.sh

Step 3:

preprocess the data files using:

bash
python preprocess_QuAC.py
python preprocess_CoQA.py

Step 4:

run the training code using:

bash
python train_QuAC.py
python train_CoQA.py

For naming the output model, you can do

bash
python train_OOOO.py --name XXX

Remove any answer marking by:

bash
python train_OOOO.py --explicit_dialog_ctx 0

OOOO is the name of the dataset (QuAC or CoQA).

Step 5:

Do prediction with answer thresholding using

bash
python predict_OOOO.py -m models_XXX/best_model.pt --show SS

XXX is the name you used during train.py.
SS is the number of dialog examples to be shown.
OOOO is the name of the dataset (QuAC or CoQA).

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonnlppytorchquestion-answering

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言