HongCheng
|
b47a102994
|
Update zhipuai_gen_data.py 添加glm-4 response获取异常处理
# 解决方法
``` python
try:
response = client.chat.completions.create(
model='glm-4',
messages=messages,
top_p=top_p,
)
except:
response = client.chat.completions.create(
model='glm-4',
messages=messages,
top_p=top_p,
)
```
# 报错
``` python
# Error code: 400, with error text {"error":{"code":"1301","message":"系统检测到输入或生成内容可能包含不安全或敏感内容,请您避免输入易产生敏感内容的提示语,感谢您的配合。"}}
```
|
2024-03-17 08:45:33 +09:00 |
|
HongCheng
|
a9721ea582
|
Update config.yml
|
2024-03-16 22:02:11 +09:00 |
|
HongCheng
|
33e11caf97
|
Update requirements.txt
|
2024-03-16 22:01:35 +09:00 |
|
HongCheng
|
93067cfd64
|
Update config.yml
|
2024-03-16 22:00:51 +09:00 |
|
HongCheng
|
a82ae114ea
|
Update config.yml in generate_data
|
2024-03-16 21:57:29 +09:00 |
|
HongCheng
|
d51c894d3f
|
Update requirements.txt
|
2024-03-16 21:56:19 +09:00 |
|
HongCheng
|
eb12c3aa2b
|
update qwen, zhipuai gen_data and readme
|
2024-03-16 21:46:02 +09:00 |
|
xzw
|
0fabdb8827
|
Merge pull request #62 from SmartFlowAI/dev
[DOC] add ocr.md
|
2024-03-13 00:15:42 +08:00 |
|
MING_X
|
53e68a804e
|
Update tutorial_EN.md
|
2024-03-11 15:28:00 +08:00 |
|
MING_X
|
af8c4eb85a
|
Update tutorial.md
|
2024-03-11 15:22:39 +08:00 |
|
8baby8
|
c644e3c696
|
Merge branch 'main' of github.com:8baby8/EmoLLM
|
2024-03-11 13:15:50 +08:00 |
|
8baby8
|
2fc3caeeba
|
add ocr.md
|
2024-03-11 13:15:22 +08:00 |
|
Vicky
|
27458ef8ac
|
新增ENmd文档
|
2024-03-10 15:52:18 +08:00 |
|
MING_X
|
05ef864dfe
|
Rename Introduction.markdown to Readme.md
|
2024-02-29 22:52:41 +08:00 |
|
MING_X
|
43f58c7e56
|
Update Introduction.markdown
|
2024-02-29 22:50:48 +08:00 |
|
MING_X
|
e933af7e23
|
Update 说明.markdown
|
2024-02-29 22:40:34 +08:00 |
|
jupyter
|
294d5d1d60
|
feat: add datasets and update readme
|
2024-01-26 22:43:38 +08:00 |
|
8baby8
|
c5254ace61
|
add data_process
|
2024-01-23 21:25:12 +08:00 |
|