For a pipeline for domain-adaptive pretraining, the first results are zyds/transformers-code, liguodongiot/llm-action (This is a general-purpose framework for large language model training and fine-tuning, supporting distributed multi-GPU training and parameter-efficient fine-tuning including LoRA, which directly enables continued pretraining on custom domain corpora) and huggingface/transformers. qwenlm/qwen3 and nvidia/megatron-lm round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Tools and libraries for continuing the pretraining of large language models on specialized domain-specific datasets.
This project is a collection of scripts and workflows for training, fine-tuning, and deploying large language models using the Hugging Face Transformers toolkit. It functions as a distributed training framework, a library for natural language processing task implementations, and a system for building retrieval-augmented generation chatbots. The repository includes specialized tools for model optimization, such as a Bayesian hyperparameter optimizer for automatically tuning model settings. It provides implementations for scaling model training across multiple graphics processors using data par
This repository offers training scripts and distributed multi‑GPU support on top of Hugging Face Transformers and PEFT, which lets you continue pretraining a model on your own corpus with LoRA, but it is a general fine‑tuning and deployment toolkit rather than a dedicated domain‑adaptation framework.
This project is a comprehensive framework for the training, fine-tuning, and deployment of large language models. It functions as a distributed deep learning platform that enables users to scale model workflows across multiple hardware nodes while providing tools for model evaluation and performance benchmarking. The platform distinguishes itself by offering specialized utilities for model compression and weight transformation, allowing users to reduce memory footprints and latency through quantization and pruning. It supports the adaptation of large models for consumer-grade hardware, facili
This is a general-purpose framework for large language model training and fine-tuning, supporting distributed multi-GPU training and parameter-efficient fine-tuning (including LoRA), which directly enables continued pretraining on custom domain corpora.
Transformers is a comprehensive library for machine learning that provides a unified interface for training, fine-tuning, and deploying transformer-based models. It supports a wide range of tasks, including text classification, language modeling, question answering, and sequence-to-sequence translation, while offering specialized architectures for both text and vision processing. The framework includes tools for managing the entire model lifecycle, from data preprocessing and tokenization to distributed training and inference. The library features extensive support for model optimization and
Hugging Face Transformers is a comprehensive library for training and fine-tuning transformer models, supporting continued pretraining via causal language modeling, checkpoint resumption, domain-specific corpus loading, distributed multi-GPU training, and integration with parameter-efficient methods like LoRA, making it a direct and feature-rich match for your search.
Qwen3 is a transformer-based large language model designed as a generative AI foundation for understanding, reasoning, and generating human language. It functions as a comprehensive ecosystem for model training, fine-tuning, and production-ready inference, providing the underlying architecture and weights necessary to build diverse artificial intelligence applications. The project distinguishes itself through extensive support for model quantization and distributed inference, enabling efficient execution across a wide range of hardware from consumer-grade devices to scalable cloud infrastruct
Qwen3 is a complete ecosystem for transformer-based language model training and fine-tuning, supporting checkpoint resumption, custom datasets, LoRA, causal LM, and distributed multi-GPU training – everything needed to continue pretraining on a domain-specific corpus, as described in its training resources and fine-tuning framework tags.
Megatron-LM is a distributed transformer training library and large language model training framework designed to scale models across thousands of GPUs. It functions as a GPU-optimized deep learning toolkit and a scaling engine for mixture-of-experts architectures, enabling the training of models with hundreds of billions of parameters. The project implements multi-dimensional model parallelism, combining tensor, pipeline, data, expert, and context-based workload distribution. It specifically optimizes mixture-of-experts architectures through integrated memory and communication improvements t
Megatron-LM is a distributed training framework for large language models that supports resuming from checkpoints, custom data loading, and multi-GPU parallelism, though it lacks built-in parameter-efficient fine-tuning like LoRA and explicit evaluation tools for domain adaptation.
Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic speech recognition, and large-scale language model training. It provides a framework for processing and aligning diverse data sources, including text, audio, and video, to support tasks such as speech-to-text conversion and multimodal sequence learning. The project is distinguished by its distributed training capabilities, which utilize parameter sharding, mixed-precision training, and CPU offloading to handle models that exceed single-device memory. It also includes specializ
Fairseq is a full toolkit for large-scale language model training that supports resuming from checkpoints, custom datasets, and distributed training, covering the core needs for continued pretraining, but it lacks built-in LoRA parameter-efficient fine-tuning.
This project is a comprehensive framework for the entire lifecycle of transformer-based language models, supporting everything from foundational pretraining to specialized deployment. It provides a modular toolkit for defining neural network architectures, managing data preparation pipelines, and executing training routines across various scales. The framework is designed to handle the full model development process, including supervised fine-tuning, behavioral alignment, and the integration of agentic capabilities. What distinguishes this framework is its focus on efficient training and adva
Minimind is a general-purpose framework for training and fine-tuning transformer-based language models, covering the full lifecycle including pretraining and continued training on custom corpora with support for distributed training and checkpointing, though it does not specifically highlight domain adaptation evaluation.
nanoGPT is a lightweight engine for training and fine-tuning transformer-based language models from scratch. It provides a minimalist codebase designed for educational exploration and rapid experimentation with neural network architectures, utilizing self-attention and feed-forward layers to process sequences and predict subsequent elements. The project distinguishes itself through a focus on high-speed data ingestion and hardware-accelerated performance. It includes a dedicated pipeline for transforming raw text into memory-mapped binary files, which enables efficient streaming during traini
nanoGPT is a general transformer training engine that supports resuming from pretrained checkpoints, custom data loading, and multi-GPU training, so it can be used for continued pretraining on domain-specific corpora, but it does not include built-in parameter-efficient fine-tuning like LoRA or dedicated domain adaptation evaluation.
gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It implements the transformer architecture and provides a toolkit for training models with billions of parameters by distributing weights across compute clusters. The framework distinguishes itself through extensive support for distributed model parallelism, including pipeline and sequence parallelism, to overcome single-device memory limits. It further supports sparse model architectures using a mixture of experts system with Sinkhorn-based routing. The project covers a broad ran
GPT-NeoX is a distributed training framework for autoregressive language models, supporting checkpoint resumption, causal language modeling, and multi-GPU parallelism—core capabilities for continued pretraining—though it lacks built-in parameter-efficient methods like LoRA and is not specifically tailored as a domain-adaptation toolkit.
MedicalGPT is an open-source framework for fine-tuning large language models, with a dedicated focus on adapting general models to the medical domain. It provides a complete pipeline that covers continued pretraining on domain-specific corpora, supervised instruction tuning, tokenizer vocabulary extension with medical terminology, and alignment to clinician preferences through direct preference optimization, reinforcement learning, or knowledge distillation. The framework also supports training models to invoke external tools and functions in multi-turn clinical conversations. The platform di
MedicalGPT is a framework explicitly designed for continued pretraining of large language models on domain-specific corpora, with support for loading custom text and resuming from pretrained checkpoints—directly matching the core need, though some advanced features like LoRA or distributed training are not confirmed in the available evidence.
Unsloth is a high-performance training and inference platform designed to optimize the lifecycle of large language and multimodal models. It provides a comprehensive engine for fine-tuning, executing, and managing models locally, with a focus on reducing memory consumption and increasing compute speed on consumer-grade hardware. The platform distinguishes itself through hand-optimized kernels and automated computational graph techniques that maximize hardware throughput. It supports advanced training methodologies, including reinforcement learning for reasoning and efficient adapter-based fin
Unsloth is a high-performance training platform for large language models that supports loading pretrained checkpoints, custom datasets, and parameter-efficient methods like LoRA, making it capable of continued pretraining on domain-specific text, though its primary focus is fine-tuning rather than domain-adaptation evaluation.
NeMo is a multimodal AI framework and toolkit designed for the development, training, and scaling of large language models, generative AI systems, and speech-based models. It functions as an automatic speech recognition toolkit, a text-to-speech engine, and a framework for building models that process and generate combinations of text, image, and audio data. The project serves as a conversational AI orchestrator capable of managing real-time, interruptible voice interactions. It provides specialized workflows for speech translation, converting spoken audio from one language into text or speec
NeMo is a multimodal training framework that supports developing and scaling large language models, including continued pretraining on custom corpora, though its emphasis on speech and multimodal tasks makes it broader than a dedicated continued pretraining tool.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| zyds/transformers-code | 3.8K | Jupyter Notebook | — | |
| liguodongiot/llm-action | 23.2K | HTML | apache-2.0 | |
| 168.6K |
| Python |
| Apache-2.0 |
| qwenlm/qwen3 | 27.3K | Python | — |
| nvidia/megatron-lm | 16.7K | Python | NOASSERTION |
| facebookresearch/fairseq | 32.2K | Python | MIT |
| jingyaogong/minimind | 65K | Python | Apache-2.0 |
| karpathy/nanogpt | 64.5K | Python | MIT |
| eleutherai/gpt-neox | 7.4K | Python | apache-2.0 |
| shibing624/medicalgpt | 4.8K | Python | apache-2.0 |