Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Libraries:
Datasets
pandas
License:
michaelmior commited on
Commit
aa9c9c1
·
verified ·
1 Parent(s): 51404f7

Convert repo stars to integer

Browse files
Files changed (4) hide show
  1. test.jsonl.gz +2 -2
  2. train.jsonl.gz +2 -2
  3. train_split.py +1 -1
  4. validation.jsonl.gz +2 -2
test.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:622976cdf07900a0cdcb75a2a7795157a96d97c2e989712433637c2b71e5ca4c
3
- size 773582
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5248fb1d00b834b10313bc391e7b0a6d22993b3c130c3dcf6335eb3819ede53
3
+ size 771540
train.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f48377b4b27ae095f6277a5953aaf11fdb767583a7fe43f898e38e1e2898575
3
- size 23505638
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:293f05cf668011d6d58ffc68f2fa0ac05f04b47e7b2b2d778e506c0c30a01153
3
+ size 23484213
train_split.py CHANGED
@@ -31,7 +31,7 @@ def write_schemas(filename, schema_list, schema_data):
31
  "repository": data["repository"],
32
  "commit": data["commit"],
33
  "path": data["path"],
34
- "repoStars": data["repoStars"],
35
  "repoLastFetched": data["repoLastFetched"],
36
  "content": schema,
37
  }
 
31
  "repository": data["repository"],
32
  "commit": data["commit"],
33
  "path": data["path"],
34
+ "repoStars": int(data["repoStars"]),
35
  "repoLastFetched": data["repoLastFetched"],
36
  "content": schema,
37
  }
validation.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b944ada143efe2dce9850c3bcb3e82a7221ae18e8696c8baff019e9f148f611
3
- size 569948
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99d35c67ed0c473c07571ab60360df1c932e8fa345ba6a0d2b937de404788d69
3
+ size 560261