https://github.com/dolores2333/semeval-2021-toxic-spans-detection
Cisco at SemEval-2021 Task 5: What’s Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments
https://github.com/dolores2333/semeval-2021-toxic-spans-detection
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.5%) to scientific vocabulary
Last synced: 5 months ago
·
JSON representation
Repository
Cisco at SemEval-2021 Task 5: What’s Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments
Basic Info
- Host: GitHub
- Owner: Dolores2333
- Default Branch: main
- Size: 2.96 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of Sreyan88/SemEval-2021-Toxic-Spans-Detection
Created over 4 years ago
· Last pushed almost 5 years ago
https://github.com/Dolores2333/SemEval-2021-Toxic-Spans-Detection/blob/main/
# Cisco-at-SemEval-2021-Task-5-Toxic-Spans-Detection
This repository contains code for our paper titled : [Cisco at SemEval-2021 Task 5: Whats Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments](https://arxiv.org/abs/2105.13959)
The paper was accepted at SemEval 2021 and is based on the shared task SemEval 2021 Task 5 : Toxic Spans Detection
We provide the [link](https://drive.google.com/drive/folders/1NtNUmLs9rgdpAkSgxzhPdSQa3yOqjvcS?usp=sharing) to one of our *Sequence Tagging Model (BERT Model trained on BIO Tagging)*.
For tagging your own text download the model from drive and run:
```python
from flair.models import SequenceTagger
from flair.data import Sentence
tagger = SequenceTagger.load('/path/to/your/model')
sentence = Sentence('He is so stupid !')
# predict NER tags
tagger.predict(sentence)
# print sentence with predicted tags
print(sentence.to_tagged_string())
```
Owner
- Name: Dolores
- Login: Dolores2333
- Kind: user
- Location: Hong Kong
- Company: HKUST
- Repositories: 2
- Profile: https://github.com/Dolores2333
👉 👉 👉