akhfarisfz/TA_EssayGrading

0

stars

6

commits

Jupyter Notebook

primary language

May 7, 2025

updated

replit.com/@Akh-FarisFaris/TAEssayGrading

README

If you'd like to run the Flask app using python app.py, here’s how you can adjust the README for that method.


TA_EssayGrading

This project provides a web-based essay grading system that leverages natural language processing (NLP) and machine learning models to assess student responses to essay questions.

Requirements

To set up the environment, install the following dependencies:

Flask==2.0.1
pandas==1.3.3
numpy==1.21.2
scikit-learn==0.24.2
transformers==4.9.2
torch>=1.10.0
nlp-id>=0.6.0
gunicorn

Installation

  1. Clone this repository:
git clone https://github.com/your-username/TA_EssayGrading.git
cd TA_EssayGrading
  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
      
    • On Mac/Linux:

      source venv/bin/activate
      
  2. Install the required dependencies:

pip install -r requirements.txt

Usage

Step 1: Prepare the Template

  • Download the provided essay template file.
  • The template will have fields for student answers to one specific essay question.

Step 2: Fill in Student Answer

  • Open the template and input the student's essay answer into the corresponding field.

Step 3: Run the Application

  1. Run the Flask app locally:
python app.py
  1. Visit http://127.0.0.1:5000 in your web browser.

  2. On the web page, enter the correct answer key for the essay question.

  3. Upload the student’s essay answer in the required format.

  4. The system will grade the essay based on the provided answer key.

Step 4: Deploy (Optional)

To deploy the app in production using Gunicorn:

gunicorn app:app

This will start the application in production mode.


With this setup, the app will be run via python app.py instead of flask run. Let me know if this works or if you need any more adjustments!

Contributors

akhfarisfz

6 commits

akhfarisfz/TA_EssayGrading

0

stars

6

commits

Jupyter Notebook

primary language

May 7, 2025

updated

replit.com/@Akh-FarisFaris/TAEssayGrading

README

If you'd like to run the Flask app using python app.py, here’s how you can adjust the README for that method.


TA_EssayGrading

This project provides a web-based essay grading system that leverages natural language processing (NLP) and machine learning models to assess student responses to essay questions.

Requirements

To set up the environment, install the following dependencies:

Flask==2.0.1
pandas==1.3.3
numpy==1.21.2
scikit-learn==0.24.2
transformers==4.9.2
torch>=1.10.0
nlp-id>=0.6.0
gunicorn

Installation

  1. Clone this repository:
git clone https://github.com/your-username/TA_EssayGrading.git
cd TA_EssayGrading
  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
      
    • On Mac/Linux:

      source venv/bin/activate
      
  2. Install the required dependencies:

pip install -r requirements.txt

Usage

Step 1: Prepare the Template

  • Download the provided essay template file.
  • The template will have fields for student answers to one specific essay question.

Step 2: Fill in Student Answer

  • Open the template and input the student's essay answer into the corresponding field.

Step 3: Run the Application

  1. Run the Flask app locally:
python app.py
  1. Visit http://127.0.0.1:5000 in your web browser.

  2. On the web page, enter the correct answer key for the essay question.

  3. Upload the student’s essay answer in the required format.

  4. The system will grade the essay based on the provided answer key.

Step 4: Deploy (Optional)

To deploy the app in production using Gunicorn:

gunicorn app:app

This will start the application in production mode.


With this setup, the app will be run via python app.py instead of flask run. Let me know if this works or if you need any more adjustments!

Contributors

akhfarisfz

6 commits

Languages

Jupyter Notebook

99.0%