EleutherAI / EleutherAI/pythia

No EOD Tokens in EleutherAI/pile-deduped-pythia-preshuffled

Open
#175 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
224
PR merge metrics
No merged PRs in 30d

Description

According to the `20B_tokenizer.json`, the end of document (EOD) token has id 0 and is denoted `<|endoftext|>`. Some people have raised in ealier issues that there are no EOD tokens in `EleutherAI/pile-deduped-pythia-preshuffled`. This issue seems to be standing since January 2024. I processed the pile as instructed in the README.md based on `EleutherAI/pile-deduped-pythia-preshuffled`. However, I can confirm that there appear to be no EOD tokens in the dataset. Beyond using the batch_viewer.py, I also started a training loop and recorded `x.min()` at the beginning of my `forward(x)` function. Both methods show that the smallest token ID is 2. From this I conclude that there are no EOD tokens in this version of the dataset. This causes serious issues for both training and evaluating on other datasets that use the EOD token (which never got gradient updates for a model trained on `EleutherAI/pile-deduped-pythia-preshuffled`). Would it be possible to provide a tokenized pile with 2049 tokens per sequence that does separate documents with EODs?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.