Lurker News
I've been playing around with https://github.com/zphang/minimal-llama/ and https://github.com/tloen/alpaca-lora/blob/main/finetune.py, and wanted to create a simple UI where you can just paste text, tweak the parameters, and finetune the model quickly using a modern GPU.

To prepare the data, simply separate your text with two blank lines.
There's an inference tab, so you can test how the tuned model behaves.
This is my first foray into the world of LLM finetuning, Python, Torch, Transformers, LoRA, PEFT, and Gradio.
Enjoy!

Comments (98) 20 threads

Show all comments

Showing thread 6 of 20

Hedepig4 replies#
Slightly tangential, is there some kind of crowdsourced effort to build training data for fine tuning? Alpaca used the training data built from gpt-3.5, so there are terms of use restrictions
Phemist1 reply#
IANAL, but wouldnt feeding the training data into alpaca and then having it output similar text not construe new data that is not copyrighted by stanford/openai/facebook? (It would be a significantly creative and novel worm to get the prompts working correctly..) Obviously you are also not bound by the openai terms of use, and Im not sure if stanford's terms of use are as broad and well-defined...
Hedepig2 replies#
The terms of ChatGPT/GPT-3.5 explicitly state that one cannot use their data to construct competitive models
NavinF4 replies#
Not enforceable. All they can do is ban your ChatGPT account.

Continue this thread — 4 replies

Phemist#
Yes, but 1) you would not be using their data, and 2) you are not bound by their ToS if you never signed up to their service right..
Hedepig#
This looks good. Is the training data in the repo itself?
lxe#
OpenChatKit is great tbh