Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [nlp-question-answering]

Question Answering is the computer task of mechanically answering questions posed in natural language. (Please do not use this tag to indicate that you have a question and want an answer. That's already implied.)

nlp-question-answering
0 votes
0 answers
31 views

How to evaluate LLM response [closed]

I am retrieving response using QWEN 72B model. I want to validate my response and don’t have ground truth answers. How can I evaluate my response without help of ground truth answers. I want to use ...
Prashanth Kolaneru's user avatar
0 votes
0 answers
41 views

Why faster_whisper model kills the kernel unexpectedly after running a few instances?

I am trying to convert few audio data into text data using OpenAI Whisper, though the larger-model accuracy is very good but it is very slow to process the audios. But then I found faster-whisper ...
Bhupendra Singh's user avatar
0 votes
0 answers
21 views

How do I create a question answering model in Huggingfaces that answers questions about my data?

I would like to develop a question-answering model with hugging interfaces that answers questions about my input data. Unfortunately, I'm quite new to Python and also to transformers, so I need some ...
Cheroff_Faces's user avatar
0 votes
2 answers
41 views

How to covert an input into a capitalized form in python? [duplicate]

Example .lower() used in inputs to create the input into lower case is there the same kind of function for capitalized form? I thought it would be something like .capitalize() but I turned out wrong. ...
Hiral Kalia's user avatar
0 votes
0 answers
41 views

Getting a bounding box related error while using layoutLM model

resize = transforms.Resize((224, 224)) set_seed(0) processor = AutoProcessor.from_pretrained("tiennvcs/layoutlmv2-base-uncased-finetuned-docvqa", apply_ocr=True) tokenizer = AutoTokenizer....
Kartikeya Kawadkar's user avatar
1 vote
1 answer
77 views

How to tune LLM to give full length and detailed answers [closed]

I am building an application in which you can select an open source model from a list of models and ask it general questions. I am using searxng to search the web for context. While all of this is ...
coder25's user avatar
  • 21
1 vote
0 answers
30 views

Implement few-shot inference for question-answering with DistilBERT

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 8000+ reports). ...
ohnoinkimono's user avatar
1 vote
1 answer
93 views

Why did my fine-tuning T5-Base Model for a sequence-to-sequence task has short incomplete generation?

I am trying to fine-tune a t5-base model for creating appropriate question against a compliance item. Compliance iteams are paragraph of texts and my question are in the past format of them. I have ...
Daremitsu's user avatar
  • 609
-1 votes
1 answer
245 views

Why is LLMChain's answer being cut off? [closed]

I want to build a question-answering application using the Huggingface API with the Gemma model, but the answer provided by the model is being cut off. I've tried it on Google Colab and Kaggle ...
sansar_salvo41's user avatar
-2 votes
1 answer
42 views

Does ChatGPT parse the query first?

The spelling and grammar corrections that appear to take place within the ChatGPT system are pretty great... but it got me wondering if language model based question answering systems like these leave ...
Seán Healy's user avatar
1 vote
2 answers
773 views

Issue with Passing Retrieved Documents to Large Language Model in RetrievalQA Chain

I'm currently enrolled in a course on Coursera where I'm learning to implement a retrieval-based question-answering (RetrievalQA) system in Python. The course provides code that utilizes the ...
Rishil Boddula's user avatar
-1 votes
1 answer
914 views

Error in retrieving document 'SentenceTransformer' object has no attribute 'default_prompt_name'

I will retrieve the relevant documents from the given query, but why does the error appear as shown in the image? image of running results import joblib loaded_db = joblib.load('/content/drive/MyDrive/...
phluviophilee's user avatar
1 vote
2 answers
543 views

why is langchain output not just the answer?

I'm making a question and answer system with retrievalQA langchain. However, the resulting output is not just an answer. how to display only answers? is there something wrong in writing my code? from ...
phluviophilee's user avatar
0 votes
1 answer
41 views

What and how LLM is used for ranking organization job title?

Suppose there's a context like this context = Andy is a vice manager of finance department. \n Rio is a general manager finance deparment. \n Jason is a general manager finance deparment. question = ...
Jeremy Kenn's user avatar
0 votes
0 answers
28 views

Facing error to evaluate spider 1.0 dataset using orca-2-7B model, hugging face transformers

I am trying to evaluate Spider 1.0 dataset using Orca-2-7B model, hugging face transformer but this error is showing. Is that anything wrong in my code? I follow this instructions to run this "...
Ayesha Khatun's user avatar

15 30 50 per page
1
2 3 4 5
17