Code Monkey home page Code Monkey logo

forge's Introduction

Forge

A Machine Learning Task Page/Butler/Assistant/Helper

Like cooking, after you've done some machine learning experiment in your jupyter notebook, you'll leave behind a trial of mess in the kitchen.

See selling points

Purpose of Forge:

Forge is originally created to organize the above chaos with minimal extra coding, and parallel access through WebUI/python.

Hopefully, this tracking mechanism will evolve to a way offering clearer sense of managing your AI/Learning tasks.

task management example

Installation

This framework demands python3.6 or above, preferably anaconda3, to use python api, install the package under the same environment you train your model.

Run the following under the proper environment

(base)$ pip install git+https://github.com/raynardj/forge

The Web UI

Forge offers a Web UI solution for administrative purpose, cleaning up your AI tasks. weight management page

Python code API

forgebox is a python api that you can add to your python script or jupyter notebook cell. You can train your model happily in the way you like, with very limited addition to your original code. Then your training trial can be read/checked/reviewed on a clean shaved Web interface.

Selling points

Ask yourself have you encountered the following:

  • Hmmmm.... what hyper-parameter did I change for last epoch?
  • I increased this h-param to 64, which yields the F1 score 0.879, wait... what was my F1 before this?
  • I'm putting my model to production, I clearly remember the model weight nlp_binary_cls-v0.2.5.npy was my best performer, but what was the activation function for its attention mask again?
  • I think I had a decent translation model in one of those trying, I can use it to build an API!... only if I stored that version of word-to-index mapping relationship 2 days ago

forge's People

Contributors

raynardj avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

forge's Issues

recording metrics through FG

recording the return metrics in to database

The function in the class forgedb will include

  • registering new metric
  • keep a record in the log
  • check if this is the best performance

The function in the ftorch

  • collect Trainer result(a dictionary) automatically

callbacks on ftorch trainer

callbacks of trainer

The key points are following:

  • should be a list of functions
  • list default empty
  • execute by the end of the epoch iteration
  • separate train/valid callbacks
  • log should be available
  • move the "log saving" to callback

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.