Created
May 1, 2022 05:56
-
-
Save charlieoneill11/23f2e97930b399a5faf5402af0f546cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
offensive_encoded = offensive.map(tokenize, batched=True, batch_size=None) | |
print(offensive_encoded["train"].column_names) | |
> ['text', 'label', 'input_ids', 'attention_mask'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment