xTuring: Build, Personalize, and Control Your Own LLMs
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
xTuring is an open-source framework designed to simplify the process of building, personalizing, and controlling Large Language Models (LLMs). It provides an easy way to fine-tune open-source LLMs on your own data, offering features from data pre-processing to efficient training and inference. This tool empowers developers to create private, personalized LLMs locally or in their private cloud environments.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
xTuring is an open-source framework that simplifies the building, personalization, and control of Large Language Models (LLMs). It offers an easy way to personalize open-source LLMs, from data pre-processing to fine-tuning. With xTuring, you can fine-tune, evaluate, and run private, personalized LLMs locally or in your private cloud, making the process fast and cost-efficient.
Installation
To start using xTuring, you can install it via pip:
pip install xturing
Examples
xTuring provides a simple API for fine-tuning and generation. Here's a quick example to fine-tune a lightweight model and generate text:
from xturing.datasets import InstructionDataset
from xturing.models import BaseModel
# Load a toy instruction dataset (Alpaca format)
dataset = InstructionDataset("./examples/models/llama/alpaca_data")
# Start with the lightweight Qwen 0.6B LoRA checkpoint
model = BaseModel.create("qwen3_0_6b_lora")
# Fine-tune and then generate
model.finetune(dataset=dataset)
output = model.generate(texts=["Explain quantum computing for beginners."])
print(f"Model output: {output}")
Additionally, xTuring includes command-line interface (CLI) and user interface (UI) playgrounds for experimenting and interacting with your models.
Why Use xTuring
xTuring stands out for several reasons, making it a powerful choice for LLM personalization:
- Simple API: Offers an intuitive API for data preparation, training, and inference.
- Private by Default: Allows you to run models locally or in your VPC, ensuring data privacy.
- Efficient: Utilizes techniques like LoRA and low-precision (INT8/INT4) to cut costs and resource requirements.
- Scalable: Scales easily from CPU/laptop to multi-GPU configurations.
- Model Evaluation: Includes built-in metrics, such as perplexity, to evaluate model performance.
Links
- GitHub Repository: https://github.com/stochasticai/xTuring
- Documentation: https://xturing.stochastic.ai/
- Discord Community: https://discord.gg/TgHXuSJEk6
Related repositories
Similar repositories that may be relevant next.

Micstec Skills: A Comprehensive Collection for AI Coding Agents
August 21, 2026
Micstec Skills is a centralized GitHub repository offering a vast collection of skills, plugins, and extensions for various AI coding agents. It supports platforms like Claude Code, Gemini CLI, Copilot, and Cursor, providing a unified approach to managing AI agent capabilities. Developers can easily discover, install, and enhance their AI-powered development workflows across multiple environments.

dify-official-plugins: Extending Dify with AI Models, Tools, and Agent Strategies
August 18, 2026
The `dify-official-plugins` repository hosts a collection of official plugins for Dify, an open-source platform for developing LLM-powered AI applications. These plugins, including models, tools, agent strategies, and extensions, enhance Dify's capabilities and are maintained by the official Dify team. They are designed to help developers efficiently build, deploy, and manage AI-driven solutions.

Agent Skills: A Standardized Way to Give AI Agents New Capabilities
August 18, 2026
Agent Skills provides a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows. It allows packaging procedural knowledge and context into portable, version-controlled folders that agents load on demand. This enables agents to gain domain expertise, follow repeatable workflows, and reuse skills across various compatible AI tools.

A-MEM: Self-Evolving Memory for Coding Agents
August 17, 2026
A-MEM is an innovative self-evolving memory system designed for coding agents, organizing knowledge into a dynamic Zettelkasten-style graph. It allows memories to evolve and connect over time, enhancing an agent's ability to recall and utilize information effectively. This system offers both semantic and structural search capabilities for a richer knowledge base.
Source repository
Open the original repository on GitHub.
11 counted GitHub visits