NickIBrody commited on
Commit
cddfa45
·
verified ·
1 Parent(s): 2e74eab

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +150 -0
  3. test.jsonl +3 -0
  4. train.jsonl +3 -0
  5. validation.jsonl +3 -0
.gitattributes CHANGED
@@ -58,3 +58,6 @@ 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
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ validation.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Rust Code Suite
3
+ language:
4
+ - code
5
+ tags:
6
+ - code
7
+ - rust
8
+ - systems-programming
9
+ - code-corpus
10
+ task_categories:
11
+ - text-generation
12
+ size_categories:
13
+ - 100K<n<1M
14
+ source_datasets:
15
+ - original
16
+ ---
17
+
18
+ # NickIBrody/rust-code-suite
19
+
20
+ Rust Code Suite is a public raw Rust source corpus built from open-source repositories and selected historical git revisions.
21
+
22
+ ## Splits
23
+
24
+ - `train.jsonl`
25
+ - `validation.jsonl`
26
+ - `test.jsonl`
27
+
28
+ ## Schema
29
+
30
+ ```json
31
+ {
32
+ "id": "owner/repo:path:chunk",
33
+ "text": "...",
34
+ "arch": "rust",
35
+ "syntax": "rust",
36
+ "kind": "rust-source",
37
+ "repo": "owner/repo",
38
+ "path": "src/lib.rs",
39
+ "license": "GPL-2.0",
40
+ "commit": "abcdef123456",
41
+ "source_url": "https://github.com/owner/repo/blob/abcdef123456/src/lib.rs"
42
+ }
43
+ ```
44
+
45
+ ## Build Summary
46
+
47
+ ```json
48
+ {
49
+ "total_examples": 1079332,
50
+ "arch_counts": {
51
+ "rust": 1079332
52
+ },
53
+ "syntax_counts": {
54
+ "rust": 1079332
55
+ },
56
+ "kind_counts": {
57
+ "rust-source": 738167,
58
+ "macro-heavy": 251258,
59
+ "testsuite": 87434,
60
+ "inline": 2473
61
+ },
62
+ "top_repos": [
63
+ [
64
+ "RustPython/RustPython",
65
+ 80000
66
+ ],
67
+ [
68
+ "rhaiscript/rhai",
69
+ 80000
70
+ ],
71
+ [
72
+ "rust-lang/cargo",
73
+ 80000
74
+ ],
75
+ [
76
+ "rust-lang/rust-analyzer",
77
+ 80000
78
+ ],
79
+ [
80
+ "rust-lang/rust",
81
+ 80000
82
+ ],
83
+ [
84
+ "rustdesk/rustdesk",
85
+ 80000
86
+ ],
87
+ [
88
+ "clap-rs/clap",
89
+ 77890
90
+ ],
91
+ [
92
+ "rust-lang/rustfmt",
93
+ 77682
94
+ ],
95
+ [
96
+ "rust-lang/rust-clippy",
97
+ 75049
98
+ ],
99
+ [
100
+ "serde-rs/serde",
101
+ 59024
102
+ ],
103
+ [
104
+ "tokio-rs/tokio",
105
+ 57979
106
+ ],
107
+ [
108
+ "rust-lang/rustup",
109
+ 54353
110
+ ],
111
+ [
112
+ "hyperium/hyper",
113
+ 44769
114
+ ],
115
+ [
116
+ "awslabs/aws-sdk-rust",
117
+ 29884
118
+ ],
119
+ [
120
+ "mozilla/uniffi-rs",
121
+ 23585
122
+ ],
123
+ [
124
+ "BurntSushi/ripgrep",
125
+ 21317
126
+ ],
127
+ [
128
+ "serde-rs/json",
129
+ 20506
130
+ ],
131
+ [
132
+ "rust-bitcoin/rust-secp256k1",
133
+ 16189
134
+ ],
135
+ [
136
+ "tokio-rs/prost",
137
+ 11952
138
+ ],
139
+ [
140
+ "rust-lang/rustlings",
141
+ 6059
142
+ ]
143
+ ],
144
+ "avg_chars": 1887.91,
145
+ "size_estimate_bytes": 2037683839,
146
+ "train": 971127,
147
+ "validation": 54238,
148
+ "test": 53967
149
+ }
150
+ ```
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feecea9e7932820f6d205eda396ab98fdd5c2b29f576aeef31c7ff13c7b7a785
3
+ size 133667271
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd1902a8cf10d8d68c598853068265c70ecfc72c609f6dd7b77ef2e6eb468ab1
3
+ size 2377788345
validation.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cb646260c1010156d0e6cc4a6c3905256594060c5935c3c8528370e13429d73
3
+ size 137296643