Skip to main content

FASTEN

License Version

FASTEN is a flexible and user-friendly framework for building PyTorch-based deep learning emulators for epidemic simulations with stochastic outputs. FASTEN provides three intuitive modules to (1) train deep neural networks on simulation data, (2) select optimal hyperparameters, and (3) generate predictions from unseen inputs.

Installation

FASTEN can be installed via pip:

pip install fasten-cli

Usage

There are two primary components to FASTEN: the configuration file designer and the command line tool.

Configuration File Designer

Before executing a FASTEN, the user must construct a workflow configuration file that outlines the simulation data format and training hyperparameters. The configuration file designer guides users through this process with contextual instructions and validation checks.

Command Line Tool

The FASTEN workflow decomposes the model emulation process into three phases: (1)training, (2) hyperparameter tuning, and (3) output prediction. Each phase is invoked through a dedicated command line module, with a shared configuration file governing the underlying behavior. The command line tool can used as follows:

Training:

usage: FASTEN train [-h] -c CONFIG -i INPUT [-o OUTPUT] [-m MODEL]

options:
  -h, --help           show this help message and exit
  -c, --config CONFIG  JSON file defining configuration parameters
  -i, --input INPUT    TSV file with simulation data
  -o, --output OUTPUT  Folder to output model and figures (default: outputs)
  -m, --model MODEL    ZIP file containing initial model (default: None)

Hyperparameter Tuning:

usage: FASTEN tune [-h] -c CONFIG -i INPUT [-o OUTPUT] [-n TRIALS] [--unique]

options:
  -h, --help           show this help message and exit
  -c, --config CONFIG  JSON file defining configuration parameters
  -i, --input INPUT    TSV file with simulation data
  -o, --output OUTPUT  Folder to output optimal configs and figures (default: outputs)
  -n, --trials TRIALS  Total number of optimation trials (default: 100)
  --unique             Prevents re-training with duplicate hyperparameter sets (default: False)

Output Prediction:

usage: FASTEN predict [-h] -m MODEL -i INPUT [-o OUTPUT] [-n RUNS]

options:
  -h, --help           show this help message and exit
  -m, --model MODEL    ZIP file containing model
  -i, --input INPUT    TSV file with simulation inputs
  -o, --output OUTPUT  TSV file to output predicted simulation data (default: outputs.tsv)
  -n, --runs RUNS      Number of simulation runs per input (default: 0)

Metadata

Release files for FASTEN-cli 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FASTEN-cli 1.0.0
File Size Uploaded
fasten_cli-1.0.0.tar.gz 44.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for FASTEN-cli 1.0.0
File Interpreter ABI Platform
fasten_cli-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 68.7 kB

Release files / fasten_cli-1.0.0.tar.gz

Download URL fasten_cli-1.0.0.tar.gz
Size 44.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3dc8d63798a3bf44c1922597e8d7d5bebdfab24b9e72497fd5d429c76d7b9986
BLAKE2b-256 checksum
How to use checksums
bac705ab213ef429bce267cc26193078115ebd84450bae8723d0a94884dc5b0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release files / fasten_cli-1.0.0-py2.py3-none-any.whl

Download URL fasten_cli-1.0.0-py2.py3-none-any.whl
Size 24.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cf6c2b5e7172d3d2b59fe61b6480b3fa6bc5bf4d548e186d7660cf6463679565
BLAKE2b-256 checksum
How to use checksums
72ab470520ef5004b001878c6212efd7bee8baf1e2b19761eaf9f985d9cc62fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page