All-in-one API service, serving multiple NLP tasks for system demo at NCHU NLP Lab.
| Model | Language | Author | Paper |
|---|---|---|---|
| p208p2002/bart-squad-qg-hl | English | Harry Chan (@Harry-Chan) Philip Huang (@p208p2002) |
|
| p208p2002/gpt2-drcd-qg-hl | Traditional Chinese | Harry Chan (@Harry-Chan) Philip Huang (@p208p2002) |
| Model | Language | Author | Paper |
|---|---|---|---|
| voidful/bart-distractor-generation | English | Eric Lam (@voidful) |
- Context-Question-Answer pair exporting
Command to start is store in head of docker-compose.yml
Run this on first time
- Clone Repository
git clone https://github.com/NCHU-NLP-Lab/API.git
cd API- Install Dependencies
pip install -r requirements.txt
# or use poetry
poetry installuvicorn server:app --reloadRun this whenever dependencies are changed in pyproject.toml
poetry export -f requirements.txt --output requirements.txt --without-hashes- Tomy Hsieh (@tomy0000000)