by fareesh · 3y ago · 0 comments
From what I understand, even to run locally you/your team needs to be able to afford a machine with a 4090. These are super expensive in some countries.
I played around with the smaller Llama/Alpaca models and it wasn't really viable to build anything with.
Not really seeing a use-case for fine-tuning either compared to just few-shot prompting.
Can someone fill me in on what I'm missing? It feels like I'm out of the loop
So... not exactly a serious use-case. But it's what I'm using, and now I'm saving 10s of dollars on inferencing costs per month!
[0] https://github.com/go-skynet/LocalAI
I'm also using this to improve acceleration - https://cloudmarketplace.oracle.com/marketplace/en_US/adf.ta...
This use-case is alright for a toy I guess - which is the extent that I was originally expecting these things to be useful for.
> Are they any good?
Yep, free tier allows you to spec up to 24gb of RAM without paying, which is cool. The bottleneck is really the disk speed, but that's not an issue with mmaped models. There's enough cached memory that it loads instantly, so it's good-ish for this use case.
> Is the free-tier time limited?
No, but there are a lot of strings attached:
- The cores are vCPUs, not dedi (duh)
- You can't create new instances when demand is high (unless you add a credit card)
- Technically Oracle reserves the right to shut down the instance if demand gets really high (although I haven't heard any stories about this personally)
Proceed with caution. It's still a great place to start before you shell out $1/hr for dedi GPU rackspace.
1. Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Tasks
https://huggingface.co/papers/2305.14201
2. Gorilla: Large Language Model Connected with Massive APIs
https://arxiv.org/abs/2305.15334
Consider also these 2 papers supporting the feasibility of fine-tuning:
3. LIMA: Less Is More for Alignment [showing that a very small number of high quality examples is sufficient to align a base model]
https://arxiv.org/abs/2305.11206
4. QLoRA: Efficient Finetuning of Quantized LLMs [showing that LLMs can now be fine-tuned quickly on consumer-grade GPUs]
https://arxiv.org/abs/2305.14314
—-
Adding up these developments (all of which occurred during the span of one week), I don’t see how huge, slow, general-purpose models maintain their relevance in the long term, when a lean, domain-focused model is right there within reach of every application developer.
That's because we're only half a year into LLMs becoming mainstream. Give it 3-4 years. The advancements in bringing down model size, optimizations, and newer GPUs, SoCs from Nvidia, AMD, Apple, Intel, Qualcomm, etc will make it so that top LLMs will run on a highend laptop/desktop.
All advances in this direction do indicate that it will be easier and easier for more people to do things with it.
This doesn't need to work for everyone.
A 4090 costs today 2k, the 3090 with also 24gb costs today 1k and costed 2k.
GP Core count is much lower than than the 4090 but it still does 275 int8 TOPS for only $2k