Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_new_tokens parameter crashes the api #13

Closed
jnehring opened this issue Jul 19, 2023 · 0 comments
Closed

max_new_tokens parameter crashes the api #13

jnehring opened this issue Jul 19, 2023 · 0 comments

Comments

@jnehring
Copy link
Owner

curl --location 'http://serv-9205.kl.dfki.de:5000/api/generate?max_new_tokens=10' \
--header 'content-type: application/json' \
--data '{
    "doc": "Title: Immune_system\n\nBackground: Pattern recognition receptors are proteins used by nearly all organisms to identify molecules associated with pathogens. Antimicrobial peptides called defensins are an evolutionarily conserved component of the innate immune response found in all animals and plants, and represent the main form of invertebrate systemic immunity. The complement system and phagocytic cells are also used by most forms of invertebrate life. Ribonucleases and the RNA interference pathway are conserved across all eukaryotes, and are thought to play a role in the immune response to viruses.\n\nQuestion: What pathway that plays a role in immune response to viruses is present in all eukaryotes?\n\nAnswer:"}'
@jnehring jnehring closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant