Question Answering | NLP | QA | Tranformer | Natural Language Processing | Python | Theory | Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 35

  • @youssefsayed516
    @youssefsayed516 ปีที่แล้ว +1

    Thanks for this video is very simple and great

  • @shipan5940
    @shipan5940 2 ปีที่แล้ว

    Your videos are of high quality and cover quite a range of topics. But i wonder why the subscribers are so few relatively. My personal take is that you lay a very good foundation- easy to understand, then dive right into coding which is very practical. i feel there's something missing in-between.

  • @boro-3
    @boro-3 2 วันที่ผ่านมา

    Stuck on this kind of project tbh I'm dying

  • @ammarazamir505
    @ammarazamir505 4 หลายเดือนก่อน

    hi thanks for such an informative video , what about the scenerio if we extract numeric features from our datasets like sentiments etc then how can we input them for transformer specially T5, Albert without doing masking

  • @sriramkrishna6853
    @sriramkrishna6853 ปีที่แล้ว

    Thanks for making this video. Learnt a lot.
    Follow up question: Can the question and answering more of a chat format where you can build questions and follow ups?
    Let’s say I am embedding the text, create vector of the text. When a question is asked, it’s converted to vector and then using cosine similarity, fetch the response. Can it be done with any of the models this way? Could you please make a video or share feedback if possible? Thanks.

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      What do you mean build questions? Maybe like form a digital identity based on the questions you ask? You can definitely do that. In fact, the new buzz: Chat GPT 3 can do just that.

    • @sriramkrishna6853
      @sriramkrishna6853 ปีที่แล้ว

      @@SpencerPaoHere Apologies for lack of clarity from my side.
      Yeah, when I meant follow up questions: I meant very similar to how a chatbot work taking all the context and answer like a conversation rather than asking a question , it returns a response, starting over again.
      Trying to understand how to make it conversational - open source way (cause openAI one’s are costs :(

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      @@sriramkrishna6853 I see! I'd recommend this site for more info: www.geeksforgeeks.org/chatbots-using-python-and-rasa/
      I think what you are asking is Conversational AI. (Natural Language Understanding) This is an entire sub-industry. But there are many resources out there!
      I definitley recommend diving deeper in chat gpt because that definitely answers your question.

  • @VishwaTeja-w1g
    @VishwaTeja-w1g 7 หลายเดือนก่อน

    So we give question as input from prompt then our model picks up a random context from our dataset and gives random answer...(if we didn't fine tune the model)

  • @AditiBhagat-p6d
    @AditiBhagat-p6d ปีที่แล้ว

    so how these answers can be graded ? can u please tell me how we grade them out of 10

  • @Kungfoobacon
    @Kungfoobacon ปีที่แล้ว

    I'm confused, have you not just fine-tuned a squad model with squad data?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      Hmm. What do you mean? The dataset in use can be "replaced" with your dataset of choice.

    • @wings3738
      @wings3738 ปีที่แล้ว

      ​@@SpencerPaoHeresir do you know how we can convert custom Question-Answer dataset to this format? since my dataset only has two columns

  • @mohamedyasser1183
    @mohamedyasser1183 7 หลายเดือนก่อน

    how can i reduce the dataset size to make the training time shorter

  • @pragyankc706
    @pragyankc706 ปีที่แล้ว

    What is the for a custom dataset, the question for a context has answers coming from multiple section of the paragraph? I believe for the dataset here you only have one answer per question from a context but how to handle multiple start index for a question?

    • @SpencerPaoHere
      @SpencerPaoHere  9 หลายเดือนก่อน

      That would be a different technique if I am understanding correctly -- Multiple Choice Question Answering is a hot topic!

  • @sandeepanand3834
    @sandeepanand3834 ปีที่แล้ว

    Hi, Do you have any video on how to do perform MCQ( one question with 4 answers) or please provide any good link to perform MCQ tack...please?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      I unfortunately do not; however, you can think of MCQ as just multiple entries - dictionary where key: (list record of strings)- then you provide the answers in the QA model tuning. I think that’s what you mean ? Otherwise there are a few articles that are present - happy to share

  • @mariussame9357
    @mariussame9357 ปีที่แล้ว

    HI ! Thanks about the data format I read the link and it mainly explain that the data have to be in form of json or list or dictionnaries does it mean that if I have a pandas dataframe with column question, answer, answer_start and answer_end it won't work ?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      If you are using the pandas library, there should be a read_json(). So, you should be fine!
      And from what you just described, if your features are structured then you should be okay.

  • @amruthak8762
    @amruthak8762 ปีที่แล้ว

    What's the use of the model in question answering system, if the dataset contains answer column already? Simple search will also work for SQUAD then there's no need to finetune a model for that. Correct me if I'm wrong about squad dataset

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      At a high level, the QA model is basically a search function, attempting to find the relationships between the given question and a given answer. Now, in practice, you are going to have many "questions". And, a QA model uses the weightage from its training sets to see which is a good answer for your given question. The beauty is that you do not need to already have a predefined answer. The QA model learns from previous Question-answer pairs and you can ask new questions (not previously defined) and perhaps get a good answer.

  • @Nour-alshareef
    @Nour-alshareef 11 หลายเดือนก่อน

    Please I want the link of this dataset on kaggle

  • @MohamedAhmed-kv5hl
    @MohamedAhmed-kv5hl ปีที่แล้ว

    can I get Google's Notebook link for this ?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว +1

      It's on my github: github.com/SpencerPao/Natural-Language-Processing/blob/main/Question%20Answering%20Modeling/Question_Answering_Modeling_colab.ipynb
      Try clicking on the "Open in Colab" button.

  • @loading757
    @loading757 ปีที่แล้ว

    sir, i have getting error on tuning . please help. should i have to change runtype to gpu in colab?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      It really depends on what the error is ! What’s the error that appears ?

    • @loading757
      @loading757 ปีที่แล้ว

      @@SpencerPaoHere also disk storage is full.. What to do next?please help sir

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      @@loading757 have you consiedered upgrading to get more storage? An alternative would also be to access an external storage (another cloud or personal computer) and do the computations via chunking.

    • @loading757
      @loading757 ปีที่แล้ว

      @@SpencerPaoHere if i consider reducing dataset size, how to do it?

    • @SpencerPaoHere
      @SpencerPaoHere  ปีที่แล้ว

      @@loading757 you can sample from your dataset! (for example: randomly select N observations from your dataset)

  • @刘-x2b
    @刘-x2b ปีที่แล้ว

    No module named 'keras.saving.hdf5_format' how to solve it? help help!