Skip to content

Instantly share code, notes, and snippets.

@YiLi225
Created May 5, 2022 23:49
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 YiLi225/f494357c3bfb87efa099c49211a09c80 to your computer and use it in GitHub Desktop.
Save YiLi225/f494357c3bfb87efa099c49211a09c80 to your computer and use it in GitHub Desktop.
## Install: !pip install -U layer
import layer
df = layer.get_dataset('layer/wikitext/datasets/wikitext-103-train').to_pandas()
doc_set = [i for i in df.sentence.str.lower()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment