-
-
Save amankharwal/8687a1df8c4314d5e95ff9f2032c02f2 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
data["labels"] = data["class"].map({0: "Hate Speech", | |
1: "Offensive Language", | |
2: "No Hate and Offensive"}) | |
print(data.head()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment