Ze

Zephyr: New [WIP] NN Jax Framework; Short, Simple, Declarative

Hacker News

Zephyr: New [WIP] NN Jax Framework; Short, Simple, Declarative

Hello HN! I have an early work-in-progress Neural Network Framework written on top of JAX. Simple | Declarative | No need to learn duplicated JAX transforms or specialized manipulation functions How to build a NN? 1. Make `f(params, x, hyperparameters)` 2. Initialize the params `params = trace(f, key, x, *hyperparameters)` 3. Use the function `f` you made: `f(params, x, hyperparameters)` 4. Optionally: use partial to bake-in the hyperparams: `model = f(_,_, hypermeters)` ; `_` will be explained in the README. You can also use `partial` Its key difference with other JAX frameworks is its simplicity and straightforwardness. With other frameworks, the network is transformed to an (init, apply) which are pure functions and you basically don't use the actual code you've written and instead use this. With zephyr, neural networks look like neural networks: a function of parameters, input-data, and hyperparameters. It's also patterned for FP use, so partial application will a useful alternative to states in OO. Lastly, it's meant to be declarative and simple. Neural networks are just functions, not objects that need instantiation or anything. This means code are usually shorter as declaration and usage/computation happens in the same place since those things are highly coupled and so placing them together results in less cognitive load. (No more wondering what the MLP(x)'s output-dim-per-layer is, since it's all bundled together). It's early stage and so the core nets are few and unpolished, but I want to focus on the core first before moving on to implementing all core nets. Feedback on any part of it is very welcome!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, new, code · Missing: mac, agents, macos
73%73% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
67%67% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
48%48% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

WI
WIP] Zephyr NN Jax FrameworkL Short, Simple, Declarative49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WIP] Zephyr NN Jax FrameworkL Short, Simple, Declarative

Hacker News1
Wa
WaterFlow – JDK8 simple SWF framework55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WaterFlow – JDK8 simple SWF framework

Hacker News5
Li
LineFlow – Simple NLP Dataset Handler for PyTorch or Any Framework56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LineFlow – Simple NLP Dataset Handler for PyTorch or Any Framework

Hacker News3
Lu
Lucky, an experimental new web framework by thoughtbot59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lucky, an experimental new web framework by thoughtbot

Hacker News3
Ci
Cirkit – A Simple Web Framework49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cirkit – A Simple Web Framework

Hacker News2
Genes Framework
Genes Framework36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple API & UI framework

Indie Hackers1b2b
Op
OpenCQRS – A new CQRS framework for JVM developers60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenCQRS – A new CQRS framework for JVM developers

Hacker News3
Jo
Joomla Framework55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Joomla Framework

Hacker News1
In
IntercoolerJs – A Declarative Ajax Framework73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

IntercoolerJs – A Declarative Ajax Framework

Hacker News22
Si
Sirius – a coffeescript MVC framework55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sirius – a coffeescript MVC framework

Hacker News1