BERTify
BERTify copied to clipboard
An easy-to-use Python module that helps you to extract the BERT embeddings for a large text dataset (Bengali/English) efficiently.
Results
1
BERTify issues
Sort by
recently updated
recently updated
newest added
These two lines are added when ```last_four_layers_embedding=True```: ``` # cast layers to a tuple and concatenate over the last dimension cat_hidden_states = torch.cat(tuple(last_four_layers), dim=-1) # take the mean of the...