---
title: simple_workflow
canonical_url: "https://www.modelscope.ai/models/MS-Agent/simple_workflow"
md_url: "https://www.modelscope.ai/models/MS-Agent/simple_workflow.md"
repository: MS-Agent/simple_workflow
last_updated: 2025-12-16
license: "Apache License 2.0"
pipeline_tag: text-generation
tasks:
  - text-generation
library_name:
  - pytorch
frameworks:
  - Pytorch
downloads: 125
stars: 0
---

# simple_workflow

> simple_workflow - An open-source model by MS-Agent on ModelScope. 一个简单的翻译工作流，可以使用大模型对一个长文档进行中翻英，包含了两个步骤：

MS-Agent/simple_workflow is a text-generation model on ModelScope. licensed under Apache License 2.0.

- **Repository**: MS-Agent/simple_workflow
- **License**: Apache License 2.0
- **Tasks**: text-generation
- **Downloads**: 125
- **Stars**: 0
- **Last updated**: 2025-12-16

Source: https://www.modelscope.ai/models/MS-Agent/simple_workflow

---

一个简单的翻译工作流，可以使用大模型对一个长文档进行中翻英，包含了两个步骤：

1. split_doc：把长文档进行切分，保证表格公式不被截断，并合并为2048左右长度的块
2. 使用LLMAgent进行大模型翻译

如何使用：

```shell
pip install ms-agent -U
```

```shell
ms-agent run --config ms-agent/simple_workflow --query /local/dir/to/doc.txt --modelscope_api_key xxx
```
