-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP 2.3.0.dev,PaddlePaddle2.3.0
2)系统环境:Windows,python:3.7
场景:query和title的相似匹配
我们测试了ernie-3.0-medium-zh和ernie-gr…
-
vocab.txt
```
....
$ 12084
...
$ 18005
...
```
不知道是故意为之还是写了bug
-
paddlenlp版本2.2.5
![image](https://user-images.githubusercontent.com/16911935/160860299-ead7a547-653c-4e66-82bc-5d4c36ba0d5c.png)
-
-
tokenizer = paddlenlp.transformers.ErnieGramTokenizer.from_pretrained('ernie-gram-zh')
AttributeError: module 'paddlenlp.transformers' has no attribute 'ErnieGramTokenizer'
-
(省略)
训练步数 4570, epoch: 457, batch: 10, loss: 0.70770, acc: 0.50299, speed: 0.87 step/s
训练步数 4580, epoch: 458, batch: 10, loss: 0.71046, acc: 0.49281, speed: 0.86 step/s
Traceback (most recent cal…
-
- 版本、环境信息
1)PaddleNLP 2.2.3,PaddlePaddle-gpu 2.2.1.post101
2)系统环境:aistudio python3.7
- 复现信息:
使用ernie-gram直接跑千言文本相似度时,如果输入加上attention_mask会报错。差不多的代码假设在pytorch里面能运行成功。
具体错误如下:
ValueError: (Inval…
-
**Describe the bug**
**Code to reproduce the issue**
```python
# -*- coding:utf-8 -*-
# Author: hankcs
# Date: 2021-04-29 11:06
import hanlp
from hanlp.components.mtl.tasks.ner.tag_ner impo…
-
欢迎您反馈PaddleNLP使用问题,非常感谢您对PaddleNLP的贡献!
在留下您的问题时,辛苦您同步提供如下信息:
- 版本、环境信息
1)PaddleNLP和PaddlePaddle版本:请提供您的PaddleNLP和PaddlePaddle版本号,例如PaddleNLP 2.0.4,PaddlePaddle2.1.1
2)系统环境:请您描述系统类型,例如Linux/Windows…
-
**Describe the bug**
【整箱】金龙鱼五常稻花香原香稻大米2.5kg*4/箱新米
上面这条语句中2.5kg pos/ctb词性标注时,被标注成了url,感觉差异有点大,并且通过 *海量级native API* 的python语言进行识别,仍然被识别成了URL
![图片](https://user-images.githubusercontent.com/5659…