HNHacker News
TopNewBestAskShowJobs

eborgnia

83 karma · joined October 12, 2022

submissionscomments
eborgnia··on A Year of Fast Apply – Our Path to 10k Tokens per Second
How do you expect it to be priced? We do give discounts for high volume users.
eborgnia··on A Year of Fast Apply – Our Path to 10k Tokens per Second
Hey, happy to answer! The manual evals we did showed that both morph-v3-fast and morph-v3-large had significantly more smoothing and hallucination behaviors.

It's hard to know for sure because their methods aren't public, but my guess is the dataset they constructed pushes the Fast Apply model to more aggressively fix mistakes introduced by the frontier model in the edit snippet.

This aligns with the fact that their flagship model (morph-v3-large) is 4x slower than ours -- the smoothings/hallucinations are not in the initial code or the edit snippet so they break speculative continuations more frequently. Their 2x faster model (morph-v3-fast) is likely quantized more aggressively (maybe fp4? and run on B200s?) because it exhibits very strange behaviors like hallucinating invalid characters at random points that make the code non-compilable.

From an accuracy POV, auto-smoothing is helpful for fixing obvious mistakes in the edit snippet like missed imports from well known packages. However, it does increase the frequency of code breaking hallucinations like invalid local imports among other functional changes that you might not want a small apply model to perform.

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Glad it's working out -- thanks for the support :)
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
The diffusion approach is really interesting -- it's something we haven't checked out for applying edits just yet. It could work quite well though!

You can definitely use it for markdown, but we haven't seen anyone test it for plaintext yet. I'm sure it would work though, let us know if you end up trying it!

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Haha, we think of "vibe-coded codebases" as codebases produced by nontechnical users that are using an AI tool
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Adding extra structural information about the codebase is an avenue we're actively exploring. Agentic exploration is a structure-aware system where you're using a frontier model (Claude 4 Sonnet or equivalent) that gives you an implicit binary relevance score based on whatever you're putting into context -- filenames, graph structures, etc.

If a file is "relevant" the agent looks at it and decides if it should keep it in context or not. This process repeats until there's satisfactory context to make changes to the codebase.

The question is whether we actually need a 200b+ parameter model to do this or if we can distill the functionality onto a much smaller, more economical model. A lot of people are already choosing to do it with Gemeni (due to the 1m context window), and they write the code with Claude 4 Sonnet.

Ideally, we want to be able to run this process cheaply in parallel to get really fast generations. That's the ultimate goal we're aiming towards

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Happy to collaborate, shoot us an email at info@relace.ai :)
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Hey, these are really interesting points. The question of agentic discovery vs. one-shot retrieval is really dependent on the type of product.

For Cline or Claude Code where there's a dev in the loop, it makes sense to spend more money on Gemeni ranking or more latency on agentic discovery. Prompt-to-app companies (like Lovable) have a flood of impatient non-technical users coming in, so latency and cost become a big consideration.

That's when using a more traditional retrieval approach can be relevant. Our retrieval models are meant to work really well with non-technical queries on these vibe-coded codebases. They are more of a supplement to the agentic discovery approaches, and we're still figuring out how to integrate them in a sensible way.

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Cline orchestrates all the models under the hood, you could use our apply model with Cline. Not sure what model they are using for that feature right now
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
We trained it on over a dozen languages, with a bias towards Typescript and Python. We've seen it work on Markdown pretty well, but you could try it on plaintext too -- curious to hear how that goes
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Open source git repos are a really good place to get data -- it requires a lot of munging to get it into a useful format, but that's the name of the game with model training.

It's on the roadmap to make public evals people can use to compare their options. A lot of the current benchmarks aren't really specialized for these prompt-to-app use cases

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Hey, really appreciate the detailed sign up journey here! Getting the simplest flow is hard, and it's something we obsess over. The docs have been a work in progress for the past couple of months, but now that they are getting better I think it's a good idea to make them more front and center for new users.

We are trying to make this as accessible as possible to the open-source community, with our free tier, but feel free to reach out if you need expanded rate limits. Cheers :)

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
We have a few benchmarks on docs.relace.ai in the model overview sections. Any ideas on other benchmarks you'd like to see are welcome though
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Thanks for the support!
eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Thank you :)

Please do reach out, we love talking to builders in this space & would love to share notes & give you free access. eborgnia@relace.ai

eborgnia··on Launch HN: Relace (YC W23) – Models for fast and reliable codegen
Hey -- good question! We're focused on a narrower task right now that aims to save frontier tokens (both input & output). Our merge + retrieval models are simply smaller LLMs that save you from passing in too much context to Sonnet, and allow you to output fewer tokens. These are cheap for us to run while still maintaining or improving accuracy.