kacperwikiel commited on
Commit
575452c
·
1 Parent(s): e0973ac

Use GitHub usernames for tokenizer authors

Browse files
README.md CHANGED
@@ -20,7 +20,7 @@ filter, and compare the tokenizers without navigating contributor folders.
20
 
21
  ## Columns
22
 
23
- - `author`: contributor name.
24
  - `size`: tokenizer vocabulary size.
25
  - `name`: original filename.
26
  - `format`: normalized artifact-format classification.
 
20
 
21
  ## Columns
22
 
23
+ - `author`: contributor's exact GitHub username, resolved from the source repository's pull-request history.
24
  - `size`: tokenizer vocabulary size.
25
  - `name`: original filename.
26
  - `format`: normalized artifact-format classification.
build_parquet.py CHANGED
@@ -11,6 +11,15 @@ import pyarrow.parquet as pq
11
 
12
 
13
  SOURCE_COMMIT = "1a5cd2c2e4df2287b4c19b3dbf5051f5d460fdc1"
 
 
 
 
 
 
 
 
 
14
  BULK_KEYS = {
15
  "model",
16
  "vocab",
@@ -52,7 +61,7 @@ def main() -> None:
52
  document = json.loads(raw_json)
53
  rows.append(
54
  {
55
- "author": item["contributor"],
56
  "size": int(item["vocab_size"]),
57
  "name": Path(source_path).name,
58
  "format": item["format"],
 
11
 
12
 
13
  SOURCE_COMMIT = "1a5cd2c2e4df2287b4c19b3dbf5051f5d460fdc1"
14
+ GITHUB_AUTHORS = {
15
+ "Arek": "Maggio333",
16
+ "KasiaMP": "KateMajzel",
17
+ "dawidm": "dawidmajewski",
18
+ "ola": "olajachymiak",
19
+ "Janek": "janbanot",
20
+ "patryk": "p4pryk",
21
+ "Konrad": "ktalik",
22
+ }
23
  BULK_KEYS = {
24
  "model",
25
  "vocab",
 
61
  document = json.loads(raw_json)
62
  rows.append(
63
  {
64
+ "author": GITHUB_AUTHORS[item["contributor"]],
65
  "size": int(item["vocab_size"]),
66
  "name": Path(source_path).name,
67
  "format": item["format"],
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0100673bc814759fc0b2895c89f257dc5b75c944ad8297944dc1e613c4b4b173
3
- size 16487677
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41aaae73e4a924dad689ea6bf87142abb937157b90781205b228d98a2abde415
3
+ size 16487708