Skip to content

paul-souvik3/askme-question-answering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” AskMe – Real-Time AI Question Answering App with Gradio

A smart and responsive Gen AI app that answers your questions based on a given paragraph using Hugging Face Transformers β€” built with Gradio and perfect for real-time document-based QA!


πŸ” About the Model

  • Pipeline: question-answering
  • Model: deepset/roberta-base-squad2
  • Task: Extractive Question Answering (answers pulled directly from context)
  • Framework: Transformers by Hugging Face

πŸ’‘ App Features

  • Real-time answer extraction from user-provided context
  • Context-aware β€” only answers if information exists in the paragraph
  • Clean, interactive Gradio UI for instant feedback
  • Ideal for education, legal/medical docs, support tools & more

πŸ“Œ Instructions for Users

This model only answers questions directly related to the input context.
If your question is unrelated or slightly off-topic, the model may give wrong or biased answers.

βœ… Example:

  • Context: β€œThe Amazon River flows through Brazil, Peru, and Colombia.”
  • Question: β€œWhich countries does the Amazon River flow through?”
  • β†’ βœ… Answer: Brazil, Peru, and Colombia

❌ Asking general questions like β€œWhat is AI?” won’t work unless the context contains the answer.


πŸš€ Live Demo

πŸ‘‰ Try the live demo here: Hugging Face Space


πŸ“¦ Requirements

Install dependencies:

pip install -r requirements.txt

Releases

No releases published

Packages

No packages published

Languages