Showing posts with the label bert-language-model

[FIXED] How to use SciBERT in the best manner?

Issue I'm trying to use BERT models to do text classification. As the text is about scientific …

[FIXED] IndexError: Target is out of bounds

Issue I am currently trying to replicate the article noreferrer">https://towardsdatascienc…

[FIXED] what is the difference between pooled output and sequence output in bert layer?

Issue everyone! I was reading about Bert and wanted to do text classification with its word embedd…

[FIXED] How to get the word on which the text classification has been made?

Issue I am doing a multi-label text classification using a pre-trained model of BERT. Here is an ex…

[FIXED] Extend BERT or any transformer model using manual features

Issue I have been doing a thesis in my citation classifications. I just implemented Bert model for …

[FIXED] How can i use BERT fo machine Translation?

Issue I got a big problem. For my bachelor thesis I have to make a machine tranlation model with BE…

[FIXED] BERT model loss function from one hot encoded labels

Issue For the line: loss = model(b_input_ids, token_type_ids=None, attention_mask=b_input_mask, lab…

[FIXED] How can we pass a list of strings to a fine tuned bert model?

Issue I want to pass a list of strings instead of a single string input to my fine tuned bert ques…

[FIXED] what is so special about special tokens?

Issue what exactly is the difference between "token" and a "special token"? I …

[FIXED] BART Tokenizer tokenises same word differently?

Issue I have noticed that if I tokenize a full text with many sentences, I sometimes get a differen…