Bharat2004 commited on
Commit
10f50df
·
verified ·
1 Parent(s): eb89284

Bharat2004/factchecker-deberta

Browse files
Files changed (5) hide show
  1. README.md +67 -0
  2. config.json +47 -0
  3. model.safetensors +3 -0
  4. model_version.json +10 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/deberta-v3-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: deberta-factchecker
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # deberta-factchecker
18
+
19
+ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: nan
22
+ - Accuracy: 0.5
23
+ - F1 Macro: 0.3333
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 32
48
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 200
51
+ - num_epochs: 5
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
57
+ | 2.7922 | 1.0 | 593 | nan | 0.5 | 0.3333 |
58
+ | 0.0 | 2.0 | 1186 | nan | 0.5 | 0.3333 |
59
+ | 0.0 | 3.0 | 1779 | nan | 0.5 | 0.3333 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 5.0.0
65
+ - Pytorch 2.10.0+cu128
66
+ - Datasets 4.0.0
67
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaV2ForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": null,
7
+ "dtype": "float16",
8
+ "eos_token_id": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "REAL",
14
+ "1": "FAKE"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "FAKE": 1,
20
+ "REAL": 0
21
+ },
22
+ "layer_norm_eps": 1e-07,
23
+ "legacy": true,
24
+ "max_position_embeddings": 512,
25
+ "max_relative_positions": -1,
26
+ "model_type": "deberta-v2",
27
+ "norm_rel_ebd": "layer_norm",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "pooler_dropout": 0,
32
+ "pooler_hidden_act": "gelu",
33
+ "pooler_hidden_size": 768,
34
+ "pos_att_type": [
35
+ "p2c",
36
+ "c2p"
37
+ ],
38
+ "position_biased_input": false,
39
+ "position_buckets": 256,
40
+ "relative_attention": true,
41
+ "share_att_key": true,
42
+ "tie_word_embeddings": true,
43
+ "transformers_version": "5.0.0",
44
+ "type_vocab_size": 0,
45
+ "use_cache": false,
46
+ "vocab_size": 128100
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1268b993e40437a510f9cd44ee2dfcbffc5848e154dfc759291124766cb188d0
3
+ size 368871884
model_version.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Bharat2004/factchecker-deberta",
3
+ "base": "microsoft/deberta-v3-base",
4
+ "version": "20260411_1906",
5
+ "accuracy": 0.5,
6
+ "f1_macro": 0.3333,
7
+ "brier_score": 0.25,
8
+ "train_samples": 18968,
9
+ "max_length": 256
10
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52e124d94b9f990c6826a7779f99cdae943653d937ca1193d9879c167483b437
3
+ size 5201