powered by
Get the number of layers in a given model.
textModelLayers(target_model)
Number of layers.
(string) The name of the model to know the number of layers of.
see textModels
textModels
if (FALSE) { textModelLayers(target_model = "bert-base-uncased") }
Run the code above in your browser using DataLab