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
NavinF2 replies#
Not enforceable. All they can do is ban your ChatGPT account.
YetAnotherNick1 reply#
> Not enforcable

Are you willing to assign a upper limit on this probability and bet for it?

throwaway18511 reply#
OpenAI disclaims ownership interest in the model output. If a subscriber (who has a contractual relationship with OpenAI) chooses to generate outputs that could be used to train a competing model, and chooses to share those outputs with third parties, that is not prohibited by the agreement. Further, the data being shared belongs to the subscriber and can be licensed however they desire (though actually, model outputs may not be copyrightable at all). If a third party who does not have a contractual relationship with OpenAI chooses to take this data and train a competing model, they are using the data under valid license and have breached no obligation to OpenAI.

Continue this thread — 1 reply

amrb#
I'm not a lawyer but if a successful company was built off chatgpt's output and without having a contract in place. I could see the totally morale megaCorp's trying to legally take an ownership stake.

Even recently US copywrite office have asked you too list any parts built with AI as we don't have the laws in place to cover this:
https://www.copyright.gov/ai/

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