nishiwen1214 / chatreviewer Goto Github PK
View Code? Open in Web Editor NEWChatReviewer: 使用ChatGPT分析论文优缺点,提出改进建议
License: Other
ChatReviewer: 使用ChatGPT分析论文优缺点,提出改进建议
License: Other
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)
During handling of the above exception, another exception occurred:
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
During handling of the above exception, another exception occurred:
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
When using ChatReviewer, if you encounter the message "You exceeded your current quota, please check your plan and billing details," how can this issue be resolved?
网页版 点击 submit之后,读条到达预期时间左右,显示Error
I wanted to add a web interface for this. But current license is CC no derivatives. My understanding is that the license prevents me from doing so. Can you change to an open source license that permits derivative work?
您好,网页版运行会出现以下错误:
openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 27476 tokens. Please reduce the length of the messages.
提交了API-key和文档之后,右边生成框进度条拉满之后只显示一个Error,请问是什么情况呢
在解析一个文件时,我发现以下错误:
Traceback (most recent call last):
File "/Users/paco/Downloads/ChatPaper-main4/chat_reviewer.py", line 181, in <module>
main(args=args)
File "/Users/paco/Downloads/ChatPaper-main4/chat_reviewer.py", line 168, in main
reviewer1.review_by_chatgpt(paper_list=paper_list)
File "/Users/paco/Downloads/ChatPaper-main4/chat_reviewer.py", line 45, in review_by_chatgpt
sections_of_interest = self.stage_1(paper)
File "/Users/paco/Downloads/ChatPaper-main4/chat_reviewer.py", line 100, in stage_1
response = openai.ChatCompletion.create(
File "/Users/paco/opt/miniconda3/lib/python3.9/site-packages/openai/api_resources/chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/Users/paco/opt/miniconda3/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/Users/paco/opt/miniconda3/lib/python3.9/site-packages/openai/api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
File "/Users/paco/opt/miniconda3/lib/python3.9/site-packages/openai/api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "/Users/paco/opt/miniconda3/lib/python3.9/site-packages/openai/api_requestor.py", line 679, in _interpret_response_line
raise self.handle_error_response(
openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 8484 tokens. Please reduce the length of the messages.
openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completio
ns (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001F748967F70>: Failed to establish a new connection: [WinError 10060] 由于连接方在
一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。'))
希望能够支持Azure的API
已解决(通过proxy
Traceback (most recent call last):
File "/Users/wangpengan/Desktop/education/ChatReviewer/chat_reviewer.py", line 181, in
main(args=args)
File "/Users/wangpengan/Desktop/education/ChatReviewer/chat_reviewer.py", line 158, in main
paper_list.append(Paper(path=args.paper_path))
File "/Users/wangpengan/Desktop/education/ChatReviewer/get_paper_from_pdf.py", line 21, in init
self.parse_pdf()
File "/Users/wangpengan/Desktop/education/ChatReviewer/get_paper_from_pdf.py", line 33, in parse_pdf
self.extract_section_infomation()
File "/Users/wangpengan/Desktop/education/ChatReviewer/get_paper_from_pdf.py", line 141, in extract_section_infomation
text = json.dumps(block)
File "/opt/anaconda3/envs/python39/lib/python3.9/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/opt/anaconda3/envs/python39/lib/python3.9/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/opt/anaconda3/envs/python39/lib/python3.9/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/opt/anaconda3/envs/python39/lib/python3.9/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type bytes is not JSON serializable
File "D:\anaconda3\envs\chatgpt\Lib\site-packages\fitz\fitz.py", line
3953, in init
raise FileNotFoundError(msg)
fitz.fitz.FileNotFoundError: no such file: 'D:\Users\Downloads\Photocat
alytic behavior of biochar-modified carbon nitride with enriched visible-light reactivity.pdf'
可以使用第三方api接口吗,例如chatgptanywhere或者https://gpt.wf/
编码问题能否解决,因为目前审稿论文大都是pdf的形式,直接修改源文件并不是很现实
请问chatgpt api额度使用完后国外充值有一定门槛,可以使用类似平台API2D的key来实现项目的运行吗?
平台 OS: Ubuntu 22.04.2 LTS x86_64
python3 chat_reviewer.py --paper_path "demo.pdf"
line 218, in
reviewer_args = ReviewerParams(**vars(parser.parse_args()))
NameError: name 'ReviewerParams' is not defined
希望能够支持Azure的API
你能拿到我们上传的文章吗?会不会导致文章信息的泄露?
什么情况,上次还能用呢
chat reviewer 有两个小问题:
谢谢!
You exceeded your current quota, please check your plan and billing details.
报错信息为:
Traceback (most recent call last):
File "chat_reviewer.py", line 11, in
from get_paper_from_pdf import Paper
File "C:\Users\18325\Desktop\ChatReviewer-main\ChatReviewer-main\get_paper_from_pdf.py", line 1, in
import fitz, io, os
File "C:\Users\18325\anaconda3\lib\site-packages\fitz_init_.py", line 1, in
from frontend import *
File "C:\Users\18325\anaconda3\lib\site-packages\frontend_init_.py", line 1, in
from .events import *
File "C:\Users\18325\anaconda3\lib\site-packages\frontend\events_init_.py", line 1, in
from .clipboard import *
File "C:\Users\18325\anaconda3\lib\site-packages\frontend\events\clipboard.py", line 2, in
from ..dom import Event
File "C:\Users\18325\anaconda3\lib\site-packages\frontend\dom.py", line 439, in
from . import dispatcher
File "C:\Users\18325\anaconda3\lib\site-packages\frontend\dispatcher.py", line 15, in
from . import config, server
File "C:\Users\18325\anaconda3\lib\site-packages\frontend\server.py", line 24, in
app.mount(config.STATIC_ROUTE, StaticFiles(directory=config.STATIC_DIRECTORY), name=config.STATIC_NAME)
File "C:\Users\18325\anaconda3\lib\site-packages\starlette\staticfiles.py", line 57, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'static/' does not exist
请问如何解决?
如何解决这个问题
I tried this tool with several papers I reviewed.
However, this tool seems to give only "ABSTRACT" strengths and weaknesses that are, mostly, useless for authors for further improvements.
Therefore, I suggest the authors of this tool to add more warnings in the repo README.md that any reviewers should not use this tool for any papers they are going to review.
Thank you for create this tool for experiments. I recognize and appreciate the power of GPT-based services but still concern their negative impacts to the society and research community when misused.
可以审已经发表的中文论文吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.