Comments (2)
Hi Haowei:
Thanks for your interest of our project!
It appears that the issue you are facing is due to the high number of tools and ideas that need to be invoked in the decision-making process, causing the token limit of the OpenAI model to be exceeded before a decision can be made. Based on your error message, we guess you're using a gpt-3.5-turbo
model with only 4k token contexts. However, we recommend using GPT models with at least 8k contexts.
For the OpenAI API, we suggest using either the gpt-3.5-turbo-16k-0613
or gpt-3.5-turbo-16k
model, or any GPT4
model. You can refer to the following link for more details: https://platform.openai.com/docs/models/overview
Specifically, you can modify line 36 on HELLM.py
with the following code:
llm = ChatOpenAI(
temperature=0.,
model_name='gpt-3.5-turbo-16k-0613', # or any other model with 8k+ context
max_tokens=1024
)
from drivelikeahuman.
Thanks a lot! That solves my question.
from drivelikeahuman.
Related Issues (20)
- Reasoning ability with common sense? HOT 1
- Could we use GPT-4 model in this scope? HOT 2
- gymnasium.error.NameNotFound: Environment `highway` doesn't exist. HOT 4
- I want to use my own model, but I don't know how to modify HOT 5
- do we really need to interact with the AD system for several cycles ? HOT 3
- Is there no self-reflection module? HOT 5
- 我自己换了模型,如下图所示,但是出问题了,请求指教 HOT 1
- 我用的自己的模型,模型跑起来了,但是一直不动 HOT 1
- Version of urllib3 and HTTPSConnection error HOT 7
- TypeError encountered when recording video: Must be a real number, not NoneType HOT 4
- Observation: Error HOT 3
- Error with http://llama-adapter.opengvlab.com/ HOT 4
- 复现出错 HOT 2
- Change the large model HOT 2
- Rate Limit Error from Chatgpt HOT 6
- The environment runs very slowly, and it takes a few minutes for the vehicle to move HOT 8
- It doesn't work as smoothly as the video you showed HOT 5
- The environment runs static, the vehicle not moving HOT 1
- Experimental data HOT 2
- ValueError 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 drivelikeahuman.