AI Competition - Multi-task learning for mathematics misconception detection
Project description
DataScience Project Template
A template with src and tests already prepared, based on Python 3.11.9 and Torch 2.3.1 (same as on GPUHub).
Structure
notebooksJupyter Notebooks go in here, try to use notebooks only for analysis and prototyping, the real training should be done via scriptsscriptsPython/Bash/PowerShell scripts go in here, that can be downloading the dataset, transforming the data, training a model etc.srcThe source code (heart) of your projectdatasets: Write yourtorch.utils.data.Datasetin hereevaluation: Write tasks used to evaluate your model(s) in this modulemodels: Custom model implementation go in hereoptimizers: Custom optimizers are written in hereschedulers: Custom implementation of schedulerstrainers: Your model trainer(s) live heretransforms: If you need specific transformations you will create them in hereutils: Utility functions and modules
TODOs
- Set up your dev environment
pip install -r requirements.txt
# Install pre-commit hook
pre-commit install
To run all the linters on all files:
pre-commit run --all-files
- Change project name and description in
pyproject.toml
[project]
name = "Datascience Project Template"
description = "Template for an AICOMP DataScience Project"
version = "0.1.0"
authors = [
{name = "Pascal Baumann", email = "pascal.baumann@hslu.ch"},
]
- Add your requirements to
requirements.txt - Create some code =)
- Add a PyTest configuration in PyCharm
Code and test conventions
blackfor code styleisortfor import sortingdarglintfor docstring checking- docstring style:
sphinx pytestfor running testsnbcleancleans up your Jupyter notebooks before committing- main/master branch is protected and needs merge request with approval
Running on the GPU and logging to W&B
Due to us now having an enterprise license on W&B we also have our service bot which can log runs to the appropriate team.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aicomp-0.1.0.tar.gz.
File metadata
- Download URL: aicomp-0.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0a909370a65f3a86ace5a959272d0c25ad5a5df53e6989e5bf83db25eec68fb
|
|
| MD5 |
5aa6607fd9d58f4ba9797d7e1fe7262d
|
|
| BLAKE2b-256 |
67616b29633798d48cfb4f6bc163e51bddacd2946553003a97c8a826a452dcd7
|
File details
Details for the file aicomp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aicomp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be9aad341b71267acf5bbaed1c98ff995edc5d5cff5d8ca361420b105ed69c05
|
|
| MD5 |
9ebce9451e874f26154c98f748d8732a
|
|
| BLAKE2b-256 |
ddaaaa8d798b1768ad6f6e949e88ce33c7b2390bf1721fee83390529c4f64a5e
|