File size: 429 Bytes
1b3633b
 
 
cd44703
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
license: mit
---

## Dataset Description
A dataset of pairs of TypeScript code to appropriate type declarations.

## Language
TypeScript only.

## To Load
```python
from datasets import load_dataset

load_dataset("noahshinn024/ts-code2td")
```

## Distribution of type declaration code lengths
- uses the tokenizer from [bigcode/santacoder](https://huggingface.co/bigcode/santacoder)
![](./media/declaration_token_distr.png)