Hi mkshing, you mention "In the inference phase, you need to input ids to the model by using model.forward() so that you cannot use model.generate() attribute. ". Possible to elaborate more on this part? I dont really know the difference of :
- using model.forward(input_ids)
- using model(input_ids)
Thanks for help
Hi mkshing, you mention "In the inference phase, you need to input ids to the model by using model.forward() so that you cannot use model.generate() attribute. ". Possible to elaborate more on this part? I dont really know the difference of :
Thanks for help