dataflex 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dataflex/__init__.py +4 -0
- dataflex/cli.py +202 -0
- dataflex/configs/components.yaml +151 -0
- dataflex/core/__init__.py +0 -0
- dataflex/core/registry.py +32 -0
- dataflex/launcher.py +147 -0
- dataflex/offline_selector/offline_near_selector.py +195 -0
- dataflex/offline_selector/offline_tsds_selector.py +251 -0
- dataflex/train/__init__.py +0 -0
- dataflex/train/data/__init__.py +0 -0
- dataflex/train/data/loader.py +164 -0
- dataflex/train/dataset/__init__.py +3 -0
- dataflex/train/dataset/mixed_proportion_manager.py +167 -0
- dataflex/train/hparams/__init__.py +0 -0
- dataflex/train/hparams/dynamic_data_params.py +200 -0
- dataflex/train/hparams/dynamic_params.py +649 -0
- dataflex/train/mixer/__init__.py +5 -0
- dataflex/train/mixer/base_mixer.py +21 -0
- dataflex/train/mixer/doremi_mixer.py +312 -0
- dataflex/train/mixer/dynamic_moe_mixer.py +381 -0
- dataflex/train/mixer/odm_mixer.py +278 -0
- dataflex/train/mixer/random_mixer.py +27 -0
- dataflex/train/mixer/static_mixer.py +47 -0
- dataflex/train/selector/__init__.py +8 -0
- dataflex/train/selector/base_selector.py +56 -0
- dataflex/train/selector/custom_selector.py +38 -0
- dataflex/train/selector/delta_loss_selector.py +271 -0
- dataflex/train/selector/less_selector.py +389 -0
- dataflex/train/selector/loss_selector.py +197 -0
- dataflex/train/selector/near_selector.py +83 -0
- dataflex/train/selector/nice_selector.py +658 -0
- dataflex/train/selector/random_selector.py +59 -0
- dataflex/train/selector/tsds_selector.py +45 -0
- dataflex/train/trainer/__init__.py +0 -0
- dataflex/train/trainer/mix_trainer.py +1102 -0
- dataflex/train/trainer/select_trainer.py +887 -0
- dataflex/train/trainer/weight_trainer.py +773 -0
- dataflex/train/weighter/__init__.py +3 -0
- dataflex/train/weighter/base_weighter.py +147 -0
- dataflex/train/weighter/custom_weighter.py +52 -0
- dataflex/train/weighter/loss_weighter.py +133 -0
- dataflex/utils/__init__.py +0 -0
- dataflex/utils/load_component.py +24 -0
- dataflex/utils/logging.py +6 -0
- dataflex/utils/selector_io.py +43 -0
- dataflex/version.py +21 -0
- dataflex-1.0.0.dist-info/METADATA +385 -0
- dataflex-1.0.0.dist-info/RECORD +52 -0
- dataflex-1.0.0.dist-info/WHEEL +5 -0
- dataflex-1.0.0.dist-info/entry_points.txt +2 -0
- dataflex-1.0.0.dist-info/licenses/LICENSE +200 -0
- dataflex-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dataflex
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A data-centric training system for Large Language Models
|
|
5
|
+
Author-email: Hao Liang <hao.liang@stu.pku.edu.cn>, Mingrui Chen <charmier2003@gmail.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Github, https://github.com/OpenDCAI/DataFlex
|
|
8
|
+
Project-URL: Documentation, https://opendcai.github.io/DataFlow-Doc
|
|
9
|
+
Project-URL: Bug Reports, https://github.com/OpenDCAI/DataFlex/issues
|
|
10
|
+
Keywords: AI,data-centric,LLM,training,data selection,Data Mixture
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Education
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: torch<=2.10.0,>=2.4.0
|
|
27
|
+
Requires-Dist: torchvision<=0.21.0,>=0.19.0
|
|
28
|
+
Requires-Dist: torchaudio<=2.6.0,>=2.4.0
|
|
29
|
+
Requires-Dist: transformers<4.55.0,>=4.51.0; python_version >= "3.11"
|
|
30
|
+
Requires-Dist: transformers<=4.50.0,>=4.41.2; python_version < "3.11"
|
|
31
|
+
Requires-Dist: accelerate<1.12.0,>=1.3.0
|
|
32
|
+
Requires-Dist: trl<0.25.0,>=0.18.0
|
|
33
|
+
Requires-Dist: tyro==0.8.14
|
|
34
|
+
Requires-Dist: numpy<2.0.0,>=1.24.0
|
|
35
|
+
Requires-Dist: peft>=0.15.2
|
|
36
|
+
Requires-Dist: datasets<=3.2.0,>=2.16.0
|
|
37
|
+
Requires-Dist: tokenizers>=0.21.0
|
|
38
|
+
Requires-Dist: gradio<=5.12.0,>=4.38.0
|
|
39
|
+
Requires-Dist: pandas<3.0.0,>=2.0.0
|
|
40
|
+
Requires-Dist: scipy
|
|
41
|
+
Requires-Dist: einops
|
|
42
|
+
Requires-Dist: sentencepiece
|
|
43
|
+
Requires-Dist: tiktoken
|
|
44
|
+
Requires-Dist: protobuf
|
|
45
|
+
Requires-Dist: uvicorn
|
|
46
|
+
Requires-Dist: pydantic
|
|
47
|
+
Requires-Dist: fastapi
|
|
48
|
+
Requires-Dist: sse-starlette
|
|
49
|
+
Requires-Dist: matplotlib>=3.7.0
|
|
50
|
+
Requires-Dist: fire
|
|
51
|
+
Requires-Dist: packaging
|
|
52
|
+
Requires-Dist: pyyaml
|
|
53
|
+
Requires-Dist: av
|
|
54
|
+
Requires-Dist: librosa
|
|
55
|
+
Requires-Dist: omegaconf
|
|
56
|
+
Requires-Dist: traker
|
|
57
|
+
Requires-Dist: llamafactory>=0.9.4; python_version >= "3.11"
|
|
58
|
+
Provides-Extra: torch
|
|
59
|
+
Requires-Dist: torch<=2.10.0,>=2.4.0; extra == "torch"
|
|
60
|
+
Requires-Dist: torchvision<=0.21.0,>=0.19.0; extra == "torch"
|
|
61
|
+
Requires-Dist: torchaudio<=2.6.0,>=2.4.0; extra == "torch"
|
|
62
|
+
Provides-Extra: torch-npu
|
|
63
|
+
Requires-Dist: torch==2.4.0; extra == "torch-npu"
|
|
64
|
+
Requires-Dist: torch-npu==2.4.0.post2; extra == "torch-npu"
|
|
65
|
+
Requires-Dist: decorator; extra == "torch-npu"
|
|
66
|
+
Provides-Extra: metrics
|
|
67
|
+
Requires-Dist: nltk; extra == "metrics"
|
|
68
|
+
Requires-Dist: jieba; extra == "metrics"
|
|
69
|
+
Requires-Dist: rouge-chinese; extra == "metrics"
|
|
70
|
+
Provides-Extra: flash-attn
|
|
71
|
+
Requires-Dist: flash-attn>=2.5.0; extra == "flash-attn"
|
|
72
|
+
Provides-Extra: liger-kernel
|
|
73
|
+
Requires-Dist: liger-kernel>=0.5.5; extra == "liger-kernel"
|
|
74
|
+
Provides-Extra: bitsandbytes
|
|
75
|
+
Requires-Dist: bitsandbytes>=0.39.0; extra == "bitsandbytes"
|
|
76
|
+
Provides-Extra: hqq
|
|
77
|
+
Requires-Dist: hqq; extra == "hqq"
|
|
78
|
+
Provides-Extra: eetq
|
|
79
|
+
Requires-Dist: eetq; extra == "eetq"
|
|
80
|
+
Provides-Extra: gptq
|
|
81
|
+
Requires-Dist: optimum>=1.24.0; extra == "gptq"
|
|
82
|
+
Requires-Dist: gptqmodel>=2.0.0; extra == "gptq"
|
|
83
|
+
Provides-Extra: aqlm
|
|
84
|
+
Requires-Dist: aqlm[gpu]>=1.1.0; extra == "aqlm"
|
|
85
|
+
Provides-Extra: vllm
|
|
86
|
+
Requires-Dist: vllm<=0.9.1,>=0.4.3; extra == "vllm"
|
|
87
|
+
Provides-Extra: galore
|
|
88
|
+
Requires-Dist: galore-torch; extra == "galore"
|
|
89
|
+
Provides-Extra: apollo
|
|
90
|
+
Requires-Dist: apollo-torch; extra == "apollo"
|
|
91
|
+
Provides-Extra: badam
|
|
92
|
+
Requires-Dist: badam>=1.2.1; extra == "badam"
|
|
93
|
+
Provides-Extra: adam-mini
|
|
94
|
+
Requires-Dist: adam-mini; extra == "adam-mini"
|
|
95
|
+
Provides-Extra: modelscope
|
|
96
|
+
Requires-Dist: modelscope; extra == "modelscope"
|
|
97
|
+
Provides-Extra: openmind
|
|
98
|
+
Requires-Dist: openmind; extra == "openmind"
|
|
99
|
+
Provides-Extra: swanlab
|
|
100
|
+
Requires-Dist: swanlab; extra == "swanlab"
|
|
101
|
+
Provides-Extra: dev
|
|
102
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
103
|
+
Requires-Dist: ruff; extra == "dev"
|
|
104
|
+
Requires-Dist: pytest; extra == "dev"
|
|
105
|
+
Requires-Dist: build; extra == "dev"
|
|
106
|
+
Dynamic: license-file
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
# DataFlex
|
|
110
|
+
|
|
111
|
+
<p align="center">
|
|
112
|
+
Data Select · Mix · Reweight — Right in the LLM Training Loop
|
|
113
|
+
<img src="https://github.com/user-attachments/assets/12b542ed-3cd9-43a9-acf0-8ebcfe564ecd" width="90%">
|
|
114
|
+
</p>
|
|
115
|
+
<div align="center">
|
|
116
|
+
|
|
117
|
+
[](https://OpenDCAI.github.io/DataFlex-Doc/)
|
|
118
|
+
[](https://github.com/OpenDCAI/DataFlex/blob/main/LICENSE)
|
|
119
|
+
[](https://github.com/OpenDCAI/DataFlex)
|
|
120
|
+
[](https://github.com/OpenDCAI/DataFlex/graphs/contributors)
|
|
121
|
+
[](https://github.com/OpenDCAI/DataFlex)
|
|
122
|
+
[](https://deepwiki.com/OpenDCAI/DataFlex)
|
|
123
|
+
|
|
124
|
+
<!-- [](https://github.com/OpenDCAI/DataFlex/commits/main/) -->
|
|
125
|
+
<!--[](https://github.com/OpenDCAI/DataFlex/issues) -->
|
|
126
|
+
|
|
127
|
+
🎉 If you like our project, please give us a star ⭐ on GitHub for the latest update.
|
|
128
|
+
|
|
129
|
+
[简体中文](./README-zh.md) | English
|
|
130
|
+
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
## 📰 1. News
|
|
134
|
+
- [2026-04-04] 🎉 Our [technical report](https://huggingface.co/papers/2603.26164) ranked #1 on the Hugging Face Daily Papers leaderboard for that day.
|
|
135
|
+
- [2026-03-17] We now support gradient computation under DeepSpeed ZeRO-3, enabling training and analysis of larger-scale models.
|
|
136
|
+
- [2025-12-23] 🎉 We’re excited to announce the first Data-Centric Training System DataFlex, is now released! Stay tuned for future updates.
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
## 🔍 2. Overview
|
|
140
|
+
<img src="https://github.com/user-attachments/assets/093bfc8e-f450-4048-ad22-456edfdc00d9">
|
|
141
|
+
|
|
142
|
+
**DataFlex** is an advanced dynamic training framework built on top of [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory).
|
|
143
|
+
It intelligently schedules training data during optimization and integrates several difficult-to-reproduce repositories into a unified framework. The system provides reproducible implementations of **Data Selection**, **Data Mixture**, and **Data Reweighting**, thereby improving both experimental reproducibility and final model performance.
|
|
144
|
+
|
|
145
|
+
DataFlex integrates seamlessly with LLaMA-Factory, offering researchers and developers more flexible and powerful training control. For goals and design philosophy, please refer to [DataFlex-Doc](https://opendcai.github.io/DataFlex-Doc/).
|
|
146
|
+
We summarize repositories related to Data Selection, Data Mixture, and Data Reweighting.
|
|
147
|
+
❌ indicates that no official repository is available;
|
|
148
|
+
✅ indicates that an official repository is available;
|
|
149
|
+
⚠️ indicates that an official repository exists but contains issues.
|
|
150
|
+
|
|
151
|
+
- **Data Selection**: Dynamically selects training samples according to a given strategy (e.g., focus on “hard” samples). The data selection algorithms are summarized as follows:
|
|
152
|
+
|
|
153
|
+
<div align="center">
|
|
154
|
+
|
|
155
|
+
| Method | Category | Requires Model-in-the-Loop? | Official Repo |
|
|
156
|
+
|:------:|:--------:|:---------------------------:|:-------------:|
|
|
157
|
+
| **LESS** | Gradient-Based | ✅ Yes | ⚠️[official code](https://github.com/princeton-nlp/LESS) |
|
|
158
|
+
| **NICE** | Gradient-Based | ✅ Yes | ⚠️[official code](https://github.com/JTWang2000/NICE) |
|
|
159
|
+
| **Loss** | Loss-Based | ✅ Yes | ❌ |
|
|
160
|
+
| **Delta Loss** | Loss-Based | ✅ Yes | ❌ |
|
|
161
|
+
| **NEAR** | Data Distribution-Based | ❌ No | ❌ |
|
|
162
|
+
| **TSDS** | Data Distribution-Based | ❌ No | ✅[official code](https://github.com/ZifanL/TSDS) |
|
|
163
|
+
| **Static** | No Selection | ❌ No | ❌ |
|
|
164
|
+
| **Random** | Random Sampling | ❌ No | ❌ |
|
|
165
|
+
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
- **Data Mixture**: Dynamically adjusts the ratio of data from different domains during training. The data mixture algorithms are summarized as follows:
|
|
170
|
+
|
|
171
|
+
<div align="center">
|
|
172
|
+
|
|
173
|
+
| Method | Category | Requires Model-in-the-Loop? | Official Repo |
|
|
174
|
+
|:------:|:--------:|:---------------------------:|:-------------:|
|
|
175
|
+
| **DOREMI** | Offline Mixture | ✅ Yes | ⚠️[official code](https://github.com/sangmichaelxie/doremi) |
|
|
176
|
+
| **ODM** | Online Mixture | ✅ Yes | ⚠️[official code](https://github.com/alon-albalak/online-data-mixing) |
|
|
177
|
+
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
- **Data Reweighting**: Dynamically adjusts sample weights during backpropagation to emphasize data preferred by the model. The data reweighting algorithms are summarized as follows:
|
|
181
|
+
|
|
182
|
+
<div align="center">
|
|
183
|
+
|
|
184
|
+
| Method | Category | Requires Model-in-the-Loop? | Official Repo |
|
|
185
|
+
|:------:|:--------:|:---------------------------:|:-------------:|
|
|
186
|
+
| **Loss Reweighting** | Loss-Based | ✅ Yes | ❌ |
|
|
187
|
+
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
- **Full compatibility with LLaMA-Factory**, drop-in replacement.
|
|
191
|
+
|
|
192
|
+
## 📌 3. Quick Start
|
|
193
|
+
|
|
194
|
+
Please use the following commands for environment setup and installation👇
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
git clone https://github.com/OpenDCAI/DataFlex.git
|
|
198
|
+
cd DataFlex
|
|
199
|
+
pip install -e .
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
> **Note:** Python 3.11+ is recommended. The core dependencies (including `llamafactory`) will be installed automatically. If you are using Python 3.10, you need to install a compatible version of `llamafactory` manually.
|
|
203
|
+
|
|
204
|
+
The launch command is similar to [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory).
|
|
205
|
+
Below is an example using [LESS](https://arxiv.org/abs/2402.04333) :
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
dataflex-cli train examples/train_lora/selectors/less.yaml
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Unlike vanilla LLaMA-Factory, your `.yaml` config file must also include **DataFlex-specific parameters**. For details, please refer to [DataFlex-Doc](https://opendcai.github.io/DataFlex-Doc/).
|
|
212
|
+
|
|
213
|
+
## 📖 Skills
|
|
214
|
+
|
|
215
|
+
- [How to Use DataFlex](skills/how_to_use.md) — Installation, CLI commands, YAML configuration, training modes, and supported algorithms.
|
|
216
|
+
- [How to Add a New Algorithm](skills/how_to_add_algorithm.md) — Architecture overview, registry system, base class interfaces, and step-by-step guide for adding selectors/mixers/weighters.
|
|
217
|
+
|
|
218
|
+
## 📚 4. Experimental Results
|
|
219
|
+
Using DataFlex can improve performance over the default LLaMA-Factory training.
|
|
220
|
+
|
|
221
|
+
### Data Selector & Reweightor Results
|
|
222
|
+
We use a subset of [Open-Hermes-2.5](https://huggingface.co/datasets/OpenDCAI/DataFlex-selector-openhermes-10w) as the training dataset. The data selection algorithms and data reweighting algorithm outperform the random selector baseline on the [MMLU benchmark](https://huggingface.co/datasets/OpenDCAI/dataflex-selector-MMLUSubset-test) subset relevant to the training dataset. For the Less and Nice algorithm, we set the validation set as the [MMLU-Validation-Set](https://huggingface.co/datasets/OpenDCAI/dataflex-selector-MMLUSubset-valid-cot), using a GPT-5-generated trajectory.
|
|
223
|
+
|
|
224
|
+
<p align="center">
|
|
225
|
+
<img src="https://github.com/user-attachments/assets/817c7dd7-79cf-4c70-b683-32b5b4c1722b" width="49%">
|
|
226
|
+
<img src="https://github.com/user-attachments/assets/ed5495db-1c5c-4dfd-a0cd-a941000ab33d" width="49%">
|
|
227
|
+
</p>
|
|
228
|
+
|
|
229
|
+
### Data Mixture Results
|
|
230
|
+
We use subsets of [SlimPajama-627B](https://huggingface.co/datasets/cerebras/SlimPajama-627B) for data mixture. The data mixture algorithms outperform the baseline (default data mixture) on MMLU accuracy while also achieving lower perplexity across different data domains.
|
|
231
|
+
|
|
232
|
+
<div align="center">
|
|
233
|
+
|
|
234
|
+
<table>
|
|
235
|
+
<thead>
|
|
236
|
+
<tr>
|
|
237
|
+
<th rowspan="2">Method</th>
|
|
238
|
+
<th colspan="1">Acc ↑</th>
|
|
239
|
+
<th colspan="8">Perplexity (PPL) ↓</th>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<th>MMLU</th>
|
|
243
|
+
<th>ALL</th>
|
|
244
|
+
<th>CC</th>
|
|
245
|
+
<th>C4</th>
|
|
246
|
+
<th>SE</th>
|
|
247
|
+
<th>Wiki</th>
|
|
248
|
+
<th>GitHub</th>
|
|
249
|
+
<th>ArXiv</th>
|
|
250
|
+
<th>Book</th>
|
|
251
|
+
</tr>
|
|
252
|
+
</thead>
|
|
253
|
+
<tbody>
|
|
254
|
+
<tr>
|
|
255
|
+
<td colspan="10"><b>Slim-Pajama-6B</b></td>
|
|
256
|
+
</tr>
|
|
257
|
+
<tr>
|
|
258
|
+
<td>Baseline</td>
|
|
259
|
+
<td>25.27</td>
|
|
260
|
+
<td>4.217</td>
|
|
261
|
+
<td>4.278</td>
|
|
262
|
+
<td>4.532</td>
|
|
263
|
+
<td>3.402</td>
|
|
264
|
+
<td><b>3.546</b></td>
|
|
265
|
+
<td><b>2.640</b></td>
|
|
266
|
+
<td>3.508</td>
|
|
267
|
+
<td>4.778</td>
|
|
268
|
+
</tr>
|
|
269
|
+
<tr>
|
|
270
|
+
<td>DoReMi</td>
|
|
271
|
+
<td>25.84</td>
|
|
272
|
+
<td><b>4.134</b></td>
|
|
273
|
+
<td><b>4.108</b></td>
|
|
274
|
+
<td><b>4.358</b></td>
|
|
275
|
+
<td>3.788</td>
|
|
276
|
+
<td>3.997</td>
|
|
277
|
+
<td>3.420</td>
|
|
278
|
+
<td>3.413</td>
|
|
279
|
+
<td>4.661</td>
|
|
280
|
+
</tr>
|
|
281
|
+
<tr>
|
|
282
|
+
<td>ODM</td>
|
|
283
|
+
<td><b>26.04</b></td>
|
|
284
|
+
<td>4.244</td>
|
|
285
|
+
<td>4.326</td>
|
|
286
|
+
<td>4.555</td>
|
|
287
|
+
<td><b>3.243</b></td>
|
|
288
|
+
<td>3.699</td>
|
|
289
|
+
<td>2.704</td>
|
|
290
|
+
<td><b>2.904</b></td>
|
|
291
|
+
<td><b>4.613</b></td>
|
|
292
|
+
</tr>
|
|
293
|
+
<tr>
|
|
294
|
+
<td colspan="10"><b>Slim-Pajama-30B</b></td>
|
|
295
|
+
</tr>
|
|
296
|
+
<tr>
|
|
297
|
+
<td>Baseline</td>
|
|
298
|
+
<td>25.51</td>
|
|
299
|
+
<td>3.584</td>
|
|
300
|
+
<td>3.723</td>
|
|
301
|
+
<td>3.505</td>
|
|
302
|
+
<td>2.850</td>
|
|
303
|
+
<td>3.215</td>
|
|
304
|
+
<td>3.163</td>
|
|
305
|
+
<td>4.540</td>
|
|
306
|
+
<td>5.329</td>
|
|
307
|
+
</tr>
|
|
308
|
+
<tr>
|
|
309
|
+
<td>DoReMi</td>
|
|
310
|
+
<td><b>25.97</b></td>
|
|
311
|
+
<td>3.562</td>
|
|
312
|
+
<td>3.731</td>
|
|
313
|
+
<td><b>3.503</b></td>
|
|
314
|
+
<td>2.706</td>
|
|
315
|
+
<td>2.985</td>
|
|
316
|
+
<td>2.973</td>
|
|
317
|
+
<td>4.441</td>
|
|
318
|
+
<td>5.214</td>
|
|
319
|
+
</tr>
|
|
320
|
+
<tr>
|
|
321
|
+
<td>ODM</td>
|
|
322
|
+
<td>25.63</td>
|
|
323
|
+
<td><b>3.429</b></td>
|
|
324
|
+
<td><b>3.598</b></td>
|
|
325
|
+
<td>3.519</td>
|
|
326
|
+
<td><b>2.382</b></td>
|
|
327
|
+
<td><b>2.713</b></td>
|
|
328
|
+
<td><b>2.255</b></td>
|
|
329
|
+
<td><b>3.487</b></td>
|
|
330
|
+
<td><b>4.746</b></td>
|
|
331
|
+
</tr>
|
|
332
|
+
</tbody>
|
|
333
|
+
</table>
|
|
334
|
+
|
|
335
|
+
</div>
|
|
336
|
+
|
|
337
|
+
## 🧩 5. Ecosystem
|
|
338
|
+
DataFlex focuses on data scheduling during training. For a complete pipeline starting from raw data, it pairs well with [DataFlow](https://github.com/OpenDCAI/DataFlow):
|
|
339
|
+
<div align="center">
|
|
340
|
+
<img src="https://github.com/user-attachments/assets/7459da1b-86ec-40cc-873b-c54f10f8c291" width="90%">
|
|
341
|
+
</div>
|
|
342
|
+
|
|
343
|
+
[DataFlow](https://github.com/OpenDCAI/DataFlow) converts raw files into LLM training data through composable operator pipelines — document parsing, knowledge cleaning, QA / CoT synthesis, and training format conversion. The output JSON can be fed directly into DataFlex.
|
|
344
|
+
The two projects are independent with no code dependency, connected only by standard data formats. DataFlex accepts training data from any source — DataFlow, manual annotation, HuggingFace datasets, or custom processing scripts.
|
|
345
|
+
|
|
346
|
+
## 🤝 6. Acknowledgements
|
|
347
|
+
We thank [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory) for offering an efficient and user-friendly framework for large model fine-tuning, which greatly facilitated rapid iteration in our training and experimentation workflows.
|
|
348
|
+
We thank Zhongguancun Academy for their API and GPU support.
|
|
349
|
+
Our gratitude extends to all contributors in the open-source community—their efforts collectively drive the development of DataFlex.
|
|
350
|
+
|
|
351
|
+
## 📜 7. Citation
|
|
352
|
+
|
|
353
|
+
If you use DataFlex in your research, feel free to give us a cite.
|
|
354
|
+
```bibtex
|
|
355
|
+
@article{liang2026dataflex,
|
|
356
|
+
title={DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models},
|
|
357
|
+
author={Liang, Hao and Zhao, Zhengyang and Qiang, Meiyi and Chen, Mingrui and Ma, Lu and Yu, Rongyi and Feng, Hengyi and Sun, Shixuan and Meng, Zimo and Ma, Xiaochen and others},
|
|
358
|
+
journal={arXiv preprint arXiv:2603.26164},
|
|
359
|
+
year={2026}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@article{liang2026towards,
|
|
363
|
+
title={Towards Next-Generation LLM Training: From the Data-Centric Perspective},
|
|
364
|
+
author={Liang, Hao and Zhao, Zhengyang and Han, Zhaoyang and Qiang, Meiyi and Ma, Xiaochen and Zeng, Bohan and Cai, Qifeng and Li, Zhiyu and Tang, Linpeng and Zhang, Wentao and others},
|
|
365
|
+
journal={arXiv preprint arXiv:2603.14712},
|
|
366
|
+
year={2026}
|
|
367
|
+
}
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
## 🤝 8. Community & Support
|
|
371
|
+
|
|
372
|
+
We welcome contributions of new trainers and selectors!
|
|
373
|
+
Please ensure code formatting is consistent with the existing style before submitting a PR.
|
|
374
|
+
|
|
375
|
+
We also welcome you to join the [DataFlex](https://github.com/OpenDCAI/DataFlex) and [DataFlow](https://github.com/OpenDCAI/DataFlow) open-source community to ask questions, share ideas, and collaborate with other developers!
|
|
376
|
+
|
|
377
|
+
• 📮 [GitHub Issues](../../issues): Report bugs or suggest features
|
|
378
|
+
|
|
379
|
+
• 🔧 [GitHub Pull Requests](../../pulls): Contribute code improvements
|
|
380
|
+
|
|
381
|
+
• 💬 Join our community groups to connect with us and other contributors!
|
|
382
|
+
|
|
383
|
+
<div align="center">
|
|
384
|
+
<img src="https://github.com/user-attachments/assets/4af98244-47a8-46e2-a6c7-366fb2d99681" width="70%">
|
|
385
|
+
</div>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
dataflex/__init__.py,sha256=w7ED53MLTPz_a2o9_oAt-x_NibH_VCzfJJbUvUFc4n4,91
|
|
2
|
+
dataflex/cli.py,sha256=NrxIojrZyFtXXlqtpPSqU1aBotrHj8TscJKMsg_rPQo,7499
|
|
3
|
+
dataflex/launcher.py,sha256=9nfwqvliYEzEtC1hn7IuOe0P2aST2nPgetsRWt6rURk,5454
|
|
4
|
+
dataflex/version.py,sha256=tqcgmQ7siEUCMMz1Rw5LN6nGUrFnF3xvDkHqwE1GCAs,523
|
|
5
|
+
dataflex/configs/components.yaml,sha256=-iUF_m9fj90RTtc_7o_SvGCk_aKDKnD_hjAcbJUILHc,4533
|
|
6
|
+
dataflex/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
dataflex/core/registry.py,sha256=8TDkiCBiTKlvvpgl9YcwPBS4G_3zJ95JmtkT5Jnn2Yk,1317
|
|
8
|
+
dataflex/offline_selector/offline_near_selector.py,sha256=T-RDfIwpEwozvVrojUfPEwB9vP06-LQIkoIuYxev1TI,7262
|
|
9
|
+
dataflex/offline_selector/offline_tsds_selector.py,sha256=1nmNBwH9VWLIRMAM32kwWSyzkBL0Ub_T7EbuMd9Or_8,9164
|
|
10
|
+
dataflex/train/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
dataflex/train/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
dataflex/train/data/loader.py,sha256=mLMOKfkBii4agOoWgW32M5wnTVKHwFAkUu7T5JnB0Qk,8046
|
|
13
|
+
dataflex/train/dataset/__init__.py,sha256=91LWjnojw8EmuUvJEzixtAsdJlll-BMIxH7CyTriCSo,98
|
|
14
|
+
dataflex/train/dataset/mixed_proportion_manager.py,sha256=zgq6GUjQSBAfChxXZmlXS6BfLmbHeDrbyUkRQLum0c4,6782
|
|
15
|
+
dataflex/train/hparams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
dataflex/train/hparams/dynamic_data_params.py,sha256=Qv71oUoi8bOzvYeBseVP1XrEO-2zwmnPoP3KV-81MxY,8374
|
|
17
|
+
dataflex/train/hparams/dynamic_params.py,sha256=byQGPWDgnifvfZcqDmBymlsmWbJAfkwpVj7lQTGpoFY,23957
|
|
18
|
+
dataflex/train/mixer/__init__.py,sha256=Ladk3biKhc6fpHYfaRjHf5Lzz4omz8whYG1N5igfYsQ,192
|
|
19
|
+
dataflex/train/mixer/base_mixer.py,sha256=tIhR3z_DHI5rMcKMmcwDslXlhC9ZH6Fx3giwtyiUJb0,716
|
|
20
|
+
dataflex/train/mixer/doremi_mixer.py,sha256=IqlQE9qKK0FbaIcsOf3DsEQEH_V_-ckl290DVlhW2EU,14340
|
|
21
|
+
dataflex/train/mixer/dynamic_moe_mixer.py,sha256=D0iwtvJIp9hot3ImC0LZ4QIDysaWPr1HjH0Xc6pb2lo,16691
|
|
22
|
+
dataflex/train/mixer/odm_mixer.py,sha256=rT7L0JSdj6-gPVLY0WKSWN7m-T-eRkbdovpT05-LzPI,12540
|
|
23
|
+
dataflex/train/mixer/random_mixer.py,sha256=coDJtCzMDo2tcpdF5aIKhfBVOSXjz6rfCtSb8yV9myo,796
|
|
24
|
+
dataflex/train/mixer/static_mixer.py,sha256=ZAa1t26CVaObUBMx5D1JmYfrdUtA-Y1ZJ0xlLFAI9rg,1956
|
|
25
|
+
dataflex/train/selector/__init__.py,sha256=OKBGzMwHxNgAerBE8cNV6nwsXCfLltTO_DjEpdln6Xc,248
|
|
26
|
+
dataflex/train/selector/base_selector.py,sha256=y2hbpJQ885l1nC6orUArKMfyiwXqXlP-1wolIhGaGqc,2035
|
|
27
|
+
dataflex/train/selector/custom_selector.py,sha256=98Yzgxkwaif0mq9mtDxhG9Ck2JiAYdq5DKthSXbkO2E,1191
|
|
28
|
+
dataflex/train/selector/delta_loss_selector.py,sha256=TAjtoay_ryhtBfV6L9JZLeF8ywbuGZgp0VTaoQJ01R8,11594
|
|
29
|
+
dataflex/train/selector/less_selector.py,sha256=jX3p5BcQbsYrWxT6VkKScg2MfnA0Ko43vC48EKw1wCA,17527
|
|
30
|
+
dataflex/train/selector/loss_selector.py,sha256=tmoH_AkeLFY-2x9mQsqYUKKKsXNqpslNRdl1o-FbUv0,7907
|
|
31
|
+
dataflex/train/selector/near_selector.py,sha256=1DvL5AH3ZyL5KciebSFX9CMBSepf42Bl0Q5AUWdGJy4,3044
|
|
32
|
+
dataflex/train/selector/nice_selector.py,sha256=9Em6IiPiwvvC8u_dFtxISzbH7jxFXxYwgULSHQHWXHk,29146
|
|
33
|
+
dataflex/train/selector/random_selector.py,sha256=fW5pTC404ElypGRswsIYF5xeRBKyxlJj9Zy6ax64KAk,2005
|
|
34
|
+
dataflex/train/selector/tsds_selector.py,sha256=OXmPBxkEgDIlKnDVvtXrOFfDqgb6srdJS8LsG722b9Q,1625
|
|
35
|
+
dataflex/train/trainer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
|
+
dataflex/train/trainer/mix_trainer.py,sha256=qUNWwWfqEUALVFeFb8_hnw-jAN3od65FScVhcKRJ3Mw,54527
|
|
37
|
+
dataflex/train/trainer/select_trainer.py,sha256=_k8BScfUAZSS4vHblfPbT2ifeDhya5kHCnOSDNXos3k,42370
|
|
38
|
+
dataflex/train/trainer/weight_trainer.py,sha256=TpSdAglNkadgBfS_RAEev4rAzNXeF25ySyQ57w_jrAM,36503
|
|
39
|
+
dataflex/train/weighter/__init__.py,sha256=bbkw5Xd56KVYbcHh2W0hl0lWuIAjo9Y1MlVkyOpe7r4,108
|
|
40
|
+
dataflex/train/weighter/base_weighter.py,sha256=WekRQCgApeJ0ZmiGqyZKqEWg1zsHyf5wylk-dSO5XMc,5481
|
|
41
|
+
dataflex/train/weighter/custom_weighter.py,sha256=yYxcE8lGjj7qrzjxkS9TA6AnYc_ocWKHC0M1P6Iaajk,1735
|
|
42
|
+
dataflex/train/weighter/loss_weighter.py,sha256=9S_Xa_MCO7iwpOCguNRxuIohUmp3qDpobclCFT2MTME,5150
|
|
43
|
+
dataflex/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
+
dataflex/utils/load_component.py,sha256=NnuhP_V2RYJ1C0z_qkYROlMVs5mX-JgKzgBGlCOzyBQ,960
|
|
45
|
+
dataflex/utils/logging.py,sha256=kqO3FHMGKiiTPfaoT6UGvCG8H67l0pcWXkhuphbtYbY,173
|
|
46
|
+
dataflex/utils/selector_io.py,sha256=naag_s5WGJnxCQI8hEwBW7VEStVfS9-KltNjcpnKyCk,1301
|
|
47
|
+
dataflex-1.0.0.dist-info/licenses/LICENSE,sha256=Egbe_d717aoFA732IUwgCLhDf8E9osEgAytUzUgwM7Y,11236
|
|
48
|
+
dataflex-1.0.0.dist-info/METADATA,sha256=_jFTu_SkShj23DcT34SFXy49C5-Nt5WiXECMcbPRsWM,16324
|
|
49
|
+
dataflex-1.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
50
|
+
dataflex-1.0.0.dist-info/entry_points.txt,sha256=7ljAbhH317Ig-ZR5Gyh_Je7i8ZF5qQIle8wIjWzilgM,51
|
|
51
|
+
dataflex-1.0.0.dist-info/top_level.txt,sha256=Gl0to_6gbLPQm7IQ1ZKFfAK9rYyjuZ4Ji1xJXZgLXz4,9
|
|
52
|
+
dataflex-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. Please also get an
|
|
186
|
+
individualized contributor license agreement from each contributor.
|
|
187
|
+
|
|
188
|
+
Copyright 2025 DataFlex Team
|
|
189
|
+
|
|
190
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
191
|
+
you may not use this file except in compliance with the License.
|
|
192
|
+
You may obtain a copy of the License at
|
|
193
|
+
|
|
194
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
195
|
+
|
|
196
|
+
Unless required by applicable law or agreed to in writing, software
|
|
197
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
198
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
199
|
+
See the License for the specific language governing permissions and
|
|
200
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dataflex
|