Closed leemgs closed 1 year ago
Hi, we did not experiment with torchsummary. To know more details of CodeT5 model, you can directly print the model and get the model size using this function.
Hi, we did not experiment with torchsummary. To know more details of CodeT5 model, you can directly print the model and get the model size using this function.
Thanks. 👍
I want to know how to print a model summary of CodeT5-base model that are archived at the huggingface webpage.
We could print the model summary with the torchinfo and torchsummary modules as follows in the case of AlextNet. In the case of CodeT5-base model, How can we print the model summary?
Case: Alexnet
Case: Convnet
Case: BERT
Case Lightening (encoder/decoder):
autoencoder = litauto_encoder() traine = pylig.Trainer() traine.fit(autoencoder, DataLoader(trained), DataLoader(valid)) summary(litauto_encoder,(1,28,28))