Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add means for gauging average average loss per token and token subsets #356

Open
gkielian opened this issue Jan 10, 2025 · 0 comments
Open

Comments

@gkielian
Copy link
Collaborator

gkielian commented Jan 10, 2025

After reading this paper from NeurIPS 2024, they have an interesting suggestion to focus validation loss on strategic subsets of the full token set.

The paper recommended separating loss between non-padding tokens and padding tokens.

While not stated in the paper, some interesting subsets could include:

  • with word tokenization POS (nouns vs verbs)
  • with IPA (consonants vs vowels)
  • with Multilingual datasets -- each of the language scripts
  • Byte Fallback Tokens
  • Punctuation tokens
  • Non-Punctuation Tokens

References:
https://arxiv.org/pdf/2407.18158

This intersects the following paper on normalization token frequencies (which suggest another set of high probability tokens, or perhaps some combined metric of token_frequency * val loss per token histogramk, average, and per subset):
https://arxiv.org/abs/2411.00680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant