Xiaoyao Xi

Results 8 issues of Xiaoyao Xi

I run convert.py to convert albert tensorhub model to TF2.0 model with following commands ```shell MODEL_DIR=albert-base SIZE=base # Converting weights to TF 2.0 python converter.py --tf_hub_path=${MODEL_DIR}/ --model_type=albert_encoder --version=2 --model=${SIZE} #...

I notice the EM score of densephrases on SQuAD is 78.3, and I want to reproduce this experiment but I cannot find a script available.

logs as following, thanks convert squad examples to features: 100%|█████████████████████████████████████████████████████████████████████████| 902/902 [00:00

感谢您参与 X2Paddle 社区! 问题模版为了 X2Paddle 能更好的迭代,例如新功能发布、 RoadMaps 和错误跟踪. :smile_cat: ## 问题描述 首先将pytorch的spanBERT模型转换成onnx模型,这一步没报错,代码如下 ```python import transformers import torch model = transformers.modeling_auto.AutoModel.from_pretrained(pretrained_model_name_or_path='SpanBERT/spanbert-base-cased') torch.onnx.export(model, dummy_input0,"spanBert.onnx",verbose=True) ``` 而后用如下命令试图将onnx模型转成paddle格式: ```bash x2paddle --framework=onnx --model=spanBert.onnx --save_dir=pd_model ```...

ONNX

论文中提到你们从CommonCrawl中筛选了约10%的数据,请问可否提供这份数据,或相应的清洗脚本呢~

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior 按照readme的最小示例来的,唯一的diff在于模型权重、tokenizer等均为从清华地址wget到了本地的pretrain文件夹。模型load的时候用了4-bits量化,可以正常加载。但运行到`response, history = model.chat(tokenizer, "你好", history=[])`的时候卡住非常久,大概15-20分钟,GPU利用率期间一直打到95%作用,最后模型没有任何输出。 以下是keyboard cancel时的日志: ``` In [3]:...

### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior readme给出的最小demo示例是无法跑通的,response返回的总是空的,已经有不少人遭遇了同样的问题,并且提过issue,但没有人解答。这个基础的bug预计何时修复? ### Expected Behavior _No response_ ### Steps To Reproduce 1...

Traceback (most recent call last): File "wx.py", line 4, in base_bot = Bot(True) File "/Users/xiaoxi/opt/miniconda3/lib/python3.7/site-packages/wxpy/api/bot.py", line 86, in __init__ loginCallback=login_callback, exitCallback=logout_callback File "/Users/xiaoxi/opt/miniconda3/lib/python3.7/site-packages/itchat/components/register.py", line 30, in auto_login loginCallback=loginCallback, exitCallback=exitCallback) File...