A project to recognize and assess prediction data (text, numerical, audio, visual). The goal is to provide an analysis of how accurate predictions are.
├── misc # Contains random pieces of unfinished code.
├── prediction_classification # Contains the pipeline to classify if a sentence is a prediction or not.
├── prediction_correctness # Contains the pipeline to assess how similar a prediction is to an actual outcome.
├── classification_models.py # Contains the models to classify if a sentence is a prediction or not.
├── clean_predictions.py # Contains the code to clean our data.
├── data_processing.py # Contains the code to manipulate our data.
├── feature_extraction.py # Contains the code to extract features from predictions.
├── log_files.py # Contains the code to produce a log file.
├── requirements.py # Contains the requiremmts to run code in project.
├── text_generation_models.py # Contains the LLMs to generate our data.
└── README.md # Project documentation
Use the package manager you prefer. If uv package manager, follow the below
-
Fork the repo and see latest work in development branch, unless stated otherwise by one of the contributors.
-
Use the package manager you prefer. If uv package manager, follow the below.
- Install the uv package manager. For macOS, you can use
brew install uv, - OPTIONAL: Create a project with
uv init .that'll default to name of directory. It may need to be repository namepredictions, so you could tryuv init predictions- If you already see a
.tomlfile, you should be able to skip.
- If you already see a
- Create virtual environment with
uv venvoruv venv <name>(uv venv .venv_predictions) - Activate virtual environment with
source .venv/bin/activateorsource .<name>/bin/activate(source .venv_predictions/bin/activate) - Install requirements with
uv pip install -r pyproject.toml - Install
uv pip install ipykernelso you can run the jupyter notebooks - Create a
.envfile- Create a NaviGator Toolkit API key --
NAVI_GATOR_API_KEY = "djb2". See steps below. - OPTIONAL: Create a Groq Cloud API key --
GROQ_CLOUD_API_KEY = "djb". Similar to NaviGator steps.
- Create a NaviGator Toolkit API key --
Only UF students
- Navigate to NaviGator Toolkit.
- Enter your UF log in credentials.
- Click
Virtual Keys$\rightarrow$ + Create New Key.- For Team, select "navigator-toolkit", which should be the default option.
- Enter a Key Name of your choice. An example is
uf_data_studio_predictions_projectorpredictions_project. - For Models, you can select
All Team Models - You can enter/skip Optional Settings.
- Click
Create Key
- Ensure you have forked the repo, then navigate to the development branch, create a new file called '.env', and add the string
NAVI_GATOR_API_KEY= <your_api_key>.
See the issue you're working on for details. If no details are provided, then reach out (dj.brinkley@ufl.edu unless we already have another mode of communication).
- Create a [NaviGator](https://api.ai.it.ufl.edu/) API key -- `NAVI_GATOR_API_KEY = "djb2"`
- OPTIONAL: Create a [Groq Cloud](https://console.groq.com/) API key -- `GROQ_CLOUD_API_KEY = "djb"`