...     "previously unexplored valley, in the Andes Mountains. Even more surprising to the "
...     "researchers was the fact that the unicorns spoke perfect English."
... )
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
gen_tokens = model.generate(
...     input_ids,
...     do_sample=True,
...     temperature=0.9,
...     max_length=100,
... )
gen_text = tokenizer.batch_decode(gen_tokens)[0]
```
GPTJConfig
[[autodoc]] GPTJConfig
    - all
GPTJModel
[[autodoc]] GPTJModel
    - forward
GPTJForCausalLM
[[autodoc]] GPTJForCausalLM
    - forward
GPTJForSequenceClassification
[[autodoc]] GPTJForSequenceClassification
    - forward
GPTJForQuestionAnswering
[[autodoc]] GPTJForQuestionAnswering
    - forward
FlaxGPTJModel
[[autodoc]] FlaxGPTJModel
    - call
FlaxGPTJForCausalLM
[[autodoc]] FlaxGPTJForCausalLM
