Chunyang

Results 9 issues of Chunyang

### 请提出你的问题 您好, 使用https://github.com/PaddlePaddle/PaddleNLP/blob/release/2.4/model_zoo/bert/static/run_pretrain.py做训练时程序会卡在: ![image](https://user-images.githubusercontent.com/8943172/198232705-b4bed714-6bca-49b9-ba50-dd401ebd7811.png) 经debug发现代码有个bug: ![image](https://user-images.githubusercontent.com/8943172/198233022-fffad947-3c97-475c-baa6-3277fbdb7e60.png) 按照此写法两个值都是1,程序不会执行,修改f_start_id+1->f_start_id程序可以跑起来。 ![image](https://user-images.githubusercontent.com/8943172/198233331-3e20d734-01ef-45be-bd18-72cc907c072d.png) 想跟官方确认此处bug以及修改是否合理。

question

### 请提出你的问题 您好, 我运行bert的fintune代码时,屏幕显示下载数据这个过程很慢,而且总是失败!请问找个有什么其他办法吗? ![image](https://user-images.githubusercontent.com/8943172/199129564-8defed98-416f-4d79-aaab-6a4c10f728d6.png) RuntimeError: Download from https://bj.bcebos.com/dataset/glue/SST.zip failed. Retry limit reached x谢谢!

question

### 请提出你的问题 使用bert static目录下代码使用官方例子进行fintune。报错:AttributeError: 'paddle.fluid.core_avx.Tensor' object has no attribute 'astype' ![image](https://user-images.githubusercontent.com/8943172/199164013-9a14316f-c59b-4d1b-baa0-7e2a57b2038c.png) 我的运行环境: python==3.8 paadlepaddle-gpu==2.3.2 paddlenlp==2.4.2

question

### 请提出你的问题 按照官方脚本对fintune后的模型进行测试,运行预测脚本: ![image](https://user-images.githubusercontent.com/8943172/199628897-75589623-785e-43c1-81b7-8bbd5a6f712e.png) 无输出结果。屏幕截图如下: ![image](https://user-images.githubusercontent.com/8943172/199628824-2bd81b5b-f809-41a0-b938-ec7295cd73bb.png)

question

您好,使用THUDM/Fastertransformer 8卡推理报错,脚本为FasterTransformer/examples/pytorch/glm/benchmark-generation.sh 报错信息如下: RuntimeError: [FT][ERROR] Assertion fail: /home/young.ruan/FasterTransformer/src/fastertransformer/th_op/glm/GlmOp.h:539 ![image](https://github.com/THUDM/GLM-130B/assets/8943172/75ec8b56-17cb-4b1e-a301-3e239f3a8f89)

GLM 团队您好! GLM 130B int8 8卡推理遇到一个问题:RuntimeError: probability tensor contains either `inf`, `nan` or element < 0answers, answers_with_style, blanks = fill_blanks(raw_text, model, tokenizer, strategy) 1.模型部署成功: ![20231110-112701](https://github.com/THUDM/GLM-130B/assets/8943172/2f5e6de1-0b50-4481-8a76-36477e12dc52) 2.input 输入后推理报错:RuntimeError: probability tensor contains...

hi~ i meet the error, TypeError: '>' not supported between instances of 'str' and 'int'. The error img is: ![image](https://github.com/ThanatosShinji/onnx-tool/assets/8943172/da065999-cbad-4174-ab09-d667e95fe856) **This is my script:** import numpy import onnx_tool #from onnx_tool...

bug

I use tool to analyse onnx model meet the error: Traceback (most recent call last): File "onnx_dynamic_analyse.py", line 92, in onnx_tool.model_profile(model, input, savenode=save_path, hidden_ops=[]) File "/usr/local/lib/python3.8/site-packages/onnx_tool/__init__.py", line 84, in model_profile...

Hi ~ I use the tool to simple GPT-3 large。i get the error ~ please help,thx! FileNotFoundError: [Errno 2] No such file or directory: '/home/young.ruan/onnxsim_large_model/simple_onnx/349fb200-3fc2-11ee-81a6-bc224705bc66' ![image](https://github.com/luchangli03/onnxsim_large_model/assets/8943172/bb4a0b39-9336-453e-bdd5-6ad80f1b82e8)