Giter VIP home page Giter VIP logo

ctrlbenchmark's Introduction

Continual Transfer Learning Benchmark

The CTrL benchmark aims to help research by studying the transfer behaviour of different models in the Lifelong Learning context.

For a quick presentation of the benchmark, please check out this blog post.

For more details, the paper is available on arxiv.

Creating a Stream:

The TaskGenerator class is at the center of the implementation of the CTrL Benchmark. It gives access to a high-level API allowing to seamlessly generate a wide variety of streams with a loose coupling between the different components such as the underlying dataset(s), the strategy to generate the tasks (split, incremental, mixture of datasets, ...) and the processing to apply to each task.

The 3 main components of a Task Generator are:

  • A pool of concepts to select from to generate the tasks. It can be a few classes, a full dataset or even a mixture of datasets.
  • A pool of transformation that can be modified or combined to apply specific processing to the data for each task.
  • A Strategy, describing how to combine the conecpts and trasnformation over time to generate an actual stream.

Each of these components can be created by hand or using our automatic TaskGenerator creation tool using yaml configuration files.

For examples simply executing

import ctrl
task_gen = CTrl.get_stream('s_minus')

will return the corresponding task generator that be used either directy to generate tasks on the fly:

t1 = task_gen.add_task()
t2 = task_gen.add_task()
t3 = task_gen.add_task()
...

or as an iterator:

for t in task_gen():
    ...

Available streams:

In the current version, only the streams of the CTrL benchmark are directly available, they can be obtained by passing the following name arguments in ctrl.get_stream:

  • S+: "s_plus"
  • S-: "s_minus"
  • Sin: "s_in"
  • Sout: "s_out"
  • Spl: "s_pl"
  • Slong: "s_long"

More documentation and details on the internal components will be progressively added.

See the CONTRIBUTING file for how to help out.

LICENSE

See the LICENSE file.

ctrlbenchmark's People

Contributors

tomveniat avatar ranzato avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.