News for hackers. Stuff that matters.
Re:Grok-2 Beta Release by miki123211 on Wednesday August 14, 2024 @03:54AM (#41243668)
LLMs are pretty easy to switch, though.

From a black box perspective, LLMs are pretty simple, you put text or images in, (possibly structured) text comes out, maybe with some tool invocations.

If you use a good library for this, like Python's litellm for example, all it takes is changing one string in your code or config, as the library exposes most APIs of most providers under a simple, uniform interface.

You might need to modify your prompt and run some evals on whatever task your app is solving, but even large companies regularly deprecate old models and introduce vastly better ones, so you should have a pipeline for that anyway.

These models have very little "stickiness" or lock-in. If your app is a Twitter client and is built around the Twitter API, turning it into a Mastodon client built around the Mastodon API would take a lot of work. If your app uses Grok and is designed properly, switching over to a different model is so simple that it might be worth doing for half an hour during an outage.

Re:Grok-2 Beta Release by createaccount99 on Wednesday August 14, 2024 @06:27AM (#41244545)
From my experience, the system prompt matters a lot, and so it's not as simple as just switching.
Re:Grok-2 Beta Release by cosmosgenius on Wednesday August 14, 2024 @06:39AM (#41244597)
Prompt to Output quality vary by a large amount between models IMO. The equivalent analogy would "lets switch programming language for this solved problem".
Re:Grok-2 Beta Release by kloop on Wednesday August 14, 2024 @07:44AM (#41244967)
Sure, but to be consistent with the analogy, we're evoking the program from bash and it's been solved in several languages already.

Trying it isn't exactly locking you into anything

Re:Grok-2 Beta Release by maeil on Wednesday August 14, 2024 @08:22AM (#41245249)
The models are still of a level where for less common/benchmarked tasks, there's often only one model that's very good at it, and whichever is 2nd best is markedly worse, possibly to a degree where it's unusable for anything serious.