News for hackers. Stuff that matters.
Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by nico on Thursday May 11, 2023 @02:11PM (#35905981)
Faster, cheaper fine-tuning and training

If I could train a useful model, on my own data, in a reasonable time

I would want to have a CI-training pipeline to always have my models up to date

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by makestuff on Thursday May 11, 2023 @02:19PM (#35906110)
Yeah I remember in undergrad I was working on using transformation learning to train an object detector. Basically you only needed 100ish images to get the model to detect that new object really well.

I'm not sure what the analogous term is for a similar process on LLMs, but that will be huge when there is a service for it.

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by visarga on Thursday May 11, 2023 @03:21PM (#35907099)
LLMs can do that without any examples (zero shot) or with one or a few demonstrations in the prompt, if you can describe the task in the limited context window.

If you want for example to train the model to learn to use a very large API, or access the knowledge in a whole book, it might need fine-tuning.

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by nico on Thursday May 11, 2023 @04:47PM (#35908145)
Could I just train a very small LLM with an English dictionary + Python + large API documentation + large Python code base?

Then do some chat fine tuning (like what HF did with StarCoder to get ChatCoder)

And get a lightweight LLM that knows the docs and code for the thing I need it for

After that, maybe incrementally fine tune the model as part of your CI/CD process

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by toss1 on Thursday May 11, 2023 @05:40PM (#35908751)
How similar were the object to other objects?

E.g., were you trying to distinguish an object vs nothing, a bicycle vs a fish, a bird vs a squirrel, or two different species of songbird at a feeder?

How much would the training requirements increase or decrease moving up or down that scale?

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by ilaksh on Thursday May 11, 2023 @03:12PM (#35906950)
The PaLM 2 stuff released yesterday has fine tuning for their newest large models as a core feature.
Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by jiggawatts on Friday May 12, 2023 @12:57AM (#35912079)
Open-source LLM projects have largely solved this using Low-Rank Adaptation of Large Language Models (LoRA): https://arxiv.org/abs/2106.09685

Apparently an RTX 4090 running overnight is sufficient to produce a fine-tuned model that can spit out new Harry Potter stories, or whatever...

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by nico on Friday May 12, 2023 @10:06AM (#35916560)
How much would they cost aprox per training?

What would the quality of the model be, compared to what Karpathy uses on his video “let’s build gpt from scratch”?

In that video, he builds a decoder-only transformer model, that learns Shakespeare from 1MB of data and trains in 15min

Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by jiggawatts on Sunday May 14, 2023 @12:51AM (#35935411)
These just fine-tune existing models, so the cost is single digit dollars. Whatever it costs in electricity to run a desktop GPU for a day or a few days.
Re:Anthropic - Introducing 100K Token Context Windows, Aroun... by hooande on Friday May 12, 2023 @02:42AM (#35912787)
Just use a machine learning method other than an LLM. If you're going to go to the effort of fine tuning and training, pay people to collect and label data like we used to do before Feb 2023.

If your main concern is question answering or summarization or code completion there are plenty of ways to do that now. If you really require the advanced emergent properties of LLMs, you'll have to work with a company that can afford to train a transformer on the Entire Internet.