Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
30245c0c
Unverified
Commit
30245c0c
authored
Jun 29, 2020
by
Manuel Romero
Committed by
GitHub
Jun 29, 2020
Browse files
Fix table format fot test tesults (#5357)
parent
c3401055
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
model_cards/mrm8488/t5-base-finetuned-emotion/README.md
model_cards/mrm8488/t5-base-finetuned-emotion/README.md
+12
-13
No files found.
model_cards/mrm8488/t5-base-finetuned-emotion/README.md
View file @
30245c0c
...
...
@@ -32,18 +32,18 @@ The training script is a slightly modified version of [this Colab Notebook](http
## Test set metrics 🧾
|precision | recall | f1-score |support|
|----------|----------|---------|----------|-------|
|anger | 0.93| 0.92| 0.93| 275|
|fear | 0.91| 0.87| 0.89| 224|
|joy | 0.97| 0.94| 0.95| 695|
|love | 0.80| 0.91| 0.85| 159|
|sadness | 0.97| 0.97| 0.97| 521|
|surpirse | 0.73| 0.89| 0.80| 66|
|----------|----------|---------|----------|-------
|
|accuracy| | | 0.93| 2000|
|macro avg| 0.89| 0.92| 0.90| 2000|
|weighted avg| 0.94| 0.93| 0.93| 2000|
|
|precision | recall | f1-score |support|
|----------|----------|---------|----------|-------|
|anger | 0.93| 0.92| 0.93| 275|
|fear | 0.91| 0.87| 0.89| 224|
|joy | 0.97| 0.94| 0.95| 695|
|love | 0.80| 0.91| 0.85| 159|
|sadness | 0.97| 0.97| 0.97| 521|
|surpirse | 0.73| 0.89| 0.80| 66|
|
|
|accuracy| | | 0.93| 2000|
|macro avg| 0.89| 0.92| 0.90| 2000|
|weighted avg| 0.94| 0.93| 0.93| 2000|
...
...
@@ -73,7 +73,6 @@ def get_emotion(text):
get_emotion
(
"i feel as if i havent blogged in ages are at least truly blogged i am doing an update cute"
)
# Output: 'joy'
get_emotion
(
"i have a feeling i kinda lost my best friend"
)
# Output: 'sadness'
```
> Created by [Manuel Romero/@mrm8488](https://twitter.com/mrm8488) | [LinkedIn](https://www.linkedin.com/in/manuel-romero-cs/)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment