Relative Content

Tag Archive for openai-api

Gym. make() error: TypeError: ‘module’ object is not callable, but gym has been imported correctly and there are no duplicate files

As the title suggests, an error for gym.make(): TypeError: ‘module’ object is not measurable, but the project name and other paths do not include gym (i.e. there is no file name conflict with gym library). At the same time, the function variables under the qym function in the monitoring bar reported an error: make=SyntaxError (‘invalid syntax, ”, 1,1.<function make at 0x0000011466B88CA0>’), Why is this? How did this happen?

OpenAI API either does not answer question or I cannot find where the response is given

Problem Summary I am trying to us OpenAI API to make a batch request to chatgtp 3.5 turbo using Google Colab. It seems to work fine but it only returns the prompt. It never answers the question with the 1000 max_new_token allowance. I am following the instructions on https://platform.openai.com/docs/guides/batch/getting-started The goal To get Chatgtp to […]