nlpcda icon indicating copy to clipboard operation
nlpcda copied to clipboard

一键中文数据增强包 ; NLP数据增强、bert数据增强、EDA:pip install nlpcda

Results 24 nlpcda issues
Sort by recently updated
recently updated
newest added

ImportError: cannot import name 'Simbert' from 'nlpcda' (D:\Anaconda3\envs\wenbenzenqiang\lib\site-packages\nlpcda\__init__.py) 大佬,用simbert报错,,,import失败,这咋处理

Bumps [numpy](https://github.com/numpy/numpy) from 1.18.5 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

Simbert不能正常使用,除非你安装:bert4keras、tensorflow ,为了安装快捷,没有默认安装.... Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >=...

您好,我运行from nlpcda import Simbert报错: Simbert将不能正常使用,除非你安装keras后端:tensorflow .... type object 'AutoRegressiveDecoder' has no attribute 'wraps' 环境按requirements.txt和README的要求装好了,具体是: keras==2.3.1 bert4keras==0.7.7 tensorflow-gpu==1.13.1 requests==2.24.0 numpy==1.18.5 jieba==0.42.1 请问有什么解决方法?谢谢!

作者的工作很不错,但是我测试同义词替换之类的基本用的繁体字或者很奇怪的东西换的... 自己写了一般非常简单的几个增强,代码也比较简单⬇️ https://github.com/xmy0916/nlp_aug

simbert进行相似句的生成速度太慢了,其中设备选用的cuda

我的版本信息如下 bert4keras 0.7.7 keras 2.4.3 tensorflow 2.2.0 导入nlpcda提示 ‘ Simbert不能正常使用,除非你安装:bert4keras、tensorflow ,为了安装快捷,没有默认安装.... module 'tensorflow.compat.v2' has no attribute '__internal__' ’

请问你的simbert和原始的simbert是一模一样的还是又添加了新的改进?因为我试了同一句话你的nlpcda效果更好