Skip to content

Commit

Permalink
Update readme.md (#150)
Browse files Browse the repository at this point in the history
* update 2 readme

* shorten example line

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
MooooCat and pre-commit-ci[bot] committed Feb 29, 2024
1 parent f82ca57 commit 509387d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 36 deletions.
48 changes: 29 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,53 +25,63 @@
</p>

<p style="font-size: small;">
View Colab Examples:&nbsp;
Colab Examples:&nbsp;
<a href="https://colab.research.google.com/drive/1VFnP59q3eoVtMJ1PvcYjmuXtx9N8C7o0?usp=sharing" target="value"> LLM: Data Synthesis</a>
&nbsp;| &nbsp;
<a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value"> LLM: Off-table Feature Inference</a>
<a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value"> LLM: Off-Table Inference</a>
&nbsp;| &nbsp;
<a href="https://colab.research.google.com/drive/1cMB336jN3kb-m_pr1aJjshnNep_6bhsf?usp=sharing" target="value">CTGAN</a>
<a href="https://colab.research.google.com/drive/1cMB336jN3kb-m_pr1aJjshnNep_6bhsf?usp=sharing" target="value"> Billion-Level-Data supported CTGAN</a>
</p>

</p>
</div>

The Synthetic Data Generator (SDG) is a specialized framework designed to generate high-quality structured tabular data. It incorporates a wide range of single-table, multi-table data synthesis algorithms and LLM-based synthetic data generation models.
The Synthetic Data Generator (SDG) is a specialized framework designed to generate high-quality structured tabular data.

Synthetic data, generated by machines using real data, metadata, and algorithms, does not contain any sensitive information, yet it retains the essential characteristics of the original data. There is no direct correlation between synthetic data and real data, making it exempt from privacy regulations such as GDPR and ADPPA. This eliminates the risk of privacy breaches in practical applications.
Synthetic data does not contain any sensitive information, yet it retains the essential characteristics of the original data, making it exempt from privacy regulations such as GDPR and ADPPA.

High-quality synthetic data can be safely utilized across various domains including data sharing, model training and debugging, system development and testing, etc. Read [**latest API docs**](https://synthetic-data-generator.readthedocs.io/en/latest/) for more details!
High-quality synthetic data can be safely utilized across various domains including data sharing, model training and debugging, system development and testing, etc.

## 🔧 Features
## 💥News

- Technological advancements
- Supports a wide range of statistical data synthesis algorithms, LLM-based synthetic data generation model is also integrated;
- Optimised for big data scenarios, effectively reducing memory consumption;
- Continuously tracking the latest advances in academia and industry, and introducing support for excellent algorithms and models in a timely manner.
- Privacy enhancements
- SDG supports differential privacy, anonymization and other methods to enhance the security of synthetic data.
- Easy to extend
- Supports expansion of models, data processing, data connectors, etc. in the form of plug-in packages
Our current key achievements and timelines are as follows:

🔥 Feb 20, 2024: a single-table data synthesis model based on LLM is included, view colab example: <a href="https://colab.research.google.com/drive/1VFnP59q3eoVtMJ1PvcYjmuXtx9N8C7o0?usp=sharing" target="value"> LLM: Data Synthesis</a> and <a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value"> LLM: Off-table Feature Inference</a>.

🔶 Dec 20, 2023: v0.1.0 released, a CTGAN model that supports billions of data processing capabilities is included, view colab example: <a href="https://colab.research.google.com/drive/1cMB336jN3kb-m_pr1aJjshnNep_6bhsf?usp=sharing" target="value"> Billion-Level-Data supported CTGAN</a>.

🔆 Aug 10, 2023: First line of SDG code committed.

### 🎉 LLM-integrated synthetic data generation
## 🎉 LLM-integrated synthetic data generation

For a long time, LLM has been used to understand and generate various types of data. In fact, LLM also has certain capabilities in tabular data generation. Also, it has some abilities that cannot be achieved by traditional (based on GAN methods or statistical methods) .

Our `sdgx.models.LLM.single_table.gpt.SingleTableGPTModel` implements two new features:

#### Synthetic data generation without Data
### Synthetic data generation without Data

No training data is required, synthetic data can be generated based on metadata data, view in our <a href="https://colab.research.google.com/drive/1VFnP59q3eoVtMJ1PvcYjmuXtx9N8C7o0?usp=sharing" target="value"> colab example</a>.

![Synthetic data generation without Data](assets/LLM_Case_1.gif)

#### Off-Table feature inference
### Off-Table feature inference

Infer new column data based on the existing data in the table and the knowledge mastered by LLM, view in our <a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value"> colab example</a>.

![Off-Table feature inference](assets/LLM_Case_2.gif)

## 🔛 Quick Start
## 💫 Why SDG ?

- Technological advancements:
- Supports a wide range of statistical data synthesis algorithms, LLM-based synthetic data generation model is also integrated;
- Optimised for big data scenarios, effectively reducing memory consumption;
- Continuously tracking the latest advances in academia and industry, and introducing support for excellent algorithms and models in a timely manner.
- Privacy enhancements:
- SDG supports differential privacy, anonymization and other methods to enhance the security of synthetic data.
- Easy to extend:
- Supports expansion of models, data processing, data connectors, etc. in the form of plug-in packages.

## 🌀 Quick Start

### Pre-build image

Expand Down
44 changes: 27 additions & 17 deletions README_ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,43 +37,53 @@
</p>
</div>

合成数据生成器(Synthetic Data Generator,SDG)是一个专注于快速生成高质量的结构化表格数据的数据组件。SDG支持单表和多表数据合成算法,并集成了基于大语言模型(LLM)的合成数据生成模型。
合成数据生成器(Synthetic Data Generator,SDG)是一个专注于快速生成高质量的结构化表格数据的数据组件。

合成数据(Synthetic Data)是由计算机使用真实数据、元数据和算法生成的合成数据不包含任何敏感信息,但它保留了原始数据的基本特性。合成数据和真实数据之间没有直接的关联,使其免于GDPR和ADPPA等隐私法规的约束,消除实际应用中的隐私泄露风险。
合成数据(Synthetic Data)不包含任何敏感信息,但它保留了原始数据的基本特性,使其免于GDPR和ADPPA等隐私法规的约束,消除实际应用中的隐私泄露风险。

高质量的合成数据可以安全、多样化地在各种领域中使用,包括数据共享、模型训练和调试、系统开发和测试等应用。阅读 [**最新API文档**](https://synthetic-data-generator.readthedocs.io/en/latest/) 获取更多细节。
高质量的合成数据可以安全、多样化地在各种领域中使用,包括数据共享、模型训练和调试、系统开发和测试等应用。

## 🔧 主要特性
## 💥 相关信息

- 无限进步:
- 支持多种统计学数据合成算法,支持基于LLM的仿真数据生成方法;
- 为大数据场景优化,有效减少内存消耗;
- 持续跟踪学术界和工业界的最新进展,及时引入支持优秀算法和模型。
- 隐私增强:
- 提供中文敏感数据自动识别能力,包括姓名、身份证号、人名等17种常见敏感字段;
- 支持差分隐私、匿名化等方法,加强合成数据安全性。
- 易扩展:
- 支持以插件包的形式拓展模型、数据处理、数据连接器等功能。
我们的里程碑和时间节点如下所示:

🔥 2024年2月20日:基于LLM的单表数据合成模型已包含,查看colab示例:<a href="https://colab.research.google.com/drive/1VFnP59q3eoVtMJ1PvcYjmuXtx9N8C7o0?usp=sharing" target="value">LLM:数据合成</a> 和 <a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value">LLM:表外特征推断</a>。

🔶 2023年12月20日:v0.1.0版本发布,包含支持数十亿数据处理能力的CTGAN模型,查看colab示例:<a href="https://colab.research.google.com/drive/1cMB336jN3kb-m_pr1aJjshnNep_6bhsf?usp=sharing" target="value">支持数十亿数据的CTGAN</a>。

🔆 2023年8月10日:第一行SDG代码提交。

### 🎉 借助LLM进行合成数据生成
## 🎉 借助LLM进行合成数据生成

长期以来,LLM一直被用来理解和生成各种类型的数据。 事实上,LLM在表格数据生成方面也有较强的性能。 且LLM还具有一些传统(基于GAN方法或统计方法)无法实现的能力。

我们的 `sdgx.models.LLM.single_table.gpt.SingleTableGPTModel` 实现了两个新功能:

#### 无原始记录的数据合成功能
### 无原始记录的数据合成功能

无需原始训练数据,可以根据元数据生成合成数据,查看 <a href="https://colab.research.google.com/drive/1VFnP59q3eoVtMJ1PvcYjmuXtx9N8C7o0?usp=sharing" target="value"> Colab 例子</a>。

![Synthetic data generation without Data](assets/LLM_Case_1.gif)

#### 表外特征推断功能
### 表外特征推断功能

根据表中已有的数据以及LLM掌握的知识推断表外特征,即新的列数据,查看 <a href="https://colab.research.google.com/drive/1_chuTVZECpj5fklj-RAp7ZVrew8weLW_?usp=sharing" target="value"> Colab 例子</a>。

![Off-Table feature inference](assets/LLM_Case_2.gif)

## 🔛 快速开始
## 💫 Why SDG ?

- 无限进步:
- 支持多种统计学数据合成算法,支持基于LLM的仿真数据生成方法;
- 为大数据场景优化,有效减少内存消耗;
- 持续跟踪学术界和工业界的最新进展,及时引入支持优秀算法和模型。
- 隐私增强:
- 提供中文敏感数据自动识别能力,包括姓名、身份证号、人名等17种常见敏感字段;
- 支持差分隐私、匿名化等方法,加强合成数据安全性。
- 易扩展:
- 支持以插件包的形式拓展模型、数据处理、数据连接器等功能。

## 🌀 快速开始

### 预构建镜像

Expand Down

0 comments on commit 509387d

Please sign in to comment.