binary-husky
57d4541d4e
fix minor bug in chatglm-onnx
2023-08-07 01:07:55 +08:00
binary-husky
d7dd586f09
introduce unified base class for local llm models
2023-08-07 00:57:52 +08:00
Hongyi Zhao
bfb7aab4a0
Fix the reverse proxy based OpenAI access via https://github.com/acheong08/ChatGPT-to-API/ .
...
See https://github.com/binary-husky/gpt_academic/issues/900#issuecomment-1658463065 for more detailed discussions.
2023-08-02 18:03:49 +08:00
ValeriaWong
c0c337988f
feat(chatglm_int8_onnx):纯CPU推理,最多仅需8GB内存,推理速度未测评,token数有限,暂时还不能流式输出 #1008
2023-08-01 00:48:57 +08:00
awwaawwa
e4ba0e6c85
add clear history tips
2023-07-27 23:07:59 +08:00
505030475
4216c5196e
verify ignore history practice
2023-07-27 22:30:55 +08:00
binary-husky
e93b6fa3a6
Add GLM INT8
2023-07-24 18:19:57 +08:00
fenglui
5813d65e52
增加chatGLM int4配置支持 小显存也可以选择chatGLM
2023-07-22 08:29:15 +08:00
fenglui
00a3b91f95
fix msg.data.split(DELIMITER) exception when msg.data is int
2023-07-21 03:51:33 +08:00
binary-husky
df90db210c
Merge branch 'master' into interface-interlm
2023-07-20 11:40:45 +08:00
binary-husky
73b22f85be
compat third party gpt error handle
2023-07-20 11:09:22 +08:00
QQisQQ
0c8c539e9b
解决new bing 报错200 (fix new bing error code 200 )
...
modify from 16e00af9d5
works for my issue:
```
Traceback (most recent call last):
File "./request_llm/bridge_newbingfree.py", line 152, in run
asyncio.run(self.async_run())
File "/root/miniconda3/envs/py311/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py311/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py311/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "./request_llm/bridge_newbingfree.py", line 98, in async_run
async for final, response in self.newbing_model.ask_stream(
File "./request_llm/edge_gpt_free.py", line 676, in ask_stream
async for response in self.chat_hub.ask_stream(
File "./request_llm/edge_gpt_free.py", line 456, in ask_stream
self.wss = await self.session.ws_connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/envs/py311/lib/python3.11/site-packages/aiohttp/client.py", line 795, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 200, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')
```
2023-07-19 04:39:15 +08:00
binary-husky
fd549fb986
merge success
2023-07-18 19:51:13 +08:00
binary-husky
babb775cfb
interface with interlm
2023-07-18 16:33:34 +08:00
binary-husky
6f21ae8939
support claude api
2023-07-16 15:03:05 +08:00
qingxu fu
9b8f160788
up
2023-07-11 15:52:38 +08:00
binary-husky
c010d50716
允许加入ChatGLM微调模型
2023-07-10 03:17:09 +08:00
binary-husky
1fe66f0291
优化azure的体验
2023-07-09 00:20:58 +08:00
qingxu fu
0da6fe78ac
统一azure-gpt-3.5的格式
2023-07-07 10:45:11 +08:00
qingxu fu
be990380a0
Merge branch 'master' of https://github.com/binary-husky/chatgpt_academic into master
2023-07-07 10:42:41 +08:00
qingxu fu
9c0bc48420
修复Azure OpenAI接口的各种bug
2023-07-07 10:42:38 +08:00
binary-husky
2c1d6ac212
修复Organization的bug
2023-07-05 21:14:13 +08:00
binary-husky
e5099e1daa
极少数情况下,openai的官方KEY需要伴随组织编码
2023-07-05 20:05:20 +08:00
binary-husky
cda281f08b
把newbing的cookie加回来
2023-07-05 13:48:50 +08:00
binary-husky
9f8e7a6efa
显示更详细的报错
2023-07-05 13:35:11 +08:00
qingxu fu
57643dd2b6
update error msg
2023-07-05 13:01:06 +08:00
qingxu fu
6bc8a78cfe
No more cookie for NewBing!
2023-07-05 12:45:10 +08:00
binary-husky
d2700e97fb
更新openai失效提醒
2023-07-05 11:03:11 +08:00
binary-husky
403667aec1
upgrade chatglm to chatglm2
2023-06-30 12:06:28 +08:00
qingxu fu
057e3dda3c
Merge branch 'master' of https://github.com/dackdawn/gpt_academic into dackdawn-master
2023-06-27 15:02:22 +08:00
binary-husky
cd1e4e1ba7
Merge pull request #797 from XiaojianTang/master
...
增加azure openai api的支持
2023-06-21 11:23:41 +10:00
dackdawn
f3e4e26e2f
添加0613模型的声明
...
openai对gpt-3.5-turbo的RPM限制是3,而gpt-3.5-turbo-0613的RPM是60,虽然两个模型的内容是一致的,但是选定特定模型可以获得更高的RPM和TPM
2023-06-19 21:40:26 +08:00
qingxu fu
c40ebfc21f
将gpt-3.5-16k作为加入支持列表
2023-06-14 09:50:15 +08:00
XiaojianTang
f3205994ea
增加azure openai api的支持
2023-05-26 23:22:12 +08:00
binary-husky
5d75c578b9
fix dependency
2023-05-25 15:28:27 +08:00
binary-husky
cd411c2eea
newbing-free deps
2023-05-25 15:12:54 +08:00
qingxu fu
42eef1bea7
add free newbing without cookie using edge-gpt
2023-05-24 10:42:11 +08:00
505030475
6d557b3c34
fix history commit problem
2023-05-20 13:54:19 +08:00
505030475
d29f524cec
Merge remote-tracking branch 'origin/master' into multi_language
2023-05-20 13:36:23 +08:00
505030475
fc762cbf7f
stage one
2023-05-20 12:23:46 +08:00
qingxu fu
b0c2e2d92b
修订提示
2023-05-19 10:58:22 +08:00
qingxu fu
77a2d62ef6
捕获缺少依赖时的异常
2023-05-19 10:55:50 +08:00
qingxu fu
c43e22bc41
change claude model name to stack-claude
2023-05-19 10:46:12 +08:00
qingxu fu
be6b42324d
Merge branch 'claude' of github.com:Rid7/gpt_academic into Rid7-claude
2023-05-19 09:39:47 +08:00
505030475
43e64782dc
修正非官方的OpenAI反代错误显示问题
2023-05-16 00:35:47 +08:00
Rid7
d795dc1a81
取消重置时调用claude_model的reset方法
2023-05-15 15:47:05 +08:00
Rid7
6d267947bb
实现Claude聊天功能配置项
2023-05-15 15:12:50 +08:00
Rid7
595e5cceae
实现Claude聊天功能
2023-05-15 15:07:53 +08:00
binary-husky
dadbb71147
Update bridge_chatgpt.py
2023-05-11 18:42:51 +08:00
fuqingxu
84fc8647f7
修正moss和chatglm的环境依赖
2023-05-08 20:06:41 +08:00
fuqingxu
777850200d
update the error handling of moss and chatglm
2023-05-08 19:21:17 +08:00
binary-husky
5102ec8263
添加对复旦大学MOSS的支持
2023-05-07 01:04:59 +08:00
binary-husky
4b9078a9dc
merge jittor branch
2023-05-06 23:39:57 +08:00
binary-husky
9d3b01af75
尝试加入jittor本地模型
2023-04-29 16:46:59 +08:00
binary-husky
9ad00c78ba
临时修复超链接显示为公式的问题
2023-04-29 03:02:19 +08:00
binary-husky
c53320182a
修复newbing引用样式
2023-04-29 01:51:11 +08:00
binary-husky
6a268e17cd
修复公式重复显示的bug
2023-04-29 00:48:48 +08:00
binary-husky
34b767d1fd
thread lock in chatglm
2023-04-27 11:17:19 +08:00
binary-husky
5eea959103
Markdown翻译支持github url
2023-04-24 20:51:34 +08:00
binary-husky
856df8fb62
验证对话上下文
2023-04-24 20:18:32 +08:00
binary-husky
8e59412c47
修正newbing交互的不合理代码
2023-04-24 20:14:23 +08:00
binary-husky
4e113139c8
Merge branch 'master' into v3.3
2023-04-24 19:09:44 +08:00
binary-husky
b3e5cdb3a5
加一些注释
2023-04-24 12:08:42 +08:00
binary-husky
f04683732e
待调查的BUG
2023-04-24 11:39:40 +08:00
Your Name
59bed52faf
修改依赖的引用方式
2023-04-23 23:39:54 +08:00
Your Name
d98d0a291e
移动函数位置
2023-04-23 23:34:13 +08:00
Your Name
ee94fa6dc4
拆分成两个文件
2023-04-23 23:32:35 +08:00
Your Name
d2e46f6684
更新提示
2023-04-23 23:26:23 +08:00
Your Name
5948dcacd5
加线程锁
2023-04-23 23:25:49 +08:00
Your Name
3041858e7f
优化提示
2023-04-23 23:16:25 +08:00
Your Name
9c2a6bc413
优化错误提示
2023-04-23 23:13:00 +08:00
Your Name
1cf8b6c6c8
修复细节
2023-04-23 22:47:45 +08:00
Your Name
781ef4487c
修复一些细节
2023-04-23 22:44:18 +08:00
Your Name
4a494354b1
显示newbing回复的网址
2023-04-23 22:34:24 +08:00
Your Name
385c775aa5
支持3.10以下的python版本使用newbing
2023-04-23 20:54:57 +08:00
binary-husky
518385dea2
add newbing, testing
2023-04-23 19:17:09 +08:00
binary-husky
65317e33af
Merge branch 'newbing' into v3.3
2023-04-23 18:35:21 +08:00
binary-husky
ab61418410
better traceback
2023-04-23 18:13:30 +08:00
binary-husky
0785ff2aed
微调对话裁剪
2023-04-23 17:45:56 +08:00
binary-husky
676fe40d39
优化chatgpt对话的截断策略
2023-04-23 17:32:44 +08:00
binary-husky
2b96217f2b
实现Newbing聊天功能
2023-04-22 21:18:35 +08:00
Your Name
5353eba376
version 3.15 添加联网回答问题
2023-04-21 20:03:38 +08:00
Your Name
7339b06acb
Merge branch 'master' of github.com:binary-husky/chatgpt_academic
2023-04-21 19:28:37 +08:00
Your Name
ce1fc3a999
修改chatglm不记忆上下文的bug
2023-04-21 19:28:32 +08:00
binary-husky
a9a489231a
Update bridge_all.py
2023-04-21 18:56:56 +08:00
binary-husky
e889590a91
Update README.md
2023-04-21 18:49:24 +08:00
Your Name
9481405f6f
更新提示
2023-04-21 18:37:20 +08:00
Your Name
7317d79a3c
更新提醒
2023-04-21 18:28:51 +08:00
Your Name
01a377d747
还原API_URL的设置
2023-04-21 17:37:48 +08:00
Your Name
4812513cbc
增添报错信息
2023-04-20 09:45:44 +08:00
Your Name
9d2bc1f3e0
修复错误提醒
2023-04-19 15:52:44 +08:00
Your Name
c37c49dd51
lazy load +decode 方法
2023-04-19 14:58:39 +08:00
Your Name
a15489d6e6
添加结束的情况
2023-04-19 14:54:58 +08:00
Your Name
b0409b929b
tiktoken做lazyload处理
2023-04-19 14:27:34 +08:00
Your Name
23c5a77f82
修正一些细节
2023-04-19 12:29:33 +08:00
Your Name
40d91e9e1a
improve dockerfile
2023-04-18 21:45:56 +08:00
Your Name
48cf5c0c9c
兼容性措施
2023-04-17 23:16:12 +08:00
Your Name
deb8e5e137
动态endpoint
2023-04-17 22:51:23 +08:00
Your Name
5316b5c373
错误情况处理
2023-04-17 22:33:46 +08:00
Your Name
45c81cdaff
gpt-4 token +8192
2023-04-17 22:00:26 +08:00