Coder Social home page Coder Social logo

chatgpt-testautograder's Introduction

Dependencies

pip install openai

Data

The data can be found at https://web.eecs.umich.edu/~mihalcea/downloads.html labeled "Data for Automatic Short Answer Grading"

It can also be downloaded directly at this link

Code

chatgpt*.py

To run the chatgpt files you will need to make a .env file and place add your API_KEY and ORG_ID. Create an empty outcomes/ directory or change the directory name at the top of the file. As well as uncommenting one of the run_section at the bottom of the python file.

test_accuracy.py

This looks through the outcomes files to get the data for the Correct and Incorrect Guesses as well as the how many were marked incorrectly and in which ways. It uses the old way for when it was using openai 0.28.

readdata.py

This is used to get the question and the data based on the section and who scored the data.

outcome folders

These are past runs that can use the test_accuracy.py to view their stats.

obo -> One by One - meaning chatgpt was given each answer individually

old -> old output for version 0.28 of openai library

20 -> 20% trained

80 -> 80% trained

4.5 -> Greater than 4 counts as correct, instead of just 5's

3 -> only 3 correct and 3 incorrect answers to train on

chatgpt-testautograder's People

Contributors

jonathan-gates avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.