Skip to main content

A lightweight module for Multi-Task Learning in pytorch

Project description

alt text
A lightweight module for Multi-Task Learning in pytorch.

torchmtl tries to help you composing modular multi-task architectures with minimal effort. All you need is a list of dictionaries in which you define your layers and how they build on each other. From this, torchmtl constructs a meta-computation graph which is executed in each forward pass of the created MTLModel. To combine outputs from multiple layers, simple wrapper functions are provided.

Installation

torchmtl can be installed via pip:

pip install torchmtl

Quickstart

Assume you want to use two different embeddings of your input, combine them and then solve different prediction tasks.

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

torchmtl-0.1.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

torchmtl-0.1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file torchmtl-0.1.3.tar.gz.

File metadata

  • Download URL: torchmtl-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.4 Linux/3.13.0-144-generic

File hashes

Hashes for torchmtl-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3a2a2d8c2a0c52a13bb8e78000c616ec710859e3880b2e7ba016ca92b7fda17b
MD5 2c9f1137a0d5484a5212b8c2c2c1ab63
BLAKE2b-256 4e1ca34282e63e47326b5fae64e229fc841d261597836f3d7f2ffc487fa7d3a7

See more details on using hashes here.

File details

Details for the file torchmtl-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: torchmtl-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.4 Linux/3.13.0-144-generic

File hashes

Hashes for torchmtl-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 187809fa31c6fac7cc6ea418640259b5f83d521d136087d8c6eba2dc4d68281a
MD5 eb6b9b6aa95fd5fd55cd637adf927ff5
BLAKE2b-256 bb8f53ca62ba65216c1658b55b03aab0a723335e953cfa888aeef49532c19f33

See more details on using hashes here.

Supported by

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