Spaces:
No application file
No application file
Commit
·
f77557b
1
Parent(s):
b5c7b98
fix
Browse files
sentiment-evaluation-suite.py
CHANGED
|
@@ -7,7 +7,6 @@ class Suite(evaluate.EvaluationSuite):
|
|
| 7 |
def __init__(self, name):
|
| 8 |
super().__init__(name)
|
| 9 |
|
| 10 |
-
def setup(self):
|
| 11 |
self.preprocessor = lambda x: {"text": x["text"].lower()}
|
| 12 |
self.suite = [
|
| 13 |
SubTask(
|
|
@@ -40,4 +39,4 @@ class Suite(evaluate.EvaluationSuite):
|
|
| 40 |
}
|
| 41 |
}
|
| 42 |
)
|
| 43 |
-
]
|
|
|
|
| 7 |
def __init__(self, name):
|
| 8 |
super().__init__(name)
|
| 9 |
|
|
|
|
| 10 |
self.preprocessor = lambda x: {"text": x["text"].lower()}
|
| 11 |
self.suite = [
|
| 12 |
SubTask(
|
|
|
|
| 39 |
}
|
| 40 |
}
|
| 41 |
)
|
| 42 |
+
]
|