-
使用该示例+ernie_gram_sort.zip(model_30000)没有训练直接下载后使用ernie_matching\deploy\python\predict.py测试结果:
Data: {'query': '海 尔 全 自 动 洗 衣 机 用 着 不 错', 'title': '海 尔 全 自 动洗 衣 机 好 用'} prob: [0.97645164]
Dat…
-
-
### 请提出你的问题
请问我想训练排序模型的数据(基于ERNIE-Gram训练Pair-wise模型),数据格式如下所示
`个人所得税税务筹划 基于新个税视角下的个人所得税纳税筹划分析新个税;个人所得税;纳税筹划 个人所得税工资薪金税务筹划研究个人所得税,工资薪金,税务筹划`
请问如何理解这个训练的格式,一共有三段文字,是不是意思是第一段和二,三端关联度为1?然…
-
for branch release/2.1
https://github.com/PaddlePaddle/PaddleNLP/blob/0e1f3682f8038b0f93b15565acb4b2edbb5d9a1e/paddlenlp/transformers/ernie_gen/modeling.py#L268
some link has gone.
could any…
-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP=2.1.0 PaddlePaddle=2.1.1-gpu
2)系统环境:Windows ,python =3.7 和 AI studio jupyter 高级版(两个都试了)
- 复现信息:如为报错,请给出复现环境、复现步…
-
您好,neural_search ranking部分cross encoder提供的预训练模型似乎有误(和ernie match提供的预训练模型混淆了),请问能帮忙核查一下吗?非常感谢!
[https://github.com/PaddlePaddle/PaddleNLP/tree/develop/applications/neural_search/ranking/cross_encoder]…
-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP和PaddlePaddle版本:请提供您的PaddleNLP和PaddlePaddle版本号,例如PaddleNLP 2.0.4,PaddlePaddle2.1.1
2)系统环境:请您描述系统类型,例如Linux/Windows…
-
```python
> building sapmles index mapping for train ...
make: 进入目录“/media/reclab/新加卷1/nlp_projects/ernie_matching/PaddleNLP/applications/neural_search/recall/domain_adaptive_pretraining/data_tools…
-
你好!我在使用ErnieGramMode处理批量的语句的输入的时候,出现了如下报错,麻烦大牛给与指导:
![image](https://user-images.githubusercontent.com/36957508/148946063-4ee2a999-b4d4-4e6d-8c32-aff0a618dd5a.png)
代码如下:
```
inputs = {'attenti…
-
> building sapmles index mapping for valid ...
make: 进入目录“/media/reclab/新加卷/nlp_projects/PaddleNLP-develop/PaddleNLP-develop/model_zoo/ernie-1.0/data_tools”
make: 对“default”无需做任何事。
make: 离开目录“/med…