Skip to content

Instantly share code, notes, and snippets.

@saharNooby
Created April 17, 2023 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saharNooby/40fee7c4544157953f840255d466c8cd to your computer and use it in GitHub Desktop.
Save saharNooby/40fee7c4544157953f840255d466c8cd to your computer and use it in GitHub Desktop.

Setup for measuring perplexity and latency of rwkv.cpp implementation of RWKV:

Caveat: "perplexity" here is defined simply as "exp of average per-token cross-entropy loss". This may or may not be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment