-
### 请提出你的问题
使用:encoded_inputs = tokenizer(text=[example["prompt"]],
text_pair=[example["content"]],
truncation=True,
…
-
![image](https://user-images.githubusercontent.com/38267683/219998459-40a23e7b-913f-4771-beea-431714f4c1f2.png)
训练环境:pytorch 1.7.1 +cuda11.0 batchsize 修改为了 2
python -m torch.distributed.launch --npr…
-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP和PaddlePaddle版本:请提供您的PaddleNLP和PaddlePaddle版本号,例如PaddleNLP 2.0.4,PaddlePaddle2.1.1
2)系统环境:请您描述系统类型,例如Linux/Windows…
-
谢谢!
-
非常感谢您提交关于飞桨文档的Issue,我们会认真听取您的意见,并进行改进。
建立issue时,为快速解决问题,请您根据情况给出如下信息:
- 标题:请包含关键词“XXX文档问题”,例如“add 文档问题” 或 ”paddle.add 文档问题“
- 文档版本信息:请提供有问题的文档的版本号,例如 develop,1.8,2.0RC;
### 文档问题描述:
你好,我在使用那个百…
-
aistudio环境, A100 40G单卡
模型使用 rocketqa/zh_dureader_de_v2
训练数据使用examples/data/dual.train.tsv
即:
train_dual_encoder('zh_dureader_de_v2', './examples/data/dual.train.tsv')
执行到[ init.py: 74]: …
-
您好!最近我在使用paddlenlp运行官网tutorial的内容,版本为2.3.3,目前遇到了几个问题:
1. 部分数据集没办法正确识别 `load_dataset` 的 `splits` 参数:
```python
from paddlenlp.datasets import load_dataset
train_dataset, val_dataset = l…
-
怎么训练自己的RocketQA预训练模型? rocketqa-zh-dureader-query-encoder
-
### 请提出你的问题
环境:ubuntu16.04+cuda10.2+cudnn7.6.5+python3.9
docker镜像:registry.baidubce.com/paddlepaddle/paddlenlp:2.4.0-gpu-cuda10.2-cudnn7
错误问题:启动docker镜像后打开页面,显示connection error
…
-
### 1. 目标
PaddleNLP作为飞桨自然语言处理核心库,内置了从数据集、数据处理、到组网建模一系列API,深度适配飞桨新版框架动态图开发模式,旨在为飞桨开发者提升文本领域建模效率,提供基于Paddle 2.0的NLP领域最佳实践。
数据集,可以说是深度学习任务第一站,是推动自然语言处理技术进步的基石。,高质量数据集是模型调优的基础。目前,PaddleNLP中已内置了多个数据…