HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dcastm

no profile record

Submissions

5 years of freelancing: same work, better pay, and a ceiling

dylancastillo.co
4 points·by dcastm·2 tháng trước·0 comments

LLM research on Hacker News is drying up

dylancastillo.co
30 points·by dcastm·3 tháng trước·11 comments

The last shall be (slightly) safer

dylancastillo.co
2 points·by dcastm·3 tháng trước·0 comments

Cover Your Ass

dylancastillo.co
4 points·by dcastm·5 tháng trước·0 comments

I hate AI side projects

dylancastillo.co
80 points·by dcastm·5 tháng trước·120 comments

Show HN: AI data analyst that runs Python in the browser

kasipa.com
1 points·by dcastm·5 tháng trước·3 comments

Show HN: Are You a Good Estimator?

estimator.dylancastillo.co
15 points·by dcastm·9 tháng trước·9 comments

How to Write Good Prompts

dylancastillo.co
3 points·by dcastm·9 tháng trước·0 comments

ClaudeCodeholic

dylancastillo.co
4 points·by dcastm·9 tháng trước·1 comments

comments

dcastm
·tháng trước·discuss
Same for me. I actively ask the LLM to write as few tests as possible. Otherwise you end up redundant and low value ttests.
dcastm
·2 tháng trước·discuss
Reminder to use a cooldown period: https://dylancastillo.co/til/securing-package-managers.html
dcastm
·5 tháng trước·discuss
Just Pyodide for now!
dcastm
·5 tháng trước·discuss
I have the same experience with local models. I really want to use them, but right now, they're not on par with propietary models on capabilities nor speed (at least if you're using a Mac).
dcastm
·6 tháng trước·discuss
I’ve worked with great engineers from India/Pakistan. I didn’t hire them, so don’t know too much about the process of how to find them but they were definitely as good as anyone I’ve seen in Europe.
dcastm
·6 tháng trước·discuss
I live in Spain. I’ve been in the industry for the last 10 years.

I’ve seen from a very close distance several European companies move a big part of their operations to India. Have had close friends laid off recently and seen them struggle for months to find a new jobs. Plus, I see tighter freelance market these days.

This was unthinkable not long ago.
dcastm
·6 tháng trước·discuss
Which is why fewer and fewer companies are hiring in Europe.
dcastm
·6 tháng trước·discuss
Except we didn’t and there’s already an ongoing refugee crisis.

[0] https://terrytao.wordpress.com/2024/08/02/what-are-the-odds-...

[1] https://en.wikipedia.org/wiki/Venezuelan_refugee_crisis
dcastm
·7 tháng trước·discuss
While I agree that you must be careful when using structured outputs, the article doesn't provide good arguments:

1. In the examples provided, the author compares freeform CoT + JSON output vs. non-CoT structured output. This is unfair and biases the results towards what they wanted to show. These days, you don't need to include a "reasoning" field in the schema as mentioned in the article; you can just use thinking tokens (e.g., reasoning_effort for OpenAI models). You get the best of both worlds: freeform reasoning and structured output. I tested this, and the results were very similar for both.

2. Let Me Speak Freely? had several methodological issues. I address some of them (and .txt's rebuttal) here: https://dylancastillo.co/posts/say-what-you-mean-sometimes.h...

3. There's no silver bullet. Structured outputs might improve or worsen your results depending on the use case. What you really need to do is run your evals and make a decision based on the data.
dcastm
·9 tháng trước·discuss
Makes sense! I like the slider idea, but not sure if it’d introduce some bias to the results.
dcastm
·10 tháng trước·discuss
Hey OP, I found some issues with your code:

During SFT, it uses the full training dataset[1]:

df = pd.read_csv('data/extraction_training_data.csv')

And during the evaluation, it uses the middle part of the same dataset[2]:

df = pd.read_csv('data/extraction_training_data.csv')

df = df[100000:100000+NUM_TEST_SAMPLES]

Also, you split train/test/val by chunk and not by document[3]. Then, the model "has seen" the documents that you're using to evaluate it (even if you're not evaluating it on the same chunks).

[1]: https://github.com/herniqeu/extract0/blob/0f8696a6fb1b620658...

[2]: https://github.com/herniqeu/extract0/blob/0f8696a6fb1b620658...

[3]: https://github.com/herniqeu/extract0/blob/0f8696a6fb1b620658...