Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def roberta_base_top(self, **kwargs):
     from methods.roberta import RobertaEmbedding
     method = RobertaEmbedding("resources/roberta/", layers="top")
     self.evaluate(method, "roberta_base_top", **kwargs)