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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transform_data.ipynb
|
| 2 |
+
|
| 3 |
+
# Created by https://www.toptal.com/developers/gitignore/api/python,virtualenv,jupyternotebooks,macos
|
| 4 |
+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,virtualenv,jupyternotebooks,macos
|
| 5 |
+
|
| 6 |
+
### JupyterNotebooks ###
|
| 7 |
+
# gitignore template for Jupyter Notebooks
|
| 8 |
+
# website: http://jupyter.org/
|
| 9 |
+
|
| 10 |
+
.ipynb_checkpoints
|
| 11 |
+
*/.ipynb_checkpoints/*
|
| 12 |
+
|
| 13 |
+
# IPython
|
| 14 |
+
profile_default/
|
| 15 |
+
ipython_config.py
|
| 16 |
+
|
| 17 |
+
# Remove previous ipynb_checkpoints
|
| 18 |
+
# git rm -r .ipynb_checkpoints/
|
| 19 |
+
|
| 20 |
+
### macOS ###
|
| 21 |
+
# General
|
| 22 |
+
.DS_Store
|
| 23 |
+
.AppleDouble
|
| 24 |
+
.LSOverride
|
| 25 |
+
|
| 26 |
+
# Icon must end with two \r
|
| 27 |
+
Icon
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
# Thumbnails
|
| 31 |
+
._*
|
| 32 |
+
|
| 33 |
+
# Files that might appear in the root of a volume
|
| 34 |
+
.DocumentRevisions-V100
|
| 35 |
+
.fseventsd
|
| 36 |
+
.Spotlight-V100
|
| 37 |
+
.TemporaryItems
|
| 38 |
+
.Trashes
|
| 39 |
+
.VolumeIcon.icns
|
| 40 |
+
.com.apple.timemachine.donotpresent
|
| 41 |
+
|
| 42 |
+
# Directories potentially created on remote AFP share
|
| 43 |
+
.AppleDB
|
| 44 |
+
.AppleDesktop
|
| 45 |
+
Network Trash Folder
|
| 46 |
+
Temporary Items
|
| 47 |
+
.apdisk
|
| 48 |
+
|
| 49 |
+
### macOS Patch ###
|
| 50 |
+
# iCloud generated files
|
| 51 |
+
*.icloud
|
| 52 |
+
|
| 53 |
+
### Python ###
|
| 54 |
+
# Byte-compiled / optimized / DLL files
|
| 55 |
+
__pycache__/
|
| 56 |
+
*.py[cod]
|
| 57 |
+
*$py.class
|
| 58 |
+
|
| 59 |
+
# C extensions
|
| 60 |
+
*.so
|
| 61 |
+
|
| 62 |
+
# Distribution / packaging
|
| 63 |
+
.Python
|
| 64 |
+
build/
|
| 65 |
+
develop-eggs/
|
| 66 |
+
dist/
|
| 67 |
+
downloads/
|
| 68 |
+
eggs/
|
| 69 |
+
.eggs/
|
| 70 |
+
lib/
|
| 71 |
+
lib64/
|
| 72 |
+
parts/
|
| 73 |
+
sdist/
|
| 74 |
+
var/
|
| 75 |
+
wheels/
|
| 76 |
+
share/python-wheels/
|
| 77 |
+
*.egg-info/
|
| 78 |
+
.installed.cfg
|
| 79 |
+
*.egg
|
| 80 |
+
MANIFEST
|
| 81 |
+
|
| 82 |
+
# PyInstaller
|
| 83 |
+
# Usually these files are written by a python script from a template
|
| 84 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
| 85 |
+
*.manifest
|
| 86 |
+
*.spec
|
| 87 |
+
|
| 88 |
+
# Installer logs
|
| 89 |
+
pip-log.txt
|
| 90 |
+
pip-delete-this-directory.txt
|
| 91 |
+
|
| 92 |
+
# Unit test / coverage reports
|
| 93 |
+
htmlcov/
|
| 94 |
+
.tox/
|
| 95 |
+
.nox/
|
| 96 |
+
.coverage
|
| 97 |
+
.coverage.*
|
| 98 |
+
.cache
|
| 99 |
+
nosetests.xml
|
| 100 |
+
coverage.xml
|
| 101 |
+
*.cover
|
| 102 |
+
*.py,cover
|
| 103 |
+
.hypothesis/
|
| 104 |
+
.pytest_cache/
|
| 105 |
+
cover/
|
| 106 |
+
|
| 107 |
+
# Translations
|
| 108 |
+
*.mo
|
| 109 |
+
*.pot
|
| 110 |
+
|
| 111 |
+
# Django stuff:
|
| 112 |
+
*.log
|
| 113 |
+
local_settings.py
|
| 114 |
+
db.sqlite3
|
| 115 |
+
db.sqlite3-journal
|
| 116 |
+
|
| 117 |
+
# Flask stuff:
|
| 118 |
+
instance/
|
| 119 |
+
.webassets-cache
|
| 120 |
+
|
| 121 |
+
# Scrapy stuff:
|
| 122 |
+
.scrapy
|
| 123 |
+
|
| 124 |
+
# Sphinx documentation
|
| 125 |
+
docs/_build/
|
| 126 |
+
|
| 127 |
+
# PyBuilder
|
| 128 |
+
.pybuilder/
|
| 129 |
+
target/
|
| 130 |
+
|
| 131 |
+
# Jupyter Notebook
|
| 132 |
+
|
| 133 |
+
# IPython
|
| 134 |
+
|
| 135 |
+
# pyenv
|
| 136 |
+
# For a library or package, you might want to ignore these files since the code is
|
| 137 |
+
# intended to run in multiple environments; otherwise, check them in:
|
| 138 |
+
# .python-version
|
| 139 |
+
|
| 140 |
+
# pipenv
|
| 141 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
| 142 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
| 143 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
| 144 |
+
# install all needed dependencies.
|
| 145 |
+
#Pipfile.lock
|
| 146 |
+
|
| 147 |
+
# poetry
|
| 148 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
| 149 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 150 |
+
# commonly ignored for libraries.
|
| 151 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
| 152 |
+
#poetry.lock
|
| 153 |
+
|
| 154 |
+
# pdm
|
| 155 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
| 156 |
+
#pdm.lock
|
| 157 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
| 158 |
+
# in version control.
|
| 159 |
+
# https://pdm.fming.dev/#use-with-ide
|
| 160 |
+
.pdm.toml
|
| 161 |
+
|
| 162 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
| 163 |
+
__pypackages__/
|
| 164 |
+
|
| 165 |
+
# Celery stuff
|
| 166 |
+
celerybeat-schedule
|
| 167 |
+
celerybeat.pid
|
| 168 |
+
|
| 169 |
+
# SageMath parsed files
|
| 170 |
+
*.sage.py
|
| 171 |
+
|
| 172 |
+
# Environments
|
| 173 |
+
.env
|
| 174 |
+
.venv
|
| 175 |
+
env/
|
| 176 |
+
venv/
|
| 177 |
+
ENV/
|
| 178 |
+
env.bak/
|
| 179 |
+
venv.bak/
|
| 180 |
+
|
| 181 |
+
# Spyder project settings
|
| 182 |
+
.spyderproject
|
| 183 |
+
.spyproject
|
| 184 |
+
|
| 185 |
+
# Rope project settings
|
| 186 |
+
.ropeproject
|
| 187 |
+
|
| 188 |
+
# mkdocs documentation
|
| 189 |
+
/site
|
| 190 |
+
|
| 191 |
+
# mypy
|
| 192 |
+
.mypy_cache/
|
| 193 |
+
.dmypy.json
|
| 194 |
+
dmypy.json
|
| 195 |
+
|
| 196 |
+
# Pyre type checker
|
| 197 |
+
.pyre/
|
| 198 |
+
|
| 199 |
+
# pytype static type analyzer
|
| 200 |
+
.pytype/
|
| 201 |
+
|
| 202 |
+
# Cython debug symbols
|
| 203 |
+
cython_debug/
|
| 204 |
+
|
| 205 |
+
# PyCharm
|
| 206 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
| 207 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
| 208 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 209 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 210 |
+
#.idea/
|
| 211 |
+
|
| 212 |
+
### Python Patch ###
|
| 213 |
+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
|
| 214 |
+
poetry.toml
|
| 215 |
+
|
| 216 |
+
# ruff
|
| 217 |
+
.ruff_cache/
|
| 218 |
+
|
| 219 |
+
# LSP config files
|
| 220 |
+
pyrightconfig.json
|
| 221 |
+
|
| 222 |
+
### VirtualEnv ###
|
| 223 |
+
# Virtualenv
|
| 224 |
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
| 225 |
+
[Bb]in
|
| 226 |
+
[Ii]nclude
|
| 227 |
+
[Ll]ib
|
| 228 |
+
[Ll]ib64
|
| 229 |
+
[Ll]ocal
|
| 230 |
+
[Ss]cripts
|
| 231 |
+
pyvenv.cfg
|
| 232 |
+
pip-selfcheck.json
|
| 233 |
+
|
| 234 |
+
# End of https://www.toptal.com/developers/gitignore/api/python,virtualenv,jupyternotebooks,macos
|
README.md
CHANGED
|
@@ -1,15 +1,43 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
task_categories:
|
| 3 |
-
- text-classification
|
| 4 |
language:
|
| 5 |
-
- en
|
|
|
|
|
|
|
| 6 |
pretty_name: Offensive Language Identification Dataset
|
| 7 |
configs:
|
| 8 |
-
- config_name:
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
size_categories:
|
| 12 |
-
- 10K<n<100K
|
| 13 |
---
|
| 14 |
# Dataset Card for Dataset Name
|
| 15 |
|
|
@@ -207,4 +235,4 @@ Users should be made aware of the risks, biases and limitations of the dataset.
|
|
| 207 |
|
| 208 |
## Dataset Card Contact
|
| 209 |
|
| 210 |
-
[More Information Needed]
|
|
|
|
| 1 |
---
|
| 2 |
+
multilinguality:
|
| 3 |
+
- monolingual
|
| 4 |
+
paperswithcode_id: olid
|
| 5 |
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
language:
|
| 8 |
+
- en
|
| 9 |
+
annotations_creators:
|
| 10 |
+
- crowdsourced
|
| 11 |
pretty_name: Offensive Language Identification Dataset
|
| 12 |
configs:
|
| 13 |
+
- config_name: 1.0.0
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: train.csv
|
| 17 |
+
- split: test
|
| 18 |
+
path: test.csv
|
| 19 |
+
dataset_info:
|
| 20 |
+
- config_name: 1.0.0
|
| 21 |
+
features:
|
| 22 |
+
- name: id
|
| 23 |
+
dtype: int64
|
| 24 |
+
- name: tweet
|
| 25 |
+
dtype: string
|
| 26 |
+
- name: cleaned_tweet
|
| 27 |
+
dtype: string
|
| 28 |
+
- name: subtask_a
|
| 29 |
+
dtype: string
|
| 30 |
+
- name: subtask_b
|
| 31 |
+
dtype: string
|
| 32 |
+
- name: subtask_c
|
| 33 |
+
dtype: string
|
| 34 |
+
splits:
|
| 35 |
+
- name: train
|
| 36 |
+
num_examples: 13240
|
| 37 |
+
- name: test
|
| 38 |
+
num_examples: 860
|
| 39 |
size_categories:
|
| 40 |
+
- 10K<n<100K
|
| 41 |
---
|
| 42 |
# Dataset Card for Dataset Name
|
| 43 |
|
|
|
|
| 235 |
|
| 236 |
## Dataset Card Contact
|
| 237 |
|
| 238 |
+
[More Information Needed]
|
test.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
train.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|