xTuring: Build, Personalize, and Control Your Own LLMs

This repository profile is provided by osrepos.com, an open source repository discovery platform.

xTuring: Build, Personalize, and Control Your Own LLMs

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

Analyzed by OSRepos on July 6, 2026

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

Related repositories

Similar repositories that may be relevant next.

Micstec Skills: A Comprehensive Collection for AI Coding Agents

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.

PythonAI AgentsClaude Code
dify-official-plugins: Extending Dify with AI Models, Tools, and Agent Strategies

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.

PythonAILLM
Agent Skills: A Standardized Way to Give AI Agents New Capabilities

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.

agent-skillsPythonAI
A-MEM: Self-Evolving Memory for Coding Agents

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.

PythonAILLM

Source repository

Open the original repository on GitHub.

11 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️