A lightweight module for Multi-Task Learning in pytorch
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1897ae11a3a673ba069a132208571eaaf68e55e4dded82229af35711c1af1bf
|
|
| MD5 |
4bd2dcdf4d23ad8ba489b54935602cbd
|
|
| BLAKE2b-256 |
2391274bf71b05c9f31eebf3ad992770f57c1a6cc4b55eabd3d6cd9b3cecbbda
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35155179cfc88067fe3bc618a192b37330f3686561bde73a622ae9df9e28cd38
|
|
| MD5 |
0994e00e35eb6efadbeba9f40e4e5892
|
|
| BLAKE2b-256 |
901ce0bbfd17ca5d5b08d682e00c76cd1d3cc3ef99bb17ac6e859695d65d91ac
|