HNHacker News
TopNewBestAskShowJobs

pwendell

511 karma · joined October 13, 2011

submissionscomments
pwendell··on Managing AI Coding Costs at Scale
We do this for a lot of our customers (fine tuned to save cost when inference volume is high). Right now for internal coding we are using off-the-shelf models but we are considering fine tuning as well to squeeze more efficiency out.
pwendell··on Managing AI Coding Costs at Scale
Thank you for the feedback. We wrote this because after discussing with some of our peer companies, I realized everyone was roughly doing similar things. And I thought it would be good for someone to just systematically write down what those are so that others can try out the techniques if they find them useful.
pwendell··on Managing AI Coding Costs at Scale
The difficulty of evaluating coding agents is indeed a really big challenge. We built evals on our own codebase and shared some information about that to allow other companies to replicate. We found our own evals correlated loosely with public generic SWE benchmarks.

In large user populations like at Databricks I think the ultimate answer will come from experimentation instead of offline evals. We are already doing this in small groups, exposing them to new candidate models and then measuring per-developer cost and perceived quality changes.

pwendell··on Managing AI Coding Costs at Scale
The issue is the growth rates can cause costs to drastically change quickly. If you have 1,000 employees and the average is spending $100/month you're at a $1.2M run rate. But suddenly a new model comes out that's twice as expensive, there are some changes to the harness (we found randomly Claude Code and other harnesses will make changes that drastically impact efficiency), and then maybe you have some organic user growth as well and BOOM suddenly you're at a $10M run rate within 60 days. And it's now impossible to forecast future growth.

It is true that this problem can be mostly managed by the techniques we mention here. Those are actually pretty difficult to set up at scale, so many companies (including us) we only really did this in earnest once we started to see those large cost oscillations.

The main reason we shared this here is to maybe help other companies get infrastructure in place before massive cost swings rather than after.

pwendell··on Managing AI Coding Costs at Scale
I authored this - happy to answer any questions.
pwendell··on Databricks Releases 15K Record Training Corpus for Instruction Tuning LLMs
15k is the entire corpus we have right now. Hopefully others can join up in releasing additional samples that can be merged in over time.

We'll definitely keep iterating on Dolly and releasing everything openly.

pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
Yes this was a very surprising result... that the relatively small uptraining was able to unlock so much latent knowledge in the model.
pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
Yes, this.
pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
Yes the issue is that some of the training data is arguably tainted with some noncommercial license (it's nuanced, discussed below in my comment). We are releasing weights to people who request but we just wanted to have an email request flow so that we can make sure people know it's just for noncommercial purposes.

Working on a model without this issue. Certainly our goal is totally open models anyone can use for anything.

pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
No I haven't heard of that, we'll engage with that team. This is exactly what we need will look into it.
pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
Yes it's nuanced, but will be simplified going forward.

This uses a fully open source (liberally licensed) model and we also open sourced (liberally licensed) our own training code. However, the uptraining dataset of ~50,000 samples was generated with OpenAI's text-davinci-003 model, and depending on how one interprets their terms, commercial use of the resulting model may violate the OpenAI terms of use. For that reason we are advising only noncommercial use of this model for now.

The next step here is to create a set of uptraining samples that is 100% open. Stay tuned.

pwendell··on Hello Dolly: Democratizing the magic of ChatGPT with open models
Full source code is up here now:

https://github.com/databrickslabs/dolly

Sorry it took us a day to get the external repo setup.

pwendell··on Announcing Spark 1.3
The DataFrame is an evolution of the RDD model, where Spark knows explicit schema information. The core Spark RDD API is very generic and assumes nothing about the structure of the user's data. This is powerful, but ultimately the generic nature imposes limits on how much we can optimize.

DataFrames impose just a bit more structure: we assume that you have a tabular schema, named fields with types, etc. Given this assumption, Spark can optimize a lot of internal execution details, and also provide slicker API's to users. It turns out that a huge fraction of Spark workloads fall into this model, especially since we support complex types and nested structures.

Is the core RDD API going anywhere? Nope - not any time soon. Sometimes it really is necessary to drop into that lower level API. But I do anticipate that within a year or two most Spark applications will let DataFrames do the heavy lifting.

In fact, DataFrames and RDDs are completely inter-operable, either can be converted to the other. This means that even if you don't want to use DataFrames you can benefit from all of the cool input/output capabilities they have, even just to create regular old RDDs.

pwendell··on Introducing DataFrames in Spark for Large Scale Data Science
Very likely in Spark 1.4. Hortonworks has been helping out with this, we just need some internal refacotring to the API to make it work.
pwendell··on Introducing DataFrames in Spark for Large Scale Data Science
No worries. Hopefully you'll reconsider using it!
pwendell··on Introducing DataFrames in Spark for Large Scale Data Science
Hey - sorry you had a bad experience. That bug was filed as a "minor" issue with only one user ever reporting it, so it didn't end up high up in our triage. We didn't merge the pull request because it was not correct, however, we can just add our own fix for it if it's affecting users. In the future, if you chime in on a reported JIRA, it will escalate it in our process.
pwendell··on Announcing Apache Spark 1.1
You can call GraphX algorithms right now from within the Streaming API, for instance compute a graph on a windowed view of data.

Online graph algorithms aren't there yet (probably what you mean). We just started adding online MLlib algorithms, so this is the main focus for now.

pwendell··on Announcing Apache Spark 1.1
Yeah, you can load Parquet data directly into SchemaRDD's in 1.1 and get the type conversion, including use of nested types. That's the long term solution for all of our storage integration is to go through the SchemaRDD API since it's a standard type description and we expect many data sources to integrate there.

Re: databricks cloud - shoot me an e-mail and I'll see if I can help. Right now demand exceeds supply for us on accounts, but I can try!

pwendell··on Announcing Apache Spark 1.1
Hey all - I'm the release manager for Spark 1.1. Happy to answer any questions about Spark or this release.
pwendell··on Leak of Multiple University Databases
The Princeton "University Database" that was hacked is a privately maintained Alumni Association site from the UK. It is not on the Princeton domain or associated with the University at all.

Here's an excerpt: "Come out and suppoert Chickenshed, an inclusive theatre company based in London that brings people of all ages, backgrounds and abilities together to create groundbreaking and exciting new theatre."

Time will tell how the world will change now that this sensitive information is out in the open.

pwendell··on Ask PG: Is There A Startup You Regret Not Funding? (Like Fred and AirBnB)
But surely there are success stories which are outliers/anomalies/red herrings, that you really don't want to try and replicate?

To say that every missed opportunity is a failure is like saying that every CA lottery I didn't buy a ticket for was a mistake. That strategy risks over-fitting to successful fluke's, to people who made bad bets that happened to work out. There is enough loose money floating around today that some people out there are going to make bad bets and succeed.

I don't see why you/YC wouldn't focus on bets where you have an unfair advantage over the market and feel fine passing those up where you don't, even if they have some non-zero probability of success.

pwendell··on Ask PG: Is There A Startup You Regret Not Funding? (Like Fred and AirBnB)
Does it always mean that something went wrong if you passed on an eventually successful startup? That seems like an assumption baked into the question and your answer.

At the end of the day you are taking a calculated risk. The interesting question isn't whether you wished you had funded them, because that is asking you to make a risk-free (in hindsight) decision. The real questions is how you decide whether a missed opportunity indicates a lapse in the way you calculated risk/reward, or simply a bet you ended up on the wrong side of despite it being the right bet at the time.

That's the question I'd really be interested in hearing the answer to. How do you decide whether a missed opportunity represents an error in your process?

pwendell··on Free 2 day Berkeley "big data" class this week
Ya thanks we didn't have this before... all exercises and videos will be archived on the site.
pwendell··on Free 2 day Berkeley "big data" class this week
Yep, videos and exercises will be archived for posterity. Will take a few days to get them posted.
pwendell··on Free 2 day Berkeley "big data" class this week
Live stream includes all tutorials, Piazza forum enrollment, etc. So identical to being there, save the trip to Berkeley and free soda.
pwendell··on Free 2 day Berkeley "big data" class this week
We'll invite everyone who fills out the form to Piazza.
pwendell··on New Data Science Certificate Program
You can actually become a data scientist in 9 seconds because the term has no meaning.