HI,
I m new to ML or AI, just started learning
so my task is to make text generation model using models(LOCALLY in our system for data privacy) like gpt2 or any other that present on internet and then fine tune them by our own dataset. so it can perform according to our requirement. in nodeJS OR javascript (NO PYTHON).
till now, 1.) I m able to download models like gpt2, llama2, etc from huggingFace.
2.) not found content for fine tuning of model through javascript, only python
resources are available.
3.) Can use fine tunned model(.gguf format) for text generation through node-
llama-cpp library in javascript ot nodejs
have also checked tensorflowJS library where, i have downloaded LLM model locally in system like gpt2(.h5 format) and then converted it into TF.JS format(.json and .bin files) and now want to perform text generation but unable to find any code or content for the same in this library.
Now, my first QUESTON:- is it possible to do fine tunig of models through javascript as have not found any resources (only through python resources is available). if yes. then provide me any resource or content.
second QUESTON:- found node-llama-cpp library for text generation, but want any better alternative. if present do provide me resources for that.
OR USING PYTHON IS ONLY BETTER APPROCH FOR FINE TUNING OF MODEL AND THEN TEXT GENERATION ?.
Have also checked openAi’s api’s through which my work can be done like text generation and fine tuning their model gpt3.5 throuh their api but the thing i want model locally for data privacy. so it also not worked for me.