The Transfer Learning in Dialogue Baselines Toolkit
Project description
The Transfer Learning in Dialogue Benchmarking Toolkit
Overview
TLiDB is a tool used to benchmark methods of transfer learning in conversational AI. TLiDB can easily handle domain adaptation, task transfer, multitasking, continual learning, and other transfer learning settings.
The main features of TLiDB are:
- Dataset class to easily load a dataset for use across models
- Unified metrics to standardize evaluation across datasets
- Extensible Model and Algorithm classes to support fast prototyping
Installation
To use TLiDB, you can simply isntall via pip:
pip install tlidb
OR, if you would like to edit or contribute, you can clone the repository and install from source:
git clone git@github.com:alon-albalak/TLiDB.git
cd TLiDB
pip install -e .
examples/
contains sample scripts for:
- Training/Evaluating models in transfer learning settings
- 3 example models: BERT, GPT-2, T5, and training algorithms for each
How to use TLiDB
TODO:
- Add examples for data loading/training
- Add examples for using examples/run_experiment.py
Folder descriptions:
- /TLiDB is the main folder holding the code for data
- /TLiDB/data_loaders contains code for data_loaders
- /TLiDB/data is the destination folder for downloaded datasets
- /TLiDB/datasets contains code for datasets
- /TLiDB/metrics contains code for loss and evaluation metrics
- /TLiDB/utils contains utility files
- /examples contains sample code for training models
- /examples/algorithms contains code which trains and evaluates a model
- /examples/models contains code to define a model
- /examples/configs contains code for model configurations
- /examples/logs_and_models is the destination folder for training logs and model checkpoints
- /dataset_preprocessing is for reproducability purposes, not required for end users. It contains scripts used to preprocess the TLiDB datasets from their original form into the TLiDB form
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
tlidb-0.0.2.tar.gz
(36.9 kB
view details)
File details
Details for the file tlidb-0.0.2.tar.gz
.
File metadata
- Download URL: tlidb-0.0.2.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4468494be9b2065d3e209acdd01939a29de4f3ab39f89cc5951583d00bd3e9e8 |
|
MD5 | d992077e6049e83cf9e4ee035c59768b |
|
BLAKE2b-256 | 63d22e79cf2b60bd32baa9de3a766c6069884e8ce210a83f76a5da13363135be |