Skip to content

Commit 3036b34

Browse files
committed
add gpt-3 note
1 parent 12b19c2 commit 3036b34

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

notes/1781846462653.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Was my writing used to train GPT-3? Answer: probably.
2+
3+
[Common Crawl](https://commoncrawl.org/) is one of the publicly known ingredients used to [train GPT-3](https://arxiv.org/pdf/2005.14165):
4+
5+
> Table 2.2 shows the final mixture of datasets that we used in training. The CommonCrawl data was downloaded from
6+
41 shards of monthly CommonCrawl covering 2016 to 2019, constituting 45TB of compressed plaintext before filtering
7+
and 570GB after filtering, roughly equivalent to 400 billion byte-pair-encoded tokens.
8+
9+
We can also check that some of my early blog posts were present in a Common Crawl snapshot by querying one of the monthly indexes:
10+
11+
```text
12+
curl "https://index.commoncrawl.org/CC-MAIN-2019-51-index?url=healeycodes.com/*&output=json" |
13+
jq -rs 'map(.urlkey) |
14+
join("\n")'
15+
com,healeycodes)/
16+
com,healeycodes)/about
17+
com,healeycodes)/discuss/python/beginners/tutorial/2019/06/18/tricking-google-with-apostrophes.html
18+
com,healeycodes)/javascript/challenge/webdev/2019/11/17/hardest-javascript-puzzle.html
19+
com,healeycodes)/javascript/python/beginners/webdev/2019/04/11/talking-between-languages.html
20+
com,healeycodes)/javascript/webdev/node/tutorial/2019/11/11/lets-generate-captchas.html
21+
com,healeycodes)/robots.txt
22+
```
23+
24+
However, that data was then filtered:
25+
26+
> [...] we took 3 steps to improve the average quality of our datasets:
27+
(1) we downloaded and filtered a version of CommonCrawl based on similarity to a range of high-quality reference
28+
corpora, (2) we performed fuzzy deduplication at the document level, within and across datasets, to prevent redundancy
29+
and preserve the integrity of our held-out validation set as an accurate measure of overfitting, [...]
30+
31+
But I'd like to think my writing is high quality enough to survive such filtering!

0 commit comments

Comments
 (0)