gualti commited on
Commit
1ea0c5c
·
verified ·
1 Parent(s): 6029434

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +50 -0
  2. config.json +30 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: gualti/imdb_model
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: imdb_model3
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # imdb_model3
16
+
17
+ This model is a fine-tuned version of [gualti/imdb_model](https://huggingface.co/gualti/imdb_model) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - optimizer: None
39
+ - training_precision: float32
40
+
41
+ ### Training results
42
+
43
+
44
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.53.3
48
+ - TensorFlow 2.18.0
49
+ - Datasets 4.0.0
50
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "NEGATIVE",
12
+ "1": "POSITIVE"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "label2id": {
16
+ "NEGATIVE": 0,
17
+ "POSITIVE": 1
18
+ },
19
+ "max_position_embeddings": 512,
20
+ "model_type": "distilbert",
21
+ "n_heads": 12,
22
+ "n_layers": 6,
23
+ "pad_token_id": 0,
24
+ "qa_dropout": 0.1,
25
+ "seq_classif_dropout": 0.2,
26
+ "sinusoidal_pos_embds": false,
27
+ "tie_weights_": true,
28
+ "transformers_version": "4.53.3",
29
+ "vocab_size": 30522
30
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2ce3099a08027169fcbe3d1a188b4274c7ee4c293a1b8b606d2fb96a66f6ddc
3
+ size 267955144