Showing posts with the label huggingface-transformers

[FIXED] How to create RNN layer on top of BERT multilingual in pytorch

Issue I am working on a classification problem. I want to pass the BERT embedding to RNN layer and …

[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] What are differences between AutoModelForSequenceClassification vs AutoModel

Issue We can create a model from AutoModel(TFAutoModel) function: from transformers import AutoMod…

[FIXED] Converting h5 to tflite

Issue I have been trying to get this zero-shot text classification joeddav / xlm-roberta-large-xnli…

[FIXED] huggingface longformer case sensitive tokenizer

Issue This page shows how to build a longformer based classification. import pandas as

[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] What is better custom training the bert model or use the model with pretrained data?

Issue I am coding my own models for a time but I saw huggingface and started using it. I wanted to …

[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] Transformer summariser pipeline giving different results on same model with fixed seed

Issue I am using a HuggingFace summariser pipeline and I noticed that if I train a model for 3 epoc…

[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…

[FIXED] How do you install a library from HuggingFace? E.g. GPT Neo 125M

Issue I am confused on how to install a library from HuggingFace on your own desktop or server. How…