Better HN
topnewbestaskshowjobs
Log inSign up

t5-notdiamond

6 karma · joined Jun 11, 2024 (2y ago) · 16 submissions

Submissions

1.

A Comprehensive Guide to Model Routing for Coding Agents(notdiamond.ai ↗)

4 points · by t5-notdiamond · 7mo ago · discuss

2.

Self-care: Claude Code plugin to self-improve Claude Code(github.com ↗)

3 points · by t5-notdiamond · 7mo ago · discuss

comment 2y ago · link · parent

In offline training of our router, we run extensive cross-domain evaluations to determine when a smaller model can handle a request without any quality loss relative to more powerful models. In an online setting like our chat app, there's probably some more rigorous post-hoc analysis we could do on response quality—could make for a good follow-up post.

4.

Saving $750K on AI inference with one line of code and no quality loss(notdiamond.ai ↗)

8 points · by t5-notdiamond · 2y ago · 2 comments

comment 2y ago · link · parent

Hey hn, this is Tomás, founder of Not Diamond. Today we're open-sourcing RoRF (Routing on Random Forests), a pairwise AI model router that beats all closed and open-source approaches, along with 12 pre-trained model routers:

Hugging Face: https://lnkd.in/gE4FKZWR Github: https://lnkd.in/gn2uKWaY Blog: https://lnkd.in/gutaamm4

When routing between two strong models, RoRF achieves higher accuracy than either individual model at significant cost reductions. When routing between a strong and a weak model pair, we outperform other routing approaches at a lower cost.

The architecture for RoRF is based on a Random Forest Classifier and supports both open-source embedding models like Jina which you can run locally, or closed-source embedding models like Voyage or OpenAI for lower compute requirements.

We developed RoRF earlier this year as a previous iteration of the more powerful router we released through our API. Excited to share this :)

6.

RoRF (Routing on Random Forests)(notdiamond.ai ↗)

6 points · by t5-notdiamond · 2y ago · 1 comment

7.

A curated list of approaches to AI model routing(github.com ↗)

1 points · by t5-notdiamond · 2y ago · discuss

comment 2y ago · link · parent

Thanks Sami :) Has been awesome to be able to share our progress with you

comment 2y ago · link · parent

Glad to hear that

comment 2y ago · link · parent

Awesome, lmk what you think

comment 2y ago · link · parent

Thank you—really glad we could work together on this

comment 2y ago · link · parent

Not yet—very much on the roadmap though

comment 2y ago · link · parent

Hey, thanks for checking it out! You can find some more info on how Not Diamond works here: https://notdiamond.readme.io/docs/how-not-diamond-works

comment 2y ago · link · parent

Hey HN, glad to see this here—I’m the founder and CEO of Not Diamond. Not Diamond makes it super easy to train your own custom AI model routers on your data to outperform any single model by intelligently routing to the highest-quality model for each query. We beat every foundation model on every major benchmark at a lower cost and latency.

To train a router, you literally just upload a dataset with your inputs and eval scores for different models. It’s completely agnostic to your choice of scoring metrics, frameworks, or tools. And if you don’t have your own eval data, you can still use Not Diamond’s base router out of the box—it takes <5m to set up.

Some other features worth noting:

• Python, TypeScript, and REST API support

• Option to route to faster/cheaper models when doing so doesn’t impact quality

• Joint prompt optimization interface

• Online, real-time personalization to hyperpersonalize model recommendations to individual end users

• Blazing fast inference speeds (<100ms)

• Easy deployments to your private infra

Would love to hear what folks think.