Fine-tuning LLMs locally: A step-by-step guide

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. examples

    TensorFlow examples (by tensorflow)

    Installation of PyTorch or TensorFlow

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. CoreNLP

    CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.

    A suitable LLM library such as Hugging Face's Transformers or Stanford's CoreNLP

  4. Pytorch

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

    Next, we define a training loop that uses our prepared data and optimizes the weights of the model. Here's an example using PyTorch:

  5. transformers

    🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

    The first step is to prepare your data for fine-tuning. This usually involves tokenizing your text and converting it into a format that the LLM can understand. Here's an example using the Transformers library:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • First open source text to video 1.7 billion parameter diffusion model is out

    8 projects | /r/StableDiffusion | 19 Mar 2023
  • KerasHub: a pretrained modeling library

    1 project | news.ycombinator.com | 16 Jan 2026
  • Ask HN: Why do maintainers spend time reviewing my code?

    1 project | news.ycombinator.com | 24 Nov 2025
  • PyTorch vs TensorFlow 2025: Which one wins after 72 hours?

    3 projects | dev.to | 29 Aug 2025
  • KerasHub Welcomes Qwen3

    1 project | news.ycombinator.com | 30 May 2025

Did you know that Python is
the 1st most popular programming language
based on number of references?