Datasets:
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +66 -0
- train.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
train.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- code
|
| 4 |
+
license: other
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
+
pretty_name: Luau Stack HQ Pretraining
|
| 8 |
+
size_categories:
|
| 9 |
+
- 10K<n<100K
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Dataset Card for YCWTG/luau-stack-hq-pretraining
|
| 13 |
+
|
| 14 |
+
## Summary
|
| 15 |
+
|
| 16 |
+
This dataset is a pretraining-oriented repackaging of `khtsly/luau-stack-hq`.
|
| 17 |
+
It keeps only the source code content and stores it in a single field named `text`.
|
| 18 |
+
|
| 19 |
+
- Rows: 21,704
|
| 20 |
+
- File format: JSONL
|
| 21 |
+
- Split: `train`
|
| 22 |
+
- Main file: `train.jsonl`
|
| 23 |
+
|
| 24 |
+
## Data Schema
|
| 25 |
+
|
| 26 |
+
Each row has one field:
|
| 27 |
+
|
| 28 |
+
```json
|
| 29 |
+
{"text": "<luau source code>"}
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## Processing
|
| 33 |
+
|
| 34 |
+
The source file `/luau-stack.jsonl` was transformed with the following rule:
|
| 35 |
+
|
| 36 |
+
1. Read each JSON line.
|
| 37 |
+
2. Extract the original `code` field.
|
| 38 |
+
3. Write a new JSON line with `{"text": code}`.
|
| 39 |
+
4. Drop all other fields.
|
| 40 |
+
|
| 41 |
+
No filtering, deduplication, or normalization was applied beyond field selection/renaming.
|
| 42 |
+
|
| 43 |
+
## Intended Use
|
| 44 |
+
|
| 45 |
+
This dataset is intended for code language model pretraining or continued pretraining where a unified `text` field is required.
|
| 46 |
+
|
| 47 |
+
## Load with `datasets`
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
ds = load_dataset("YCWTG/luau-stack-hq-pretraining", split="train")
|
| 53 |
+
print(ds[0]["text"][:200])
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Source and Attribution
|
| 57 |
+
|
| 58 |
+
- Original source repository: `khtsly/luau-stack-hq`
|
| 59 |
+
- This dataset is a format-converted repackaging by `YCWTG`.
|
| 60 |
+
|
| 61 |
+
Please cite or acknowledge the original source repository when using this data.
|
| 62 |
+
|
| 63 |
+
## License
|
| 64 |
+
|
| 65 |
+
This repackaging does not change the licensing terms of the upstream data.
|
| 66 |
+
Please review and comply with the original source license and any file-level license obligations.
|
train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae74729e38d6ff0d9969437c08ea24b0e1f3309ff9d77bc6b04642ba3a833418
|
| 3 |
+
size 65541252
|