Giter Club home page Giter Club logo

dfdx-mamba's People

Contributors

swfsql avatar

Watchers

 avatar  avatar

dfdx-mamba's Issues

Port Tokenizer and token processor to dfdx

To reduce the amount of dependencies (or rather concentrate more on dfdx), the Tokenizer (token encoding/decoding) should be ported to dfdx.

This also applies to the token processor, which makes a token selection based on the Vocab output logits.

Add Initialization

Some data structures must have specific initialization so they allow the model to efficiently get trained and also so some properties can emerge from the structure of the data and the model is able to work correctly.

Currently the model is initialized at random, which is incorrect.

Add tests

This is more important when it's possible to train the model, and when it has some cuda support.

Add the softplus operator

The complete softplus operator, which takes the threshold into account to avoid loss in precision, should be added as an actual operator on dfdx and dfdx-mamba should make use of it.

Allow training

Currently the model only implement forward methods, and no forward_mut. Both styles (stateful and stataless) should implement the forward_mut methods.

But higher priority should be given to the stataless forward_mut implementation, since this is more efficient at training.

Add Cuda support

Many underlying operators don't support cuda, and thus dfdx-mamba also doesn't.

Note: this does not refer to a fused Cuda kernel, just a minimal Cuda support based on underlying operators.

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.