# Add \`ep split\` subcommand for dataset splitting \(\#46364\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/11cfdb1e62321fbd17c6d7bebd1953ab54bc9c75)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 11cfdb1e62321fbd17c6d7bebd1953ab54bc9c75

Requested commit: 11cfdb1e62321fbd17c6d7bebd1953ab54bc9c75

Commit: 11cfdb1e62321fbd17c6d7bebd1953ab54bc9c75

Tree: 45d5c4a3e5dcfefe7132557077083625e4eb2303

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
Add `ep split` subcommand for dataset splitting (#46364)

Adds a new `ep split` command that splits JSONL datasets into multiple
output files with stratification by `repository_url` when present.

Example usage:

  ep split input.jsonl train.jsonl=80% valid.jsonl=rest

Release Notes:

- N/A
```

## Parents

- [1fa9dd628445623793005c73ce807d4da9f58d21](https://git.cafe/gitcafe/zed/commit/1fa9dd628445623793005c73ce807d4da9f58d21?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/11cfdb1e62321fbd17c6d7bebd1953ab54bc9c75?format=markdown)
