def roberta_large_all(self, **kwargs): from methods.roberta import RobertaEmbedding method = RobertaEmbedding("resources/roberta-large/", layers="all") self.evaluate(method, "roberta_large_all", **kwargs)
def xlmr_large_all(self, **kwargs): from methods.roberta import RobertaEmbedding method = RobertaEmbedding("resources/xlmr.large/", layers="all", bpe_filename="sentencepiece.bpe.model") self.evaluate(method, "xlmr_large_all", **kwargs)
def roberta_base_top(self, **kwargs): from methods.roberta import RobertaEmbedding method = RobertaEmbedding("resources/roberta/", layers="top") self.evaluate(method, "roberta_base_top", **kwargs)