About 50 results
Open links in new tab
  1. python - How to use DistilBERT Huggingface NLP model to perform ...

    Oct 24, 2021 · I am using DistilBERT to do sentiment analysis on my dataset. The dataset contains text and a label for each row which identifies whether the text is a positive or negative movie review (eg: …

  2. What does pre_classifier in distilbert do? - Stack Overflow

    Nov 7, 2022 · Since DistilBert does not have a pooler, it does not need a dense layer. But for sequence classification a pooler is added so the dense layer is also needed. In other words self.pre_classifer in …

  3. How to solve this problem with distilbert tokenizer?

    Nov 24, 2021 · How to solve this problem with distilbert tokenizer? Ask Question Asked 4 years, 5 months ago Modified 3 years, 1 month ago

  4. Implement few-shot inference for question-answering with DistilBERT

    May 13, 2024 · I am trying in-context-learning/ prompt-engineering with the DistilBERT model (using Python transformers pipeline) to answer a question from a given report (in reality, the amount is …

  5. Fine-tuning distilbert takes hours - Stack Overflow

    Dec 19, 2022 · I am fine tuning the distilbert pretrained model for sentiment analysis (multilabel with 6 labels) using Huggingface emotion dataset. I am new to this, but 1 epoch, 250 steps takes around 2 …

  6. Using DistilBERT for generating sentences of text

    May 25, 2020 · Using DistilBERT for generating sentences of text Ask Question Asked 5 years, 10 months ago Modified 1 year, 3 months ago

  7. distilbert - ValuError: Exception encountered when calling tf-distil ...

    Mar 4, 2024 · When i load my jupyter notebook to Google colab i get an error, but on my laptop I do not get this error. the error is : ValueError: layer Exception encountered when ...

  8. No model was supplied, defaulted to - Stack Overflow

    Apr 23, 2023 · It tells you, that the pipeline is using distilbert-base-uncased-finetuned-sst-2-english because you haven't specified a model_id. In other words, it might not yield the best results for your …

  9. cannot import name …

    cannot import name 'DISTILBERT_PRETRAINED_MODEL_ARCHIVE_MAP' from 'transformers.modeling_distilbert' Ask Question Asked 5 years, 10 months ago Modified 5 years, 9 …

  10. Download pre-trained BERT model locally - Stack Overflow

    After instantiating the SentenceTransformer via download, you can then save it to any path of your choosing with the 'save ()' method.