GPTJModel documentation
Hello, I’ve looked at the current documentation on GPTJModel and affiliateshttps://huggingface.co/docs/transformers/v4.26.1/en/model_doc/gptj.Nonetheless, I can’t find any information on the different functions that can be apply to those models, for instance, I’m trying to find a documentation about the functiongenerate()and I would love to know if other functions can be apply to those model.Thank you in advance for your answers !
2023-03-01T17:44:19Z
Hi@polynomds1, you can find the docs for thegeneratefunctionhere, and we also have a guide ontext generation strategiesif you’re interested!The GPTJ/Neo docs also have agenerationsection, but perhaps we can also create ageneratesection for the other GPT models.
2023-03-01T18:36:59Z
Thanks@stevhliu, I was also wondering if there was other function likegeneratethat could be apply to those models ?