Better HN
topnewbestaskshowjobs
Log inSign up

kennethwolters

115 karma · joined Nov 13, 2023 (3y ago) · 41 submissions

Submissions

1.

Convert Your Chatbot's Markdown to Discord-Complaint Markdown(markdowntodiscord.com ↗)

2 points · by kennethwolters · 2mo ago · discuss

2.

Litelm: LiteLLM Without the Bloat(github.com ↗)

177 points · by kennethwolters · 2mo ago · 63 comments

comment 8mo ago · link · parent

First commit was 2 weeks ago. A clean-room rewrite of only the most essential APIs of litellm.

Was annoyed that DSPy was about 250 MB big. Mostly due to litellm being bloated and numpy. In order to create dspy-lite [1], I had to create a lighter litellm and make numpy optional (only essential for embeddings).

Made the lighter litellm litelm by selecting the parts of litellm's test suite that mattered and build it back to match litellms API.

4.

Litelm: Litellm Without the Bloat(github.com ↗)

1 points · by kennethwolters · 8mo ago · 1 comment

comment 10mo ago · link · parent

Wrote a piece arguing that AI 1.0 is feudal because GPU scarcity concentrated power in a few cloud providers, but the coming GPU glut will invert this dynamic and make open weights + commodity compute the foundation of AI 2.0. The thesis is that sovereignty requires ownership of your stack (weights, compute, data) rather than renting intelligence from centralized APIs.

6.

AI 2.0(kennethwolters.com ↗)

3 points · by kennethwolters · 10mo ago · 1 comment

comment 11mo ago · link · parent

LLM-driven narrative game. Main technical issue is how go do compaction. I’ve devised a memory hierarchy that compacts the story to a constant amount of tokens per layer. Arc -> Scene -> Moment -> Line. Not sure if that’s the right dimensions to decompose into. Also tinkering how to get the right amount of “divergence” for story progression option generation. A lot of unanswered questions…

comment 11mo ago · link · parent

for me it feels like: Everything is stateful by default/convenience. Building robust systems is in part about confining statefulness to as few parts as possible. To contain statefulness. It’s to buy you some time and capacity. Yet the toughest problems often arise in the stateful parts of the system as well as quasi-stateless parts which sometimes develop hidden statefulness (think of syncing webclient and server state). So being good at handling stateful systems is valuable. Maybe one should even embrace statefulness. However, the AWS Solution Architect will tell you otherwise.

comment 1y ago · link · parent

LLMs are pretty slow. Started a blog post series sharing what I've learned in search of faster LLMs.

10.

AI Under the Hood Part I: Understanding the Machine(kennethwolters.com ↗)

4 points · by kennethwolters · 1y ago · 2 comments

comment 1y ago · link · parent

Wrote an essay on what LLMs reaching their technological limits could mean to "AI Engineering".

12.

No AGI in Sight: What This Means for LLMs(kennethwolters.com ↗)

4 points · by kennethwolters · 1y ago · 1 comment

comment 1y ago · link · parent

not an attempt at rebutting or so, just adding my thoughts:

It doesn't matter if the product is great because of those values if there is a lack product (bc politics and bureaucracy make it infeasible to produce). Makes you think if those values might contribute to the bad politics and bureaucracy. And if so, how.

comment 2y ago · link · parent

Why don't you think that calling the app "Llama-OCR" is good enough?

comment 2y ago · link · parent

can someone tell me what the difference is to the webclient? Seems like a webview to me. No local caching/store.

comment 2y ago · link · parent

Yeah that's a problem. I agree.

comment 2y ago · link · parent

You are responsible for curating your "For You" tab by following/liking-posts-of/replying-to-posts-of/muting/blocking/unfollowing the right accounts.

Once I accepted that my "For You" tab got much better.

comment 2y ago · link · parent

It is very good at "non-human subjects in photos with shallow focus".

Really curious to see what other low-hanging fruits people are finding.

comment 2y ago · link · parent

It is very impressive :)

comment 2y ago · link · parent

txtai is not (just) a vector store, it's a full-fledged RAG system. Apples and oranges if you ask me.

comment 2y ago · link · parent

Don't have anything to add to the others. Just sharing a way of thinking for deciding between RAG and fine-tuning:

(A) RAG is for changing content

(B) fine-tuning is for changing behaviour

(C) see if few shot-learning or prompt engineering is enough before going to (A) or (B)

It's a bit simplistic but I found it helpful so far.

comment 2y ago · link · parent

I am a big fan of local-first design principles. For most enthusiasts, it's the performance benefits. However, for me, it's the potential it has for privacy in web clients.

If you have a web client that only does on-client data storage, you're not dependent on centralized server-side storage for persistence (which is the main privacy-loss hazard).

The problem is that the app host still has all the technological freedom to not honor their privacy agreement, and there don't seem to be backstops to that behavior in browsers.

comment 2y ago · link · parent

tuition-free for how long? current class? Forever?

comment 2y ago · link · parent

fair point!

comment 2y ago · link · parent

Thank you, I will have a look :) This YT channel is gem I found: https://www.youtube.com/@SailingTipsCa Doesn't post a lot, not very high production quality but very high quality information.

comment 2y ago · link · parent

I am fascinated by off-shore sailing, competitive and otherwise.

How racers manage to do the vendee globe (solo, from france around-the-world back to france) in just 80 days with just sails and ropes as engines is beyond me.

FYI the fastest solo sail around the world was set in 2017 at 40 days in a Trimaran

comment 2y ago · link · parent

Don't forget Kary Mullis as another famous scientist thinking HIV does not cause AIDS. I personally don't know what to make of Mullis' and Duesberg's claims. But I found an interesting Mullis article recently in which he presents a hypothesis about how AIDS could develop independently of HIV. Quite interesting, but I am guessing nothing really more than that. https://link.springer.com/article/10.1007/BF01435010 The article is unfortunately paywalled.

comment 2y ago · link · parent

This actually looks great. More choices in terms of GitLab hosting pricing models.

comment 2y ago · link · parent

I am looking into renting Hetzner GEX44 dedicated server to run a couple models on with Ollama. I haven't done the arithmetics yet but I wouldn't be surprised to see a 100x cost-decrease compared to OpenAI APIs (granted the models I'll run on the GEX44 machines will be less powerful)

comment 2y ago · link · parent

IMO petroleum scattering around earth as CO2 damages earth less than petroleum scattering around earth as a petroleum-based solid. Both is bad tho - can't mix layers that are not meant to meet.
12