raygx commited on
Commit
0cbf828
·
1 Parent(s): 5c4ea08

Upload TFDebertaForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +58 -0
  2. config.json +42 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: DeBERTa-NepCov19SA
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # DeBERTa-NepCov19SA
14
+
15
+ This model is a fine-tuned version of [Sakonii/deberta-base-nepali](https://huggingface.co/Sakonii/deberta-base-nepali) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.5239
18
+ - Validation Loss: 0.5506
19
+ - Epoch: 5
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: {'name': 'AdamWeightDecay', 'learning_rate': 1e-06, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.0001}
39
+ - training_precision: float32
40
+
41
+ ### Training results
42
+
43
+ | Train Loss | Validation Loss | Epoch |
44
+ |:----------:|:---------------:|:-----:|
45
+ | 0.8850 | 0.6920 | 0 |
46
+ | 0.6661 | 0.6118 | 1 |
47
+ | 0.6067 | 0.5850 | 2 |
48
+ | 0.5703 | 0.5684 | 3 |
49
+ | 0.5438 | 0.5560 | 4 |
50
+ | 0.5239 | 0.5506 | 5 |
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - Transformers 4.30.2
56
+ - TensorFlow 2.12.0
57
+ - Datasets 2.13.1
58
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Sakonii/deberta-base-nepali",
3
+ "architectures": [
4
+ "DebertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "NEUTRAL",
12
+ "1": "POSITIVE",
13
+ "2": "NEGATIVE"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "NEGATIVE": 2,
19
+ "NEUTRAL": 0,
20
+ "POSITIVE": 1
21
+ },
22
+ "layer_norm_eps": 1e-07,
23
+ "max_position_embeddings": 512,
24
+ "max_relative_positions": -1,
25
+ "model_type": "deberta",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "pooler_dropout": 0,
30
+ "pooler_hidden_act": "gelu",
31
+ "pooler_hidden_size": 768,
32
+ "pos_att_type": [
33
+ "c2p",
34
+ "p2c"
35
+ ],
36
+ "position_biased_input": false,
37
+ "relative_attention": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.30.2",
40
+ "type_vocab_size": 0,
41
+ "vocab_size": 24581
42
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4be07a8041e404176c0ba158981dc683e7a23a131595973ba98ec82f45242c35
3
+ size 553685832