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!
- 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.
Check out the Hugging Face model here: Gilper on Hugging Face
git clone https://github.com/fawez9/gilper.git
cd gilper- Node.js (v18.0.0 or later)
- Python (v3.8 or later)
- pip
- venv (recommended)
- Move to the server folder
cd server- Create a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows, use `venv\Scripts\activate`- Install Python dependencies
pip install -r requirements.txt- Move to client folder
cd client- Install Node.js dependencies
npm install
# or
yarn installpython3 main.pynpm run dev
# or
yarn devWe welcome contributions! Please Feel free to contribute to this project. Fork it, submit pull requests, and report issues or improvements.
- Hugging Face Transformers
- SQuAD Dataset
- BERT Paper Authors