Comments (3)
The issue seems to be cause by the context length, not the paper length. Here's a similar problem langchain-ai/langchain#2133.
from chatgpt-paper-reader.
the same question
from chatgpt-paper-reader.
You may consider modify your "model_interface.py" and use gpt-4-32k instead. I modified and it can process much more than using gpt3.5.
Available options:
gpt-3.5-turbo, gpt-4, and gpt-4-32k
![image](https://private-user-images.githubusercontent.com/25316415/273618638-e77d8559-a293-4267-bd76-bc22a8396112.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MTM0MzMsIm5iZiI6MTcyMzYxMzEzMywicGF0aCI6Ii8yNTMxNjQxNS8yNzM2MTg2MzgtZTc3ZDg1NTktYTI5My00MjY3LWJkNzYtYmMyMmE4Mzk2MTEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE0VDA1MjUzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiYTQ3NGM2OGRhYWZkOTJmNWQ5N2FjNzhlYzA1YTNiNzA0YWE2MDIzZDFiZTgxZWFlNWVmNGQyNjJjYzE4MzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0GYipQ-68OnleZ8QqcFWNWiXgtejH1R9yiXTaqz01G8)
REF:
https://platform.openai.com/docs/models/continuous-model-upgrades
from chatgpt-paper-reader.
Related Issues (20)
- drop_conversation 逻辑错误 HOT 1
- 在本地无法上传pdf 也没有报错日志 HOT 1
- Request: Requirement txt or pyproject.toml HOT 1
- TypeError: Unsupported input type: <class 'tempfile._TemporaryFileWrapper'> HOT 3
- Unexpected token '<', "<!DOCTYPE "... is not valid JSON
- how many pdf support? HOT 3
- apikey访问频率问题 HOT 2
- "Error" After click the "Starting Analyse" button.
- "Error" After start anlyse. HOT 2
- raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 1
- HOCR Converter, open_filename, FileOrName, AnyIO doesn't exist in the pdfminer library HOT 1
- Unexpected ERROR
- GUI version after drag report cant read a empty file HOT 3
- openai.error maximum context length is 4097 token HOT 3
- Cannot read an empty file HOT 4
- AttributeError: module 'openai' has no attribute 'ChatCompletion' HOT 2
- PyPDF2.errors.EmptyFileError: Cannot read an empty file HOT 5
- TypeError: Unsupported input type HOT 5
- gpt_reader/bot/openai.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-paper-reader.