upload files
Browse files- .gitattributes +1 -0
- config.json +53 -0
- model.neuron +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.neuron filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "4921590d3c0c3832c0efea24c8381ce0bda7844b",
|
3 |
+
"_name_or_path": "yiyanghkust/finbert-tone",
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Neutral",
|
14 |
+
"1": "Positive",
|
15 |
+
"2": "Negative"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"Negative": 2,
|
21 |
+
"Neutral": 0,
|
22 |
+
"Positive": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "bert",
|
27 |
+
"neuron": {
|
28 |
+
"auto_cast": null,
|
29 |
+
"auto_cast_type": null,
|
30 |
+
"compiler_type": "neuronx-cc",
|
31 |
+
"compiler_version": "2.6.0.19+3d819e565",
|
32 |
+
"dynamic_batch_size": false,
|
33 |
+
"input_names": [
|
34 |
+
"input_ids",
|
35 |
+
"attention_mask",
|
36 |
+
"token_type_ids"
|
37 |
+
],
|
38 |
+
"output_names": [
|
39 |
+
"logits"
|
40 |
+
],
|
41 |
+
"static_batch_size": 1,
|
42 |
+
"static_sequence_length": 128
|
43 |
+
},
|
44 |
+
"num_attention_heads": 12,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"pad_token_id": 0,
|
47 |
+
"position_embedding_type": "absolute",
|
48 |
+
"torchscript": true,
|
49 |
+
"transformers_version": null,
|
50 |
+
"type_vocab_size": 2,
|
51 |
+
"use_cache": true,
|
52 |
+
"vocab_size": 30873
|
53 |
+
}
|
model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9519a60c86bcd38b2859b2e3bfc01ee48edadb9f5933e4f4eeea19eb05cfc4d9
|
3 |
+
size 408440952
|