Deploy with FastAPI | | Sentiment Analysis with BERT using huggingface, PyTorch and Python Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 30

  • @bankingitaspirant1405
    @bankingitaspirant1405 4 года назад +5

    I'm glad to have found this channel.
    I am new to this stuff, but I am learning quickly.
    Your PyTorch book is awesome!
    It brought me here. It is the reason I googled your name and found this channel.
    Thank you man, you are a great help for new aspirants like me.

  • @shreyanambiar5073
    @shreyanambiar5073 2 года назад

    I love this channel so much! keep up the good work :)

  • @vivekg8667
    @vivekg8667 4 года назад +2

    How to deploy intent classifier model with fast API

  • @BerkayBerkman
    @BerkayBerkman 4 года назад +2

    Venelin, you made my day with your cool reaction to the earthquake :D :D

    • @MO-xi1kv
      @MO-xi1kv 4 года назад +2

      ahah same had to have a rewatch!

  • @mateusfmf994
    @mateusfmf994 2 года назад

    Thanks for the video!
    how can i do this for a model with four labels in the predict data ( I'm trying but I didn't succeed)

  • @arronslacey
    @arronslacey 3 года назад

    Hi - the pretrained model link no longer exists. Do you have a newer link?

  • @clivefernandes5435
    @clivefernandes5435 4 года назад +1

    Hey I was wondering what will be the cost of the of deploying this model ?

  • @dhyanpatel4680
    @dhyanpatel4680 2 года назад

    How did you get the model on your google drive and make it downloadable?

  • @buithanhlam3726
    @buithanhlam3726 4 года назад

    Great! This is exactly what I'm looking for!

  • @every_instant
    @every_instant 4 года назад

    Thanks for the vids. How do we output attentions score for each of the user input word?

  • @venkatesanr9455
    @venkatesanr9455 4 года назад

    Waiting as usual it is going to be highly informative

  • @DistortedV12
    @DistortedV12 3 года назад

    Does this integrate with kubernetes or docker?

  • @shaheerzaman620
    @shaheerzaman620 4 года назад

    Fantastic! Smooth and Easy!

  • @sudharsan4040
    @sudharsan4040 4 года назад

    Thanks for the awesome video. Can't we using hugging face pipelines for inference rather so much code? Could you please share your suggestions on inference with a custom NER model.

  • @TOpCoder100
    @TOpCoder100 4 года назад

    Hello, can you make a tutorial on deploying this model on the cloud, plz? Azure | AWS | GCP?

  • @evandrojosedossantosdiniz3046
    @evandrojosedossantosdiniz3046 3 года назад

    Thanks! Fantastic!

  • @shyampatadia649
    @shyampatadia649 3 года назад

    Hello, Great explanation, I had one doubt, can you explain the variable confidence?

    • @0730pleomax
      @0730pleomax 3 года назад

      the highest probability from the predicted class

  • @slimenbouras3184
    @slimenbouras3184 4 года назад

    Great vidéo

    • @venelin_valkov
      @venelin_valkov  4 года назад +2

      The forward method of BertModel can return the hidden states (or just the last hidden state): huggingface.co/transformers/model_doc/bert.html#transformers.BertModel.forward
      You can apply your pooling strategy on top of that. Here are some you might want to implement:
      github.com/hanxiao/bert-as-service#q-what-are-the-available-pooling-strategies
      Best layer? I doubt there is such a thing (would be great if I am wrong, though). I look at this as another hyperparameter - you need to try a lot of values/strategies.

  • @fuat7775
    @fuat7775 4 года назад

    Awesome content, thank you!

  • @vivekg8667
    @vivekg8667 4 года назад

    Can we use intent classification model for this fast API

    • @venelin_valkov
      @venelin_valkov  4 года назад +1

      You can use FastAPI and the intent classification BERT model together, yes. Thanks for watching!

  • @kabirnarayanjha
    @kabirnarayanjha 3 года назад

    Can I deploy this code on heroku?

  • @FaizanShaikh-zg9to
    @FaizanShaikh-zg9to 4 года назад +1

    19:35 earthquake

  • @yofootball746
    @yofootball746 4 года назад

    Damn that earthquake !!!!

  • @yagelardan8504
    @yagelardan8504 4 года назад

    Can you please make more tf2 videos? Ps love your content

    • @venelin_valkov
      @venelin_valkov  4 года назад +1

      I'll do some videos on TensorFlow.js soon. Other than that, I am not making any promises. Thanks for the kind words!