TeamVioletEdifai commited on
Commit
293b4bb
·
verified ·
1 Parent(s): 43bc6a8

TeamVioletEdifai/cleanedYelpData

Browse files
Files changed (4) hide show
  1. README.md +77 -0
  2. config.json +39 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: results
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # results
21
+
22
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 1.0407
25
+ - Accuracy: 0.563
26
+ - F1: 0.5630
27
+ - Precision: 0.5631
28
+ - Recall: 0.563
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.0416 | 1.0 | 2500 | 1.0319 | 0.5479 | 0.5347 | 0.5392 | 0.5479 |
61
+ | 0.9488 | 2.0 | 5000 | 1.0248 | 0.5594 | 0.5535 | 0.5540 | 0.5594 |
62
+ | 0.8759 | 3.0 | 7500 | 1.0407 | 0.563 | 0.5630 | 0.5631 | 0.563 |
63
+ | 0.7576 | 4.0 | 10000 | 1.1242 | 0.5553 | 0.5539 | 0.5533 | 0.5553 |
64
+ | 0.6735 | 5.0 | 12500 | 1.2117 | 0.5528 | 0.5504 | 0.5500 | 0.5528 |
65
+ | 0.5951 | 6.0 | 15000 | 1.2677 | 0.5464 | 0.5442 | 0.5427 | 0.5464 |
66
+ | 0.5128 | 7.0 | 17500 | 1.4077 | 0.5401 | 0.5456 | 0.5570 | 0.5401 |
67
+ | 0.4343 | 8.0 | 20000 | 1.4986 | 0.5416 | 0.5433 | 0.5458 | 0.5416 |
68
+ | 0.3861 | 9.0 | 22500 | 1.5921 | 0.5402 | 0.5436 | 0.5497 | 0.5402 |
69
+ | 0.3713 | 10.0 | 25000 | 1.6282 | 0.5376 | 0.5401 | 0.5438 | 0.5376 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.44.2
75
+ - Pytorch 2.5.0+cu121
76
+ - Datasets 3.1.0
77
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.2,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2,
23
+ "LABEL_3": 3,
24
+ "LABEL_4": 4
25
+ },
26
+ "max_position_embeddings": 512,
27
+ "model_type": "distilbert",
28
+ "n_heads": 12,
29
+ "n_layers": 6,
30
+ "pad_token_id": 0,
31
+ "problem_type": "single_label_classification",
32
+ "qa_dropout": 0.1,
33
+ "seq_classif_dropout": 0.2,
34
+ "sinusoidal_pos_embds": false,
35
+ "tie_weights_": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.44.2",
38
+ "vocab_size": 30522
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1865d3c4611e074a47b5caa0991dc05947d9acb8fb4121123d3164c551ef05ba
3
+ size 267841796
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d50397049eb65ce8bae6bf364635057828e3d21e1d7cd3fbad437deb89cb76f0
3
+ size 5112