Please treat TILDE as a BertLMHeadModel model: | |
``` | |
from transformers import BertLMHeadModel, BertTokenizerFast | |
model = BertLMHeadModel.from_pretrained("ielab/TILDE") | |
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased') | |
``` |
Please treat TILDE as a BertLMHeadModel model: | |
``` | |
from transformers import BertLMHeadModel, BertTokenizerFast | |
model = BertLMHeadModel.from_pretrained("ielab/TILDE") | |
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased') | |
``` |