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.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchmtl-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e1897ae11a3a673ba069a132208571eaaf68e55e4dded82229af35711c1af1bf
MD5 4bd2dcdf4d23ad8ba489b54935602cbd
BLAKE2b-256 2391274bf71b05c9f31eebf3ad992770f57c1a6cc4b55eabd3d6cd9b3cecbbda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchmtl-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35155179cfc88067fe3bc618a192b37330f3686561bde73a622ae9df9e28cd38
MD5 0994e00e35eb6efadbeba9f40e4e5892
BLAKE2b-256 901ce0bbfd17ca5d5b08d682e00c76cd1d3cc3ef99bb17ac6e859695d65d91ac

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