File size: 3,320 Bytes
4382ed7
 
 
 
 
 
 
 
 
 
 
 
 
 
7de4d63
4382ed7
 
 
 
 
 
 
fb0f153
7de4d63
 
4382ed7
 
 
 
 
 
 
4ecdafd
1790b82
4382ed7
 
 
 
 
 
 
 
 
 
 
 
fb0f153
4382ed7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fb0f153
7de4d63
 
4382ed7
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
license: other
language:
  - ko
  - en
tags:
  - code
  - fill-in-the-middle
  - jsonl
  - tokenizer
  - moe
  - dense
pretty_name: FABLE 5 Code FIM Upload Checkpoints
size_categories:
  - 10M<n<100M
---

# FABLE 5 Code FIM Upload Checkpoints

This dataset repository stores upload-ready JSONL training checkpoints for code
completion and fill-in-the-middle training. Checkpoints are appended in
approximately 20 GiB units so they can also be copied to Google Drive and loaded
from Colab/H100 training jobs. New checkpoints use one JSONL file per 20 GiB
checkpoint. The long-term target is 400GB total mirrored to Hugging Face and
Google Drive.

## Current Upload Status

Only validation-passing checkpoints should be uploaded or used for training.

| Checkpoint | Size | JSONL | In-bundle duplicates | Status |
| --- | ---: | --- | ---: | --- |
| `checkpoint_20260611_104104_bundle01_20g` | 19.04 GiB | valid, single JSONL | 0 | uploaded to Hugging Face; Google Drive cloud verified by rclone SHA256/size check |
| `checkpoint_20260611_112534_bundle01_20g` | 19.11 GiB | valid, single JSONL | 0 | uploaded to Hugging Face; Google Drive cloud verified by rclone SHA256/size check |

## Repository Layout

```text
README.md
dataset_guide/
tokenizer/
dense/
moe/
dataset/
  checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g/
    dataset/
      checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g.jsonl
dataset_guide/
  checkpoint_reports/
    checkpoint_YYYYMMDD_HHMMSS_bundleNN_20g/
      MANIFEST.json
      BALANCE_REPORT.md
      CHECKSUMS.txt
```

## Record Format

Each line is one UTF-8 JSON object. The main training payload is `text`.
Metadata can appear in top-level fields and in `meta`.

Common fields:

- `text`: canonical training string.
- `domain`: task family such as `code_fim` or `code_gen`.
- `difficulty`: coarse difficulty bucket.
- `meta.lang`: programming language.
- `meta.repo`, `meta.path`, `meta.license`, `meta.source`: source metadata when available.
- `meta.mode`: FIM ordering such as `psm` or `spm`.

FIM examples use explicit special tokens:

```text
<|fim_prefix|>{prefix}<|fim_suffix|>{suffix}<|fim_middle|>{middle}
```

Some FIM shards may use suffix-prefix-middle ordering for robustness.

## Source And License Notes

This is a mixed code dataset. Bundle 1 contains generated/unknown continuation
records and `the-stack-v2` FIM records with per-record source metadata such as
repository, path, and license where available. Consumers should filter by
`meta.license`, `meta.source`, and project policy before redistribution or
training.

The dataset card intentionally uses `license: other` because this repository
contains mixed-source records rather than one uniform license.

## Validation Contract

A checkpoint is upload-ready only when:

- JSONL parsing succeeds.
- Empty `text` count is zero.
- In-bundle duplicate count is zero.
- The checkpoint folder contains only one file:
  `dataset/<checkpoint>.jsonl`. Legacy checkpoints may contain several JSONL
  parts only until they are repackaged.
- `MANIFEST.json`, `BALANCE_REPORT.md`, and `CHECKSUMS.txt` are present under
  `dataset_guide/checkpoint_reports/<checkpoint>/`.
- Shared `tokenizer/`, `dense/`, and `moe/` documentation lives at repository
  root, outside checkpoint folders.

Do not train on a checkpoint marked `Not Upload Ready`.