Inference API: The easiest way to integrate NLP models for inference!

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • Learn How to use HuggingFace Inference API to easily integrate NLP models for inference via simple API calls.
    Code: github.com/Pra...
    NLP Beginner to Advanced Playlist:
    • NLP Beginner to Advanced
    I am a Freelance Data Scientist working on Natural Language Processing (NLP) and building end-to-end NLP applications.
    I have over 7 years of experience in the industry, including as a Lead Data Scientist at Oracle, where I worked on NLP and MLOps.
    I Share Practical hands-on tutorials on NLP and Bite-sized information and knowledge related to Artificial Intelligence.
    LinkedIn: / pradipnichite
    #nlp #bert #transformers #machinelearning #artificialintelligence #datascience

КОМЕНТАРІ • 43

  • @FutureSmartAI
    @FutureSmartAI  Рік тому +1

    📌 Hey everyone! Enjoying these NLP tutorials? Check out my other project, AI Demos, for quick 1-2 min AI tool demos! 🤖🚀
    🔗 UA-cam: www.youtube.com/@aidemos.futuresmart
    We aim to educate and inform you about AI's incredible possibilities. Don't miss our AI Demos UA-cam channel and website for amazing demos!
    🌐 AI Demos Website: www.aidemos.com/
    Subscribe to AI Demos and explore the future of AI with us!

  • @alijawwad1763
    @alijawwad1763 Рік тому +2

    Fantastic. The likes on the video dont do the justice how great the helpful the video is.

  • @Nandhakumar_Arumugam8
    @Nandhakumar_Arumugam8 Рік тому +2

    Simple one. But a valuable for someone who is making the transition from Intermediate (codes own model) to Advanced (uses Pretrained model) Kudos🎉

  • @sohailpatel7549
    @sohailpatel7549 8 місяців тому +2

    Thanks man! Didn't know it was this easy.

  • @johnknapp5048
    @johnknapp5048 Рік тому +2

    Hey Pradip, that's very well presented. Good job!

  • @almerdiazbondoc8373
    @almerdiazbondoc8373 10 місяців тому +1

    SO USEFUL. THANK YOU SO MUCH!

  • @blankman8980
    @blankman8980 2 дні тому

    Helpful❤

  • @mjacfardk
    @mjacfardk Рік тому +1

    Thank you brother for the great tutorial 🙏

  • @saman__fatima
    @saman__fatima 5 місяців тому +1

    thanks for sharing :)

  • @bal4350
    @bal4350 2 місяці тому

    Explain about read and write tokens

  • @swapnilcodes
    @swapnilcodes 11 місяців тому +1

    Nice

  • @mikiallen7733
    @mikiallen7733 6 місяців тому

    thanks sir for the work you do , however I want to know
    1- how one can integrate specific set of models (pre-trained) ones in to Rstudio ? so that one can simply run examples on data "proprietary in my case " locally within R
    2- is there a way to ask the inference API for tasks different from the typical sentiment classification of text for example "multi-entity tagging" , "modalities" ....etc
    your input is highly appreciated

    • @FutureSmartAI
      @FutureSmartAI  6 місяців тому

      Hi not sure about Rstudio, but since its an api we should be able to use anywhere we want.
      Regarding different task, if we use pipeline class they we have to use one of the valid task but you can always use model inference and then have your own custom logic.
      You should finetune model if you have different req

  • @zaidshaikh9284
    @zaidshaikh9284 Рік тому +1

    hey i am using one api which takes input as a text and gives its summary. but i am not getting output correct.
    output = query({
    "inputs": text,
    })
    summary = output
    but not getting output in this case.
    even when i am using this
    summary = output[0]
    still not getting

  • @Madiha456
    @Madiha456 Рік тому +1

    Hello sir can you please tell how we can generate hugging face api key for building a react app, please reply with an elaborated answer sir.

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      Can you ask this thing in discord?
      discord.gg/teBNbKQ2

  • @user-zx3zk1xn6h
    @user-zx3zk1xn6h 6 місяців тому

    Please reply, İ don't get the deploy button shown to me on any model page

  • @SD-rg5mj
    @SD-rg5mj Рік тому

    hello I would like the photos he describes to me to go directly to a Google, could it work with the api?
    Thanks a lot

  • @loadsofpizza4446
    @loadsofpizza4446 Рік тому

    If you can't find the snippet code what does that mean?

  • @allandclive
    @allandclive Рік тому

    Hello, can it handle real time Speech to Text with ASR models?

  • @karthikdatta7143
    @karthikdatta7143 Рік тому

    Hey, can you please answer this, if we want to use a custom model for inference, where do I specify my outputs and inputs? where do I host the code for the model?

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      you can push model to huggingface hub. I have shown in this video ua-cam.com/video/HRGc6QFA_YU/v-deo.html

  • @HasimFN
    @HasimFN Місяць тому

    I tried a model, and api said max 10 candidates

  • @mmet5772
    @mmet5772 Рік тому +1

    hi how can i use a huggingface api in my flutter app ?

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      Its an api so we can use in any language. Here is an example of Python and Javscript huggingface.co/docs/api-inference/quicktour

    • @mmet5772
      @mmet5772 Рік тому

      @@FutureSmartAI thank you so much for your reply and i really finf your video so interesting,!

  • @user-lm8er8yl1o
    @user-lm8er8yl1o 7 місяців тому

    Can you please show how can I use a code generation model of Hugging face like DeepSeekcoder or StartCoder using Inference API, as I am getting error.

  • @kettleghost3721
    @kettleghost3721 Рік тому

    Hello sir, can you please illustrate how to use a question-answering model like t5 by js inference? Thank you

  • @pariworecords1386
    @pariworecords1386 Рік тому

    Thank you soo much brother! My only question is that I don't have Colab Notebook. Do you know where I could possibly access it and is it also usable for Mac users or are there any alternatives. Blessings

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      You can use colab notebook which is free if you login with google

  • @arvindratnu5621
    @arvindratnu5621 Рік тому

    how to give multiple inputs in query:
    "output = query({
    "inputs": "I like you. I love you",
    })"
    I am trying this:
    "output = query({
    "inputs": "I like you. I love you","I hate you",
    })"
    But I am getting error.
    Please help me.

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      Can you ask this in discord. We also published blog post on inference api blog.futuresmart.ai/mastering-hugging-face-inference-api-integrating-nlp-models-for-real-time-predictions

  • @Venkatesh-vm4ll
    @Venkatesh-vm4ll Рік тому

    how about the pricing, i didn't understand , i like to make it live, what if 10000 user use this api, how much cost

    • @FutureSmartAI
      @FutureSmartAI  Рік тому +1

      The Inference API is free to use, and rate limited. If you need an inference solution for production, check out our Inference Endpoints service.
      huggingface.co/docs/inference-endpoints/index

  • @droponmoon4689
    @droponmoon4689 Рік тому

    you left half the way, it is difficult for new users

    • @FutureSmartAI
      @FutureSmartAI  Рік тому

      Hi you can ask if you have any doubts in discord. We also recently published a blog on inference API that should be helpful.
      blog.futuresmart.ai/mastering-hugging-face-inference-api-integrating-nlp-models-for-real-time-predictions