News for hackers. Stuff that matters.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by banddk on Sunday December 29, 2024 @08:07AM (#42539701)
Hi HN! We worked at OpenAI and Anthropic and believe we can provide much higher quality code generation by fine-tuning an LLM on your codebase compared to Sonnet-3.5 or o1 but not fine-tuned. Let me know if you are interested and we can fine-tune for you for free to test.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by dr_kiszonka on Monday December 30, 2024 @12:13PM (#42551226)
I wish you posted more evaluation details on your page as text. What exactly was your accuracy vs. Sonnet? (Right now, we can only tell that Sonnet's was ≤ 1/4.3.) Why the Discourse repo? Providing more detailed information would help folks trust your claims more.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:30PM (#42582443)
I agree, we need to post more data. Since we are very early (<1 month) we just shared the initial results. Discourse repo was just a good option since it is a big public repo that could benefit from fine-tuning. We plan to add more benchmarks to the website as we progress.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by WhatsName on Thursday January 02, 2025 @06:51AM (#42573665)
Talk is cheap, benchmarks please. Also why did you decide for LLama? AFAIK deepseek always had a slight edge over llama when it comes to coding performance, or is this no longer the case?
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by KTibow on Thursday January 02, 2025 @07:41AM (#42573935)
Training and running fine tunes of Deepseek could get expensive.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:48PM (#42582551)
Good point, we plan to publish more benchmarks and also publicly host a model for anyone to try. We think Llama is a good option but as we progress we will test other open source models too like deepseek.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by pdimitar on Thursday January 02, 2025 @07:06AM (#42573718)
Some more details that programmers can inspect would be very useful.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:41PM (#42582508)
I agree, we plan to publish more benchmarks and metrics. We also want to publicly host our fine-tuned model for one of the open-source repos so that people can try themselves agains SOTA models.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by siscia on Thursday January 02, 2025 @07:21AM (#42573803)
I am getting quite deep into coding with AI and cost of tokens is a bit of an issue indeed.

Trivial issue because it saves me A LOT of time, but it could be an issue for new people testing it.

I would love to test this approach. Are you guys fine tuning for each codebase?

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by manishsharan on Thursday January 02, 2025 @07:57AM (#42574019)
>>cost of tokens is a bit of an issue indeed

Their cost is $0.7 per 1M token.

DeepSeek is $0.14 / 1M tokens ( cache miss)

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by siscia on Thursday January 02, 2025 @08:15AM (#42574124)
DeepSeek is an amazing product but has few issues:

1. Data is used for training

2. Context window is rather small and doesn't fit as well large codebase

I keep saying this over and over in all the content I create, the valu of coding with AI will come from working on big, complex, legacy codebases. Not from flashy demo where you create a to-do app.

For that you need solid models with big context and private inference.

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by MacsHeadroom on Thursday January 02, 2025 @08:20AM (#42574161)
DeepSeek is open source and has a context length of 128k tokens.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by siscia on Thursday January 02, 2025 @08:30AM (#42574224)
Commercial service have a context of 64k tokens, which I find quite limiting.

https://api-docs.deepseek.com/quick_start/pricing

Running it locally is quite a bit beyond the scope of being productive while coding with AI.

Beside that 128k is still significantly less than Claude

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by elashri on Thursday January 02, 2025 @08:52AM (#42574386)
Shouldn't we be comparing with other open source model? In particular since this is about llama3.3 then they have the exact context limit which is 128k [1]. Also

[1] https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by siscia on Thursday January 02, 2025 @09:18AM (#42574607)
Why?

Whenever using a model to be more effective as a developer I don't particularly care if the model is open source or closed source.

I would love to use open source models as well, but the convenience to just plug an API against some endpoints in unbeatable.

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:46PM (#42582537)
Yes, we fine-tune for each codebase. Now we are focusing on larger enterprise codebases that would: 1. benefit from the fine-tuning the most. 2. have the budget to pay us for the service. For smaller projects that are price-sensitive we are probably not a good fit at this point.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by doubtfuluser on Thursday January 02, 2025 @07:40AM (#42573925)
Any plans on distilling it down to an 8b model to enable it for pure local usage on most consumer hardware?
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:32PM (#42582452)
Could be done in the future. Our current focus is highest accuracy. But there are no limitations on the models - just would depend on user preference of size/performance tradeoff.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by tucnak on Thursday January 02, 2025 @09:05AM (#42574498)
I'm not saying you're an imposter... but you're making it really easy to assume that; it doesn't seem you have learnt much while you guys were there. Are you sure you weren't hired by mistake?
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by ryao on Thursday January 02, 2025 @09:07AM (#42574515)
I would be interested in a fine tune on OpenZFS:

https://github.com/openzfs/zfs

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:35PM (#42582469)
Thank you for the suggestion, we will take a look!
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by futureshock on Thursday January 02, 2025 @09:30AM (#42574705)
It seems an interesting fine-tuning idea. Drawing from reasoning models, I wonder if it’s effective to 10x or 100x the fine-tune dataset by having a larger reasoning model create documentation and reasoning COTs about the code base’s current state and speculation about future state updates. Maybe have it output some verbose execution flow analysis.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:43PM (#42582522)
Thank you for the idea! We are also considering upsampling and distillation. But on high level, correctly setting up the data for simple fine-tuning can already produce great results.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by redman25 on Thursday January 02, 2025 @09:38AM (#42574785)
What is the metric for LLMs? Shouldn't more than just accuracy be measured? If something has high accuracy but low recall, won't it be overfit and fail to generalize? Your metrics would give you false confidence in how effective your model is. Just wondering because the announcement only seems to mention accuracy.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:39PM (#42582492)
Good point, we should provide more detailed metrics. Since we are very early, we focus on the main metric in our view: higher accuracy of changes to be more practically usable. We will do more testing on overfitting and how the model performance on different types of tasks. On high level we believe in the idea of "a well fine-tuned model should be much better than a large general model". But we need more metrics, I agree.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by jbellis on Thursday January 02, 2025 @10:37AM (#42575332)
I'm interested. I submitted my email to your landing page form.
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:46PM (#42582541)
Thank you! Will email you within a couple of days:)
Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by rtfeldman on Thursday January 02, 2025 @12:47PM (#42576657)
Interested! Our large Rust code base at https://zed.dev is open-source at https://github.com/zed-industries/zed and I'd be curious to try this out on it.

My email is richard at our website's domain if you'd like to get in touch!

Re:We fine-tuned Llama and got 4.2x Sonnet 3.5 accuracy for ... by samatdav on Thursday January 02, 2025 @11:34PM (#42582462)
Looks like a great repo to try the fine-tuning! I will email you, thanks!