Incomplete response using API

#5
by mherrera - opened

Hi numberstation team.

Im using the HF API with the following input data (data = query({"inputs": text, "wait_for_model" : True}, model_id, api_token)):

CREATE TABLE stadium ( stadium_id number, location text, name text, capacity number, highest number, lowest number, average number )

CREATE TABLE singer ( singer_id number, name text, country text, song_name text, song_release_year text, age number, is_male others )

CREATE TABLE concert ( concert_id number, concert_name text, theme text, stadium_id text, year text )

CREATE TABLE singer_in_concert ( concert_id number, singer_id text )

-- Using valid SQLite, answer the following questions for the tables provided above.

-- What is the maximum, the average, and the minimum capacity of stadiums ?

SELECT

and getting the following response:

CREATE TABLE stadium ( stadium_id number, location text, name text, capacity number, highest number, lowest number, average number )

CREATE TABLE singer ( singer_id number, name text, country text, song_name text, song_release_year text, age number, is_male others )

CREATE TABLE concert ( concert_id number, concert_name text, theme text, stadium_id text, year text )

CREATE TABLE singer_in_concert ( concert_id number, singer_id text )

-- Using valid SQLite, answer the following questions for the tables provided above.

-- What is the maximum, the average, and the minimum capacity of stadiums ?

SELECT MAX

do i need to add more parameters?

Thanks

NumbersStation org

Hi @mherrera ,

You can use max_new_tokens to control the max output sequence length.

Sign up or log in to comment