by eulers_secret · 3y ago · 0 comments
So far I've trained 3: 2 on the entire text of ASOIAF (converted from e-books) and 1 on the Harry Potter series. I can ask questions like "tell me a story about a long winter in Westeros" and get something in the "voice" of GRRM and with real references to the text. It can write HP fanfics all day long. My favorite so far was the assistant self-inserting into a story with Jon Snow, complete with "The Assistant has much data for you. Please wait while it fetches it." and actually having a conversation with Jon.
Asking specific questions is way more of a miss (e.x. "Who are Jon Snow's real parents?" returns total BS), but that may be because my 3080 is too weak to train anything other than 7B models in 4bit (which is only supported with hacked patches). I used Koala as my base model.
I'm getting close to dropping $1600 on a 4090, but I should find employment first... but then I'll have less time to mess with it.
Pro+ is more expensive at $50/mo but it allows for more simplified background execution. if you are only just getting started and don't expect to be training for multiple months, then colab or other cloud-notebook providers are really great to start.
The P40 24GB is only $200, supports 4bit, and is about 80% the speed of a 3090 (surprisingly) for LLM purposes.
Good to know, thanks !
It does seem to work using alpca-lora directly, though.
I guess it would do really well with world building lore type stuff, being able to go into great depth about the Brackens vs the Blackwoods but would struggle at the sort of subtext that even human readers may have missed (eg. who poisoned Tywin? and as you said, who are Jon Snow's parents?)
If you use https://github.com/johnsmith0031/alpaca_lora_4bit then 30B only needs 24GB, and works on a single 3090 or $200 P40.