Skip to main content

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

  • notebooks Jupyter Notebooks go in here, try to use notebooks only for analysis and prototyping, the real training should be done via scripts
  • scripts Python/Bash/PowerShell scripts go in here, that can be downloading the dataset, transforming the data, training a model etc.
  • src The source code (heart) of your project
    • datasets: Write your torch.utils.data.Dataset in here
    • evaluation: Write tasks used to evaluate your model(s) in this module
    • models: Custom model implementation go in here
    • optimizers: Custom optimizers are written in here
    • schedulers: Custom implementation of schedulers
    • trainers: Your model trainer(s) live here
    • transforms: If you need specific transformations you will create them in here
    • utils: Utility functions and modules

TODOs

  1. 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
  1. 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"},
]
  1. Add your requirements to requirements.txt
  2. Create some code =)
  3. Add a PyTest configuration in PyCharm img.png

Code and test conventions

  • black for code style
  • isort for import sorting
  • darglint for docstring checking
  • docstring style: sphinx
  • pytest for running tests
  • nbclean cleans 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aicomp-0.1.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aicomp-0.1.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file aicomp-0.1.1.tar.gz.

File metadata

  • Download URL: aicomp-0.1.1.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

Hashes for aicomp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7f64237d70dd14421e96d8ebe5edf77a8ebd51f96aa4455410936a299c2e2f2
MD5 f0e121c55c97c9f1135be90c87174f4e
BLAKE2b-256 d07158c686c9e722fd3af32ac5650b42ad2c2dda1ed13a528bb6bc90af101785

See more details on using hashes here.

File details

Details for the file aicomp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aicomp-0.1.1-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

Hashes for aicomp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54ce3c8d7681c6df595729a97709dd9858f9fdd558046749a3bc2d840f34dd3c
MD5 c2e5d19e059f57e48ded4f6c86c5ef2a
BLAKE2b-256 6ea5a6e63ff74e734be5017c145a11c264c5678b20617deea8cc2dcc5f7ed225

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page