Git Product home page Git Product logo

tptea's Introduction

TPTea

Tweaks and Pre-Training Tricks for Transformer-based Language Models.

Description

This project is starting as a learning project for us to learn how each component of transformer based language models work in their utmost details and also discover the best practices and why they're the best practices.

Roadmap

Set up the project as a package

  • For config management and handling we can use/get inspired from Hydra and YACS, or other tools.
  • Best practice to generate a Python package (setup, toml etc.)

Everything implemented must be tested (pytest), check out tests coverage Check how to automate new tests, styling (isort, black/ruff), static type checks (mypy)

Implement the following components (the logic may be revisited)

  • Dataset, check how we can make it distributed,
  • Model,
  • Tokenizer (If needed, implement a faster version, either through algorithmic optimization or using another language),
  • Optimizer,
  • Attention,
  • Embeddings,
  • Activations,
  • Normalization,
  • Feed-Forward,
  • Logger,
  • Experiment Tracking,
  • Trainer(Dataset, Model, Optimizer) -> runs optimization, maybe check distributed training
  • Decoding Strategies (greedy, beam search etc.),

tptea's People

Contributors

reinforcedknowledge avatar staghado avatar

Stargazers

Anas ZILALI avatar

Watchers

Kostas Georgiou avatar  avatar

tptea's Issues

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.