---
title: simple_workflow
canonical_url: "https://www.modelscope.cn/models/ms-agent/simple_workflow"
md_url: "https://www.modelscope.cn/models/ms-agent/simple_workflow.md"
repository: ms-agent/simple_workflow
chinese_name: "一个基本的工作流"
last_updated: 2025-10-08
license: "Apache License 2.0"
pipeline_tag: text-generation
tasks:
  - text-generation
library_name:
  - pytorch
frameworks:
  - Pytorch
downloads: 232
stars: 1
---

# simple_workflow

> simple_workflow - ms-agent 在 ModelScope 开源的模型。一个简单的翻译工作流，可以使用大模型对一个长文档进行中翻英，包含了两个步骤：

ms-agent/simple_workflow 是 ModelScope 魔搭社区上的text-generation模型，采用 Apache License 2.0 许可。

- **Repository**: ms-agent/simple_workflow
- **License**: Apache License 2.0
- **Tasks**: text-generation
- **Downloads**: 232
- **Stars**: 1
- **Last updated**: 2025-10-08

Source: https://www.modelscope.cn/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
```
