Mayar

Results 14 issues of Mayar

class Config(dict): def __init__(self, **kwargs): super().__init__(**kwargs) for k, v in kwargs.items(): setattr(self, k, v) def set(self, key, val): self[key] = val setattr(self, key, val) config = Config( testing=False, bert_model_name="bert-base-uncased", max_lr=3e-5,...

Hi! what if I want to use scibert embedding in my model is it enough just to replace this code : `from allennlp.data.token_indexers import PretrainedBertIndexer token_indexer = PretrainedBertIndexer( pretrained_model="bert-base-uncased", max_pieces=config.max_seq_len,...

could you please give an idea of how to run this code using colab?

when I type pdf2txt.py C:\gropid\input\Attention.pdf -o output C:\gropid\output\ I got no result I am missing something?