{"id":22529733,"url":"https://github.com/promptengineer48/finetune","last_synced_at":"2025-10-04T03:28:32.533Z","repository":{"id":265677593,"uuid":"861030982","full_name":"PromptEngineer48/FineTune","owner":"PromptEngineer48","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-30T12:47:27.000Z","size":26,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T23:04:47.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PromptEngineer48.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-21T20:12:16.000Z","updated_at":"2025-04-21T00:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b360382-d398-4576-86f7-1a470d77d497","html_url":"https://github.com/PromptEngineer48/FineTune","commit_stats":null,"previous_names":["promptengineer48/finetune"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PromptEngineer48/FineTune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PromptEngineer48%2FFineTune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PromptEngineer48%2FFineTune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PromptEngineer48%2FFineTune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PromptEngineer48%2FFineTune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PromptEngineer48","download_url":"https://codeload.github.com/PromptEngineer48/FineTune/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PromptEngineer48%2FFineTune/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259573,"owners_count":25957511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T07:16:13.104Z","updated_at":"2025-10-04T03:28:32.516Z","avatar_url":"https://github.com/PromptEngineer48.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"1.\tFor Setting up Ubuntu: Turn on Windows System for Linux from the features\n2.\tOpen powershell and type “wsl --install”\n3.\tNavigate to \\\\wsl.localhost\\Ubuntu\\home\\asus and create a folder to work on.\n4.\tNext is Installing Visual Studio Code for Ubuntu. Go to VS Code Editor and download the Debian version.\n5.\tPlace the executable file in the Downloads of Windows.\n6.\tNow, in order to access the download folder, go to ubuntu cli and type ls /mnt/c/Users/Asus/Downloads \n7.\tTry to install using the following command: sudo dpkg -i /mnt/c/Users/Asus/Downloads/code_1.93.1-1726079302_amd64.deb\n8.\tYou will fail. But then run these, sudo apt update and sudo apt install -f and then try reinstalling.\n9.\tCongrats, now go to start and open the visual studio code editor ubuntu version. \n10.\tDo the initial settings.\n11.\tNext would be to install miniconda. Using the following command\n    \na.\t# ## Prerequisite. Run on Terminal. Install miniconda. In the folder cd /home/asus/\n\nb.\tmkdir -p ~/miniconda3\n\nc.\twget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh\n\nd.\tbash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3\n\ne.\trm -rf ~/miniconda3/miniconda.sh\n\nf.\t~/miniconda3/bin/conda init bash\n\ng.\t~/miniconda3/bin/conda init zsh\n\nh. source ~/miniconda3/bin/activate\n\ni. conda init --all\n\n13.\tNext would be set up a virtual environment\n    \na.\t### Run on Terminal \n\nb.\tconda create --name unsloth_env python=3.11 pytorch-cuda=12.1 pytorch cudatoolkit xformers -c pytorch -c nvidia -c xformers -y\n\nc.\tconda activate unsloth_env\n\nd.\tpip install \"unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git\"\n\ne.\tpip install --no-deps trl peft accelerate bitsandbytes\n\n15.\tAs a last step, do, conda install jupyter\n16.\tNow, get the files ready, and train the model. While training, there will be another issue of C compiler not found. You solve this by running these two:\na.\tsudo apt update\nb.\tsudo apt install build-essential\n17.\tNext would be to save the models as safe tensors\n18.\tNext would be save in the .gguf format\n19.\tThis would be used to make the ollama model\n20.\tNext, install the Ollama library using the command on terminal “curl -fsSL https://ollama.com/install.sh | sh”\n21.\tCreate the Modelfile and run the ollama command to create the model using the Modelfile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpromptengineer48%2Ffinetune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpromptengineer48%2Ffinetune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpromptengineer48%2Ffinetune/lists"}