Skip to content

Commit c89afb6

Browse files
committed
Add citation.
1 parent 2b28793 commit c89afb6

File tree

2 files changed

+54
-15
lines changed

2 files changed

+54
-15
lines changed

CITATION.cff

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: Python Machine Learning Research Template
6+
message: >-
7+
If you use this template or borrow some of its code, please
8+
cite it as shown below.
9+
type: software
10+
authors:
11+
- given-names: Skander
12+
family-names: Moalla
13+
email: skander.moalla@epfl.ch
14+
affiliation: EPFL
15+
orcid: 'https://orcid.org/0000-0002-8494-8071'
16+
repository-code: 'https://github.com/CLAIRE-Labo/python-ml-research-template'
17+
abstract: >-
18+
A template for starting Python machine learning research
19+
projects with hardware acceleration. It features reproducible
20+
environments on major platforms, a great development experience,
21+
Python project packaging following PyPA guidelines to avoid
22+
hacky imports, experiment management and tracking with Hydra
23+
and Weights & Biases, checkpointing for research experiments
24+
compatible with Weights & Biases, and code quality enforcement
25+
with pre-commit.
26+
keywords:
27+
- python
28+
- machine learning
29+
- reproducibility
30+
- containers
31+
- template
32+
license: MIT

README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
> [!TIP]
2+
> 🌟 If you like this template, please give it a star! 🌟
3+
>
4+
> 📜 If you use this template, borrow some of its code, or refer to it, please cite it as shown on GitHub! 📜
5+
16
> [!IMPORTANT]
27
> **TEMPLATE TODO:**
38
> Replace the title below with your project title, then delete this note.
49
5-
# Python Machine Learning Research Project Template
10+
# Python Machine Learning Research Template
611

712
## Overview
813

@@ -13,32 +18,33 @@
1318
A template for starting Python machine-learning research
1419
projects with hardware acceleration featuring:
1520

16-
- Reproducible environments on major platforms with hardware acceleration with a great development experience
21+
- Reproducible environments on major platforms with hardware acceleration with a great development experience
1722
covering multiple use cases:
18-
- local machines, e.g., macOS (+ Apple Silicon/MPS) and Linux/Windows WSL (+ NVIDIA GPU).
19-
- Remote Linux servers with GPUs, e.g., VMs on cloud providers and IC and RCP HaaS at EPFL.
20-
- Managed clusters supporting OCI containers with GPUs, e.g., the EPFL IC and RCP Run:ai (Kubernetes) clusters
23+
- 💻 local machines, e.g., macOS (+ Apple Silicon/MPS) and Linux/Windows WSL (+ NVIDIA GPU).
24+
- 🌐 Remote Linux servers with GPUs, e.g., VMs on cloud providers and IC and RCP HaaS at EPFL.
25+
- ☁️ Managed clusters supporting OCI containers with GPUs, e.g., the EPFL IC and RCP Run:ai (Kubernetes) clusters
2126
and the SCITAS Slurm clusters.
22-
- Python project packaging following the
27+
- 📦 Python project packaging following the
2328
[PyPA packaging guidelines](https://packaging.python.org/en/latest/tutorials/packaging-projects/) to avoid hacky
2429
imports.
25-
- Experiment management, tracking, and sharing with [Hydra](https://hydra.cc/)
30+
- 📊 Experiment management, tracking, and sharing with [Hydra](https://hydra.cc/)
2631
and [Weights & Biases](https://wandb.ai/site).
27-
- Checkpointing setup for research experiments compatible with Weights & Biases.
28-
- Code quality with [pre-commit](https://pre-commit.com) hooks.
32+
- 💾 Checkpointing setup for research experiments compatible with Weights & Biases.
33+
- 🧹 Code quality with [pre-commit](https://pre-commit.com) hooks.
2934

30-
The template makes collaboration and open-sourcing straightforward, avoiding setup issues and
35+
🤝 The template makes collaboration and open-sourcing straightforward, avoiding setup issues and
3136
[maximizing impact](https://medium.com/paperswithcode/ml-code-completeness-checklist-e9127b168501#a826).
32-
The practices in this template earned its authors
37+
38+
🏆 The practices in this template earned its authors
3339
an [Outstanding Paper (Honorable Mention)](https://openreview.net/forum?id=E0qO5dI5aEn)
3440
at the [ML Reproducibility Challenge 2022](https://paperswithcode.com/rc2022).
3541

36-
Projects made with the template would look like
42+
📌 Projects made with the template would look like
3743
[this toy project](https://github.com/skandermoalla/pytoych-benchmark)
3844
or [this paper](https://github.com/CLAIRE-Labo/no-representation-no-trust) whose curves have been exactly reproduced
39-
(exact same numbers) on multiple different platforms (EPFL Kubernetes cluster, VM on GCP, HPC cluster with Apptainer),
45+
(exact same numbers) on multiple different platforms (EPFL Kubernetes cluster, VM on GCP, HPC cluster with Apptainer).
4046

41-
Follow this README to get started with the template.
47+
📖 Follow this README to get started with the template.
4248

4349
For a brief discussion of the template's design choices, features, and a Q&A check `template/README.md` file.
4450

@@ -94,6 +100,7 @@ Remember to get back to this root one after finishing each step.
94100
4. Edit the `LICENSE` file, or delete it and remember to add one when open-sourcing your code.
95101
[(Some help here).](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)
96102
A simple change if you're fine with the MIT license is to replace the `2022 Skander Moalla` with your year and name.
103+
Same for the `CITATION.cff` file.
97104
Commit.
98105
5. Set up and edit the development environment instructions for the methods and platforms you will use and support.
99106
Each method supports a group of use cases:
@@ -294,7 +301,7 @@ pre-commit run --all-files
294301

295302
This project is licensed under the LICENSE file in the root directory of the project.
296303

297-
The initial code of this repository has been initiated by the [Python Machine Learning Research Project Template](https://github.com/CLAIRE-Labo/python-ml-research-template)
304+
The initial code of this repository has been initiated by the [Python Machine Learning Research Template](https://github.com/CLAIRE-Labo/python-ml-research-template)
298305
with the LICENSE.ml-template file.
299306

300307
Additional LICENSE files may be present in subdirectories of the project.

0 commit comments

Comments
 (0)