Skip to content

fawez9/GILPER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gilper: Fine-Tuned BERT Model for Question Answering

Welcome to Gilper, a fine-tuned BERT-based model specialized in question-answering tasks. This repository contains:

  • The Next.js frontend for an interactive interface.
  • The backend code for serving the model.

Use this repository to explore Gilper's capabilities, deploy it locally, or build your own applications on top of it!

Features

  • Interactive Q&A: Input a question and context, and get accurate answers.
  • Full-Stack Solution: Includes both backend (model serving) and frontend (user interface).
  • State-of-the-Art Model: Fine-tuned from bert-large-uncased-whole-word-masking-finetuned-squad.
  • Deployable: Easily run locally or on your preferred cloud platform.

Live Demo

Check out the Hugging Face model here: Gilper on Hugging Face

How to Use

Clone the Repository

git clone https://github.com/fawez9/gilper.git
cd gilper

Installation

Prerequisites

  • Node.js (v18.0.0 or later)
  • Python (v3.8 or later)
  • pip
  • venv (recommended)

Backend Setup

  1. Move to the server folder
cd server
  1. Create a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install Python dependencies
pip install -r requirements.txt

Frontend Setup

  1. Move to client folder
cd client
  1. Install Node.js dependencies
npm install
# or
yarn install

Running the Application

Start Backend Server

python3 main.py

Start Frontend Development Server

npm run dev
# or
yarn dev

Contributing

We welcome contributions! Please Feel free to contribute to this project. Fork it, submit pull requests, and report issues or improvements.

Acknowledgments

  • Hugging Face Transformers
  • SQuAD Dataset
  • BERT Paper Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published