agomberto commited on
Commit
3f4a98f
1 Parent(s): 4b97e2c

Model save

Browse files
Files changed (7) hide show
  1. README.md +6 -5
  2. config.json +15 -27
  3. model.safetensors +2 -2
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +5 -7
  6. training_args.bin +1 -1
  7. vocab.txt +0 -0
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- base_model: yiyanghkust/finbert-fls
 
3
  tags:
4
  - generated_from_trainer
5
  model-index:
@@ -12,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
12
 
13
  # my_fancy_model
14
 
15
- This model is a fine-tuned version of [yiyanghkust/finbert-fls](https://huggingface.co/yiyanghkust/finbert-fls) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Loss: 0.4101
18
 
19
  ## Model description
20
 
@@ -45,8 +46,8 @@ The following hyperparameters were used during training:
45
 
46
  | Training Loss | Epoch | Step | Validation Loss |
47
  |:-------------:|:-----:|:----:|:---------------:|
48
- | No log | 1.0 | 32 | 0.4455 |
49
- | No log | 2.0 | 64 | 0.4101 |
50
 
51
 
52
  ### Framework versions
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: distilbert/distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # my_fancy_model
15
 
16
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 0.4597
19
 
20
  ## Model description
21
 
 
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
+ | No log | 1.0 | 32 | 0.4597 |
50
+ | No log | 2.0 | 64 | 0.4772 |
51
 
52
 
53
  ### Framework versions
config.json CHANGED
@@ -1,37 +1,25 @@
1
  {
2
- "_name_or_path": "yiyanghkust/finbert-fls",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
- "id2label": {
13
- "0": "Not FLS",
14
- "1": "Non-specific FLS",
15
- "2": "Specific FLS"
16
- },
17
  "initializer_range": 0.02,
18
- "intermediate_size": 3072,
19
- "label2id": {
20
- "Non-specific FLS": 1,
21
- "Not FLS": 0,
22
- "Specific FLS": 2
23
- },
24
- "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
- "model_type": "bert",
27
- "num_attention_heads": 12,
28
- "num_hidden_layers": 12,
29
  "pad_token_id": 0,
30
- "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
 
 
 
 
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.38.2",
34
- "type_vocab_size": 2,
35
- "use_cache": true,
36
- "vocab_size": 30873
37
  }
 
1
  {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
3
+ "activation": "gelu",
4
  "architectures": [
5
+ "DistilBertForSequenceClassification"
6
  ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
 
 
 
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
 
 
 
12
  "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
  "pad_token_id": 0,
 
17
  "problem_type": "single_label_classification",
18
+ "qa_dropout": 0.1,
19
+ "seq_classif_dropout": 0.2,
20
+ "sinusoidal_pos_embds": false,
21
+ "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.38.2",
24
+ "vocab_size": 30522
 
 
25
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:092069ae18671d95f4237c52d4cba3661a0a76da22ed868f0c75e54c2a5b6387
3
- size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0ddfa6f42b7fd1fd1cd7711f38020f3a5d1b4a11e9c4d92a89dec034c60f776
3
+ size 267832560
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -8,7 +8,7 @@
8
  "single_word": false,
9
  "special": true
10
  },
11
- "2": {
12
  "content": "[UNK]",
13
  "lstrip": false,
14
  "normalized": false,
@@ -16,7 +16,7 @@
16
  "single_word": false,
17
  "special": true
18
  },
19
- "3": {
20
  "content": "[CLS]",
21
  "lstrip": false,
22
  "normalized": false,
@@ -24,7 +24,7 @@
24
  "single_word": false,
25
  "special": true
26
  },
27
- "4": {
28
  "content": "[SEP]",
29
  "lstrip": false,
30
  "normalized": false,
@@ -32,7 +32,7 @@
32
  "single_word": false,
33
  "special": true
34
  },
35
- "5": {
36
  "content": "[MASK]",
37
  "lstrip": false,
38
  "normalized": false,
@@ -43,15 +43,13 @@
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
  "do_lower_case": true,
48
  "mask_token": "[MASK]",
49
  "model_max_length": 1000000000000000019884624838656,
50
- "never_split": null,
51
  "pad_token": "[PAD]",
52
  "sep_token": "[SEP]",
53
  "strip_accents": null,
54
  "tokenize_chinese_chars": true,
55
- "tokenizer_class": "BertTokenizer",
56
  "unk_token": "[UNK]"
57
  }
 
8
  "single_word": false,
9
  "special": true
10
  },
11
+ "100": {
12
  "content": "[UNK]",
13
  "lstrip": false,
14
  "normalized": false,
 
16
  "single_word": false,
17
  "special": true
18
  },
19
+ "101": {
20
  "content": "[CLS]",
21
  "lstrip": false,
22
  "normalized": false,
 
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "102": {
28
  "content": "[SEP]",
29
  "lstrip": false,
30
  "normalized": false,
 
32
  "single_word": false,
33
  "special": true
34
  },
35
+ "103": {
36
  "content": "[MASK]",
37
  "lstrip": false,
38
  "normalized": false,
 
43
  },
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
 
46
  "do_lower_case": true,
47
  "mask_token": "[MASK]",
48
  "model_max_length": 1000000000000000019884624838656,
 
49
  "pad_token": "[PAD]",
50
  "sep_token": "[SEP]",
51
  "strip_accents": null,
52
  "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
  "unk_token": "[UNK]"
55
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49106e3271a81a0e8ba6fd355381d6f90b04ae16401fb3a9622152e880bef41d
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ab5c42657123c290d98ea1fca5c995694310d8e9d869ec054ccf2dbe2487e7
3
  size 4984
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff