Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Datasets:
matthewfranglen
/
aste-v2
like
0
Tasks:
Token Classification
Text Classification
Modalities:
Tabular
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
arxiv:
1911.01616
arxiv:
2107.12214
arxiv:
2010.02609
Libraries:
Datasets
pandas
Croissant
+ 1
Dataset card
Viewer
Files
Files and versions
Community
1
cfa80ae
aste-v2
/
src
/
sentiment.py
Matthew Franglen
Create an entrypoint and split code up
59da9af
about 1 year ago
raw
Copy download link
history
blame
Safe
174 Bytes
label_to_sentiment = {
"POS"
:
"positive"
,
"NEG"
:
"negative"
,
"NEU"
:
"neutral"
,
}
def
to_nice_sentiment
(
label:
str
) ->
str
:
return
label_to_sentiment[label]