Git Product home page Git Product logo

chatbot_model's Introduction

Question Answering ChatBot with BERT

This project demonstrates how to extract text from a PDF file and perform question-answering using the BERT model from the Transformers library.

Table of Contents

Introduction

This project uses the BERT-based question-answering model to answer questions based on text extracted from a PDF file. It includes the following components:

  • PDF text extraction using PyPDF2.
  • Pretrained BERT model for question answering.
  • Text preprocessing to clean and format the extracted text.

Usage

To use this code, follow these steps:

  • Place your PDF file in the project directory or specify its path in the extract_text_from_pdf function.
  • Open the Python script (main.py) and replace the PDF file path with your file.
  • Run the script to extract text from the PDF and perform question answering.

License

You can save this content in a file named README.md in the root directory of your GitHub repository. This single README file contains all the necessary information about your project, its setup, usage, and licensing.

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/9147/chatbot_model.git

chatbot_model's People

Contributors

9147 avatar adi1042003 avatar alwin89 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.