archit11 commited on
Commit
d1c0da6
·
verified ·
1 Parent(s): b2ff0d4

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +58 -22
README.md CHANGED
@@ -1,24 +1,60 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: file_name
5
- dtype: string
6
- - name: text
7
- dtype: string
8
- splits:
9
- - name: train
10
- num_bytes: 12602631
11
- num_examples: 270
12
- - name: validation
13
- num_bytes: 1311508
14
- num_examples: 30
15
- download_size: 3122147
16
- dataset_size: 13914139
17
- configs:
18
- - config_name: default
19
- data_files:
20
- - split: train
21
- path: data/train-*
22
- - split: validation
23
- path: data/validation-*
24
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ task_categories:
6
+ - text-generation
7
+ - fill-mask
8
+ tags:
9
+ - code
10
+ - rust
11
+ - hyperswitch
12
+ - repo-specific-finetuning
13
+ pretty_name: hyperswitch Code Corpus (Track A Split)
14
+ size_categories:
15
+ - n<1K
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # archit11/hyperswitch-code-corpus-track-a
19
+
20
+ Repository-specific code corpus extracted from `hyperswitch` and split by file for training/evaluation.
21
+
22
+ ## What is in this dataset
23
+
24
+ - Source corpus: `data/code_corpus_hyperswitch`
25
+ - Total files: 300
26
+ - Train files: 270
27
+ - Validation files: 30
28
+ - Test files: 0
29
+ - File type filter: .rs
30
+ - Split mode: `file` (file-level holdout)
31
+
32
+ Each row has:
33
+
34
+ - `file_name`: flattened source file name
35
+ - `text`: full file contents
36
+
37
+ ## Training context
38
+
39
+ This dataset was used for extended pretraining of:
40
+
41
+ - Model repo: `https://huggingface.co/archit11/qwen2.5-coder-3b-hyperswitch-track-a-lora`
42
+ - Base model: `/root/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-3B/snapshots/09d9bc5d376b0cfa0100a0694ea7de7232525803`
43
+ - Sequence curriculum: [768, 1024, 1536]
44
+ - Learning rate: 0.001
45
+ - Batch size: 1
46
+
47
+ Evaluation from this run:
48
+
49
+ - Baseline perplexity: 2.2832
50
+ - Post-training perplexity: 1.5429
51
+
52
+ ## Load with datasets
53
+
54
+ ```python
55
+ from datasets import load_dataset
56
+
57
+ ds = load_dataset("archit11/hyperswitch-code-corpus-track-a")
58
+ print(ds)
59
+ print(ds["train"][0]["file_name"])
60
+ ```