Comments (4)
@TianZhenGG ,用ernie做问答系统的话,预测时同时输入问题和答案,根据预测结果的接近程度来选择问题的答案。
例如有问题a和候选答案[a1, a2, a3],预测时依次预测[a, a1]、[a, a2]、[a, a3]的结果,选择预测结果最接近1的作为答案
from paddlehub.
from paddlehub.
可以参考release/v1.0.0分支下demo/qa_classification。
from paddlehub.
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.0.0/demo/qa_classification
from paddlehub.
Related Issues (20)
- bug::AttributeError: module 'paddle' has no attribute 'version' HOT 1
- PaddleHub有效版本 HOT 3
- 多模型串联部署启动后如何调用 HOT 1
- face_landmark_localization 安装报错
- paddlehub调用stable_diffusion生成图片时怎么更改保存的图片名 HOT 2
- paddlehub.module.manager.EnvironmentMismatchError: tsn_kinetics400 cannot be installed because some conditions are not met: HOT 1
- Can't Download HOT 1
- ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects HOT 9
- PaddleHub与PaddlePaddle版本兼容问题 HOT 1
- Enable Private Vulnerability Reporting in GitHub
- 运行代码时报错:生成图片超限,如何解决? HOT 1
- 如何微调? HOT 1
- 请问ernie_skep_sentiment_analysis 有没有文本输入长度限制。
- 在windows图像风格迁移时候最后一步运行style_transfer.py出现报错, UnimplementedError: There are no kernels which are registered in the pad2d operator. [Hint: Expected kernels_iter != all_op_kernels.end(), but received kernels_iter == all_op_kernels.end().] (at ..\paddle\fluid\framework\operator.cc:2273) [operator < pad2d > error] HOT 1
- hub install 命令 或 search 命令 报错 HOT 1
- yolov3_darknet53_pedestrian 每次加载都需要下载很长时间,且推理错误 HOT 4
- 已经停止更新了吗? HOT 4
- DiffSinger 只能使用实例中的那句歌词吗? HOT 1
- 请各位大神帮忙看一下安装报错 HOT 1
- 下载hub模型失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddlehub.