Submitted by jaxolingo t3_125qztx in MachineLearning
athos45678 t1_je82thk wrote
Reply to comment by netham91 in [D] The best way to train an LLM on company data by jaxolingo
So as far as set up goes, you just need to: “”” Git clone https://github.com/lxe/simple-llama-finetuner Cd simple-llama-finetuner Pip install -r requirements.txt Python app.py ## if you’re on a remote machine (Paperspace is my go to) then you may need to edit the last line of this script to set ‘share=True’ in the launch args “””
Then you should get a link for the gradio web app. Copy and paste the code samples in the format described before in the input text box. It will look something like this:
“”” Write a code snippet that sorts a function Def sort(arr):
Return arr.sorted()
Some other code snippet input
Some answer
Etc. “””
Edit: I’m drinking with friends sorry i can’t format better. Single line break between prompt and observed correct response, double line break between prompt instances.
netham91 t1_je8dxrt wrote
Thanks
Viewing a single comment thread. View all comments