Liu
@modelscope
About Liu
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Trinity-RFT": {
"command": "docker",
"args": [
"build",
"-f",
"scripts/docker/Dockerfile",
"-t",
"trinity-rft:latest",
"."
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Liu?
Liu is a general‑purpose, flexible and easy‑to‑use framework for reinforcement fine‑tuning (RFT) of large language models. It supports diverse application scenarios and serves as a unified platform for exploring advanced RL paradigms, with capabilities for synchronous/asynchronous, on‑policy/off‑policy, and online/offline training.
How to use Liu?
Install Liu via pip install trinity-rft==0.2.1 or from source (Python ≥3.10, CUDA ≥12.4, at least 2 GPUs required). Prepare a model and dataset from Huggingface or ModelScope, then launch a web interface with trinity studio --port 8080 to configure and run the RFT process, or use trinity run --config <config_path> on the command line after starting a Ray cluster.
Key features of Liu
- Unified RFT core supporting multiple training modes.
- First‑class agent‑environment interaction handling.
- Optimized data pipelines with active management.
- Modular, decoupled architecture for easy adoption.
- Web‑based graphical interfaces for low‑code usage.
Use cases of Liu
- Adapting LLMs to new multi‑turn or multi‑step agentic scenarios.
- Developing custom RL algorithms with plug‑and‑play classes.
- Low‑code monitoring and tracking of the learning process.
- Fine‑tuning models on reasoning tasks (e.g., GSM8k with GRPO).
- Running offline learning via DPO or SFT.
FAQ from Liu
What are the system requirements for Liu?
Python version ≥3.10 and ≤3.12, CUDA ≥12.4 and ≤12.8, and at least 2 GPUs are required.
Which models and datasets are supported?
Liu supports most datasets and models from Huggingface and ModelScope, downloaded via huggingface-cli or modelscope.
How do I run a typical RFT process?
After installing and starting a Ray cluster, run trinity run --config <config_path> or use the web interface’s “Run” button after configuration.
Does Liu support multi‑turn and agentic interactions?
Yes, it supports first‑class agent‑environment interaction with lagged feedback, long‑tailed latencies, and graceful failure handling for multi‑turn tasks.
Can I use Liu for offline learning?
Yes, Liu supports offline learning modes, for example through DPO or SFT, as described in its tutorials.
Frequently asked questions
What are the system requirements for Liu?
Python version ≥3.10 and ≤3.12, CUDA ≥12.4 and ≤12.8, and at least 2 GPUs are required.
Which models and datasets are supported?
Liu supports most datasets and models from Huggingface and ModelScope, downloaded via `huggingface-cli` or `modelscope`.
How do I run a typical RFT process?
After installing and starting a Ray cluster, run `trinity run --config <config_path>` or use the web interface’s “Run” button after configuration.
Does Liu support multi‑turn and agentic interactions?
Yes, it supports first‑class agent‑environment interaction with lagged feedback, long‑tailed latencies, and graceful failure handling for multi‑turn tasks.
Can I use Liu for offline learning?
Yes, Liu supports offline learning modes, for example through DPO or SFT, as described in its tutorials.
Basic information
More Other MCP servers
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Comments