gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Fine Tuning on Custom Data ipynb

Open samarthsarin opened this issue 2 years ago • 14 comments
trafficstars

Can you please provide a ipynb notebook which shows steps for fine tuning this model on custom data?

samarthsarin avatar Mar 30 '23 12:03 samarthsarin

Please!

FiveTechSoft avatar Mar 30 '23 18:03 FiveTechSoft

The entire process is just:

make your data, in the jsonl format like you get when you download the standard data edit configs/train/finetune_lora.yaml to point to your new data file and set up your wandb/hf account info possibly edit configs/deepspeed/ds_config.json depending on your local GPU/CPU/memory (batch sizes, and maybe set stage3_gather_16bit_weights_on_model_save and cpu offload) run train.py

If you don't have wandb or hf, you may need to comment some lines out in train.py

daleevans avatar Mar 30 '23 22:03 daleevans

I got your point. Still for better documentation I would be really grateful if some jupyter nptebook can be provided as majority of the audience here is looking for one such fine tuning code. We all would be really grateful if you can provide one such code for fine tuning gpt4all in a jupyter notebook.

Thank you

samarthsarin avatar Apr 05 '23 19:04 samarthsarin

Hi @zanussbaum, any advise on how to move forward with this?

magedhelmy1 avatar Apr 21 '23 12:04 magedhelmy1

+1

ajayarunachalam avatar Apr 30 '23 06:04 ajayarunachalam

+1

surajtripathy07 avatar May 14 '23 06:05 surajtripathy07

+1

MiniWho avatar May 14 '23 22:05 MiniWho

+1

NikhilShaw avatar May 18 '23 08:05 NikhilShaw

+1

naman-TI avatar May 18 '23 10:05 naman-TI

+1

KiranNadig62 avatar May 18 '23 13:05 KiranNadig62

+1

ybdesire avatar May 20 '23 13:05 ybdesire

+1

klintT avatar May 21 '23 00:05 klintT

+1

joseberlines avatar May 22 '23 19:05 joseberlines

+1

irfanmaulanaak avatar Jun 02 '23 08:06 irfanmaulanaak

I got your point. Still for better documentation I would be really grateful if some jupyter nptebook can be provided as majority of the audience here is looking for one such fine tuning code. We all would be really grateful if you can provide one such code for fine tuning gpt4all in a jupyter notebook.

+1 I am also looking for this. If any documentation or jupyter notebook would definitely help

Dineshk011287 avatar Jun 19 '23 05:06 Dineshk011287

+1

windowshopr avatar Oct 20 '23 06:10 windowshopr

Closing this issue as stale. A lot has changed since Nomic last trained a text completion model.

cebtenzzre avatar May 09 '24 22:05 cebtenzzre