Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
license: cc-by-nc-nd-4.0
|
| 5 |
-
library_name:
|
| 6 |
tags:
|
| 7 |
- emotion-recognition
|
| 8 |
- bayesian-deep-learning
|
|
@@ -12,14 +12,6 @@ tags:
|
|
| 12 |
datasets:
|
| 13 |
- Skylion007/openwebtext
|
| 14 |
- google-research-datasets/go_emotions
|
| 15 |
-
snippet: |
|
| 16 |
-
from huggingface_hub import snapshot_download
|
| 17 |
-
from emcoder import EmCoder
|
| 18 |
-
|
| 19 |
-
model_dir = snapshot_download(repo_id="yezdata/EmCoder")
|
| 20 |
-
|
| 21 |
-
tokenizer = AutoTokenizer.from_pretrained(model_dir)
|
| 22 |
-
model = EmCoder.from_pretrained(model_dir)
|
| 23 |
metrics:
|
| 24 |
- precision
|
| 25 |
- recall
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
license: cc-by-nc-nd-4.0
|
| 5 |
+
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- emotion-recognition
|
| 8 |
- bayesian-deep-learning
|
|
|
|
| 12 |
datasets:
|
| 13 |
- Skylion007/openwebtext
|
| 14 |
- google-research-datasets/go_emotions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
metrics:
|
| 16 |
- precision
|
| 17 |
- recall
|