Harsh-7300
commited on
Upload 10 files
Browse files- README.md +34 -0
- config.json +45 -0
- merges.txt +0 -0
- model.bin +3 -0
- special_tokens_map.json +1 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,3 +1,37 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
widget:
|
4 |
+
- text: With tears of joy streaming down her cheeks, she embraced her long-lost brother after years of separation.
|
5 |
+
example_title: Joy
|
6 |
+
- text: As the orchestra played the final note, the audience erupted into thunderous applause, filling the concert hall with joy.
|
7 |
+
example_title: Joy
|
8 |
+
- text: The old man sat alone on the park bench, reminiscing about the love he had lost, his eyes filled with sadness.
|
9 |
+
example_title: Sadness
|
10 |
+
- text: The news of her best friend moving to a distant country left her feeling a profound sadness and emptiness.
|
11 |
+
example_title: Sadness
|
12 |
+
- text: The scientific research paper discussed complex concepts that were beyond the scope of a laymans understanding.
|
13 |
+
example_title: Neutral
|
14 |
+
- text: The documentary provided an objective view of the historical events, presenting facts without any bias.
|
15 |
+
example_title: Neutral
|
16 |
+
- text: He clenched his fists tightly, trying to control the surge of anger when he heard the offensive remarks.
|
17 |
+
example_title: Anger
|
18 |
+
- text: The unfair treatment at work ignited a simmering anger within him, leading him to consider confronting the management.
|
19 |
+
example_title: Anger
|
20 |
+
- text: As the magician pulled a rabbit out of an empty hat, the children gasped in amazement and surprise.
|
21 |
+
example_title: Surprise
|
22 |
+
- text: He opened the box to find a rare and valuable antique inside, leaving him speechless with surprise.
|
23 |
+
example_title: Surprise
|
24 |
+
- text: The moldy and rotting food in the refrigerator evoked a sense of disgust, leading her to clean it immediately.
|
25 |
+
example_title: Disgust
|
26 |
+
- text: The movie's graphic scenes of violence and gore left many viewers feeling a sense of disgust and unease.
|
27 |
+
example_title: Disgust
|
28 |
+
- text: As the storm raged outside, the little child clung to their parents, seeking comfort from the fear of thunder.
|
29 |
+
example_title: Fear
|
30 |
+
- text: The horror movie was so terrifying that some viewers had to cover their eyes in fear, unable to bear the suspense.
|
31 |
+
example_title: Fear
|
32 |
+
language:
|
33 |
+
- en
|
34 |
+
metrics:
|
35 |
+
- accuracy
|
36 |
+
pipeline_tag: text-classification
|
37 |
---
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilroberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "anger",
|
15 |
+
"1": "disgust",
|
16 |
+
"2": "fear",
|
17 |
+
"3": "joy",
|
18 |
+
"4": "neutral",
|
19 |
+
"5": "sadness",
|
20 |
+
"6": "surprise"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"anger": 0,
|
26 |
+
"disgust": 1,
|
27 |
+
"fear": 2,
|
28 |
+
"joy": 3,
|
29 |
+
"neutral": 4,
|
30 |
+
"sadness": 5,
|
31 |
+
"surprise": 6
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"max_position_embeddings": 514,
|
35 |
+
"model_type": "roberta",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 6,
|
38 |
+
"pad_token_id": 1,
|
39 |
+
"position_embedding_type": "absolute",
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"transformers_version": "4.6.1",
|
42 |
+
"type_vocab_size": 1,
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 50265
|
45 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dde1eadd81741344dd707d1c482a3293810eb895c873053213ccdb2b57ca9e95
|
3 |
+
size 328544361
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c063ba3427b92183bb04bbff65f89e06838058606ae9fed8095594cd740af0ae
|
3 |
+
size 328644696
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilroberta-base"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ed7a68d54395ab0be21726d6fcf25f942ed459b16387bbf9cf251051986766f
|
3 |
+
size 2415
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|