425776024

Results 21 comments of 425776024

![image](https://user-images.githubusercontent.com/14906671/132799917-4f5f5a81-a2f5-43b9-8cff-f19c632e781d.png) @KelestZ KelestZ According to the red frame in this picture, you can solve your problem

> 请问你的simbert和原始的simbert是一模一样的还是又添加了新的改进?因为我试了同一句话你的nlpcda效果更好 没有,这个基本上是原作者(苏)的封装,有些网友说运行不了(版本可能不对),推荐直接看原作者代码。最近重心转到cv去了,所以nlp相关没精力改

> 这个simbert 长句子允许特别慢,是有什么问题吗?期待回复,谢谢 可能是GPU没运行,另外simbert是自回归的,文本越长越慢,原作者好像出来新的simbert2了,速度好像更快,你可以去了解一下

> 请问你运行成功这个NER数据增强了吗? 抱歉,最近半年忙毕业的事,有空写个colab,对着运行。。

> simbert进行相似句的生成速度太慢了,其中设备选用的cuda 使用的时候nvidia-smi的GPU计算率有超过0%吗,你可以加我qq,等我有空了详细看看

> simbert进行相似句的生成速度太慢了,其中设备选用的cuda 另外,之前有个小哥是这样用的。。。肯定慢。。每次从新加载模型: ``` for i in range(len(x)): sent = x[i] simbert = Simbert(config=config) synonyms = simbert.replace(sent=sent, create_num=5) print(synonyms) ```

> Does it only support sentence length below 32, the source code of it truncated the input at this length. you can edit config `'max_len': 32`

> 请问现在是不支持simbert了吗? 不是不支持,是默认不安装simbert所需要的keras、tensorflow、bert4keras这些依赖包了,不然pip install nlpcda的时候太庞大了,得下几百兆。希望使用的可以自己去安装依赖

> 请问安装tensorflow-gpu的版本也是2.2.0吗?我之前安装了tensorflow2.2.0是可以跑成功simbert的,但是发现并没有在gpu上运行,后来换成tensorflow-gpu==2.2.0,发现simbert不能正常使用了。 忘记提示simbert的版本了,测试报错、有误、GPU没跑起来的,可以试试这组版本: ``` keras==2.3.1 bert4keras==0.7.7 # tensorflow==1.13.1 tensorflow-gpu==1.13.1 ```

> 请问bio增强的依据是什么?是否有文献来源,是否可以支持bioes模式? 有时间可以写写,支持多种格式。