Spaces:
Runtime error
Runtime error
Rename EmotionTaggerClass to EmotionTaggerClass.py
Browse files
EmotionTaggerClass → EmotionTaggerClass.py
RENAMED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
class EmotionTagger(pl.LightningModule):
|
2 |
def __init__(self, n_classes: int, n_training_steps=None, n_warmup_steps=None):
|
3 |
super().__init__()
|
|
|
1 |
+
BERT_MODEL_NAME = 'bert-base-cased'
|
2 |
+
LABEL_COLUMNS = ['anger','joy','fear','surprise','sadness', 'neutral']
|
3 |
+
|
4 |
class EmotionTagger(pl.LightningModule):
|
5 |
def __init__(self, n_classes: int, n_training_steps=None, n_warmup_steps=None):
|
6 |
super().__init__()
|