bleugreen commited on
Commit
e96c274
1 Parent(s): 5b3c062

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -10
README.md CHANGED
@@ -14,19 +14,18 @@ A dataset of TypeScript snippets, processed from the typescript subset of [the-s
14
  # Processing
15
  - Each source file is parsed with the TypeScript AST and queried for 'semantic chunks' of the following types.
16
  ```
17
- FunctionDeclaration ---- 8327
18
- ArrowFunction --------- 37971
19
- ClassDeclaration ------- 5864
20
- InterfaceDeclaration -- 13426
21
- EnumDeclaration --------- 531
22
- TypeAliasDeclaration --- 3657
23
- MethodDeclaration ----- 27079
24
- ModuleDeclaration ------ 1174
25
  ```
26
  - Leading comments are added to the front of `content`
27
  - Removed all chunks over max sequence length (2048)
28
  - Deduplicated / cleaned up
29
- - Generated instructions / summaries with `gpt-3.5-turbo`
30
 
31
 
32
 
@@ -38,7 +37,7 @@ load_dataset("bleugreen/typescript-chunks")
38
  DatasetDict({
39
  train: Dataset({
40
  features: ['repo', 'path', 'type', 'content', 'summary', 'instruction'],
41
- num_rows:
42
  })
43
  })
44
  ```
 
14
  # Processing
15
  - Each source file is parsed with the TypeScript AST and queried for 'semantic chunks' of the following types.
16
  ```
17
+ FunctionDeclaration ---- 8205
18
+ ArrowFunction --------- 33890
19
+ ClassDeclaration ------- 5325
20
+ InterfaceDeclaration -- 12884
21
+ EnumDeclaration --------- 518
22
+ TypeAliasDeclaration --- 3580
23
+ MethodDeclaration ----- 24713
 
24
  ```
25
  - Leading comments are added to the front of `content`
26
  - Removed all chunks over max sequence length (2048)
27
  - Deduplicated / cleaned up
28
+ - Generated instructions / summaries with `gpt-3.5-turbo` (in progress)
29
 
30
 
31
 
 
37
  DatasetDict({
38
  train: Dataset({
39
  features: ['repo', 'path', 'type', 'content', 'summary', 'instruction'],
40
+ num_rows: 89115
41
  })
42
  })
43
  ```