Skip to content

Automatic Question Generation and Short Answer Scoring system

License

Notifications You must be signed in to change notification settings

osainz59/AQGSAS

Repository files navigation

Automatic Question Generation and Short Answer Scoring system

Image of application design

Instalation

The first think you have to do is install the requirements. You can do it with the following command:

pip install -r requirements.txt

Question Generation model

The model used on this application is the checkpoint provided by UniLM that you can download from here: here.

Once you downloaded the checkpoint create the pretrained_models/ directory and save the checkpoint there.

How to run

The host and port arguments are only necessary if you want to open a server through internet. If you want to just open the server for local usage skip those parameters.

Linux

export FLASK_APP=server.py
flask run --host=YOUR_LOCAL_IP --port=PORT

Windows

$env:FLASK_APP = "server.py"
flask run --host=YOUR_LOCAL_IP --port=PORT

Credits

This application is powered by the following resources: