Skip to content

Commit c1b0fc6

Browse files
authored
text2model-v3 (#111)
1 parent 217652f commit c1b0fc6

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

docs/en/notes/guide/pipelines/Text2ModelPipeline.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ After initialization, the project directory becomes:
9191

9292
```
9393
Project Root/
94-
├── sft_data_pipeline.py # Pipeline execution file
9594
├── text_2_qa_pipeline.py # Text2QA generation pipeline
96-
├── merge_filter_qa_pairs.py # QA format conversion script
9795
└── .cache/ # Cache directory
9896
└── train_config.yaml # Default configuration file for llamafactory training
9997
```
@@ -114,9 +112,7 @@ After fine-tuning completion, the project directory becomes:
114112

115113
```
116114
Project Root/
117-
├── sft_data_pipeline.py # Pipeline execution file
118-
├── text_2_qa_pipeline.py # Text2QA generation pipeline
119-
├── merge_filter_qa_pairs.py # QA format conversion script
115+
├── text_2_qa_pipeline.py # Text2QA generation
120116
└── .cache/ # Cache directory
121117
├── train_config.yaml # Default configuration file for llamafactory training
122118
├── pt_input.jsonl # Merged input data
@@ -139,10 +135,10 @@ Project Root/
139135

140136
```bash
141137
# Method 1: Specify model path with --model flag (optional)
142-
# Default path: .cache/saves/pdf2model_cache_{timestamp}
138+
# Default path: .cache/saves/text2model_cache_{timestamp}
143139
dataflow chat --model ./custom_model_path
144140

145141
# Method 2: Navigate to model directory and run dataflow chat
146-
cd .cache/saves/pdf2model_cache_{timestamp}
142+
cd .cache/saves/text2model_cache_{timestamp}
147143
dataflow chat
148144
```

docs/zh/notes/guide/pipelines/Text2ModelPipeline.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Text2ModelPipeline
33
createTime: 2025/08/31 03:42:26
44
permalink: /zh/guide/ndyvouo2/
55
---
6-
# DataFlow-pdf2model&LlaMA-Factory
6+
# DataFlow-text2model&LlaMA-Factory
77

88
## 快速开始
99

@@ -76,20 +76,20 @@ cd run_dataflow
7676

7777

7878

79-
## 第四步: 初始化dataflow-pdf2model
79+
## 第四步: 初始化dataflow-text2model
8080

8181
```
8282
#初始化
8383
#--cache 可以指定.cache目录的位置(可选)
8484
#默认值为当前文件夹目录
85-
dataflow pdf2model init
85+
dataflow text2model init
8686
```
8787

8888
初始化完成后,项目目录变成:
8989

9090
```shell
9191
项目根目录/
92-
├── sft_data_pipeline.py # pipeline执行文件
92+
├── text_to_qa_pipeline.py # pipeline执行文件
9393
└── .cache/ # 缓存目录
9494
└── train_config.yaml # llamafactory训练的默认配置文件
9595
```
@@ -110,7 +110,7 @@ dataflow text2model train
110110

111111
```
112112
项目根目录/
113-
├── sft_data_pipeline.py # pipeline执行文件
113+
├── text_to_qa_pipeline.py # pipeline执行文件
114114
└── .cache/ # 缓存目录
115115
├── train_config.yaml # llamafactory训练的默认配置文件
116116
├── data/
@@ -134,7 +134,7 @@ dataflow text2model train
134134

135135
```
136136
#用法一:--model 可以指定 对话模型的路径位置(可选)
137-
#默认值为.cache/saves/pdf2model_cache_{timestamp}
137+
#默认值为.cache/saves/text2model_cache_{timestamp}
138138
#用法二:到模型文件夹下 运行dataflow chat
139139
dataflow chat --model ./custom_model_path
140140
```

0 commit comments

Comments
 (0)