-
运行`python examples/question-answering/dense_qa_example.py --device gpu`,结果报错
```shell
INFO - pipelines.utils.logger - Logged parameters:
{'processor': 'SquadProcessor', 'tokenizer': 'ErnieGramTok…
-
### 问题描述
看到ERNIE-Doc在篇章级数据集表现优秀,
看了文档:https://github.com/PaddlePaddle/ERNIE/blob/repro/ernie-doc/README_zh.md#%E4%BF%A1%E6%81%AF%E6%8A%BD%E5%8F%96
https://github.com/PaddlePaddle/PaddleNLP/blob…
-
examples/text_matching/simcse 中结果无法复现。readme 中数据集,参数都是已经设定好的,按理说直接运行就可以复现,但是无法复现readme中结果。差不多每个数据都差10个百分点,可能是什么原因啊? 以下是我的训练命令:
···
python -u -m paddle.distributed.launch --gpus '0' \
train.py \…
-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP和PaddlePaddle版本:请提供您的PaddleNLP和PaddlePaddle版本号,例如PaddleNLP 2.0.4,PaddlePaddle2.1.1
2)系统环境:请您描述系统类型,例如Linux/Windows…
-
请问,ernie-layout run_mrc 如何处理拒答和多答案?
能否通过数据标注来解决,拒答的label都为0, 多答拆分example
是否支持 A Multi-Type Multi-Span Network for Reading Comprehension that Requires Discrete Reasoning 这种multi-span
-
As the title says, how to train my own model based on zh_dureader_de_v2(zh_dureader_ce_v2)?
-
import os
import sys
import json
import rocketqa
from pprint import pprint
def initmodel():
de_conf = {
"model": 'zh_dureader_de',
"use_cuda": False,
"device_id"…
-
执行无监督训练时报错
RuntimeError: Downloading from https://paddlenlp.bj.bcebos.com/models/transformers/community/rocketqa-zh-dureader-query-encoder/model_state.pdparams failed with code 404!
环境是 aistudio
-
我尝试用了一些训练集去训练dual_encoder ,但是效果不好
比如 可怜飞燕倚新妆\t\t《清平调》之二 李白\t\t"一枝秾艳露凝香,云雨巫山枉断肠。借问汉宫谁得似,可怜飞燕倚新妆。"\t0
但是我查询可怜飞燕倚新妆还是查不出来,
在dureader.para里存放了《清平调》之二 李白\t"一枝秾艳露凝香,云雨巫山枉断肠。借问汉宫谁得似,可怜飞燕倚新妆。"
并且使用了训练后的du…
-
### 软件环境
```Markdown
- paddlepaddle:2.3.2
- paddlepaddle-gpu: 2.3.2.post116
- paddlenlp: paddleNLP/develop
- windows10
```
### 重复问题
- [X] I have searched the existing issues
### 错误描述
```Markd…