dusersad12 commited on
Commit
8234603
·
verified ·
1 Parent(s): a35dacb

Upload best run from sweep (run_008, eval_accuracy=0.901)

Browse files
Files changed (4) hide show
  1. README.md +50 -0
  2. config.json +6 -0
  3. metrics.json +7 -0
  4. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ tags:
5
+ - sweep
6
+ - fine-tuned
7
+ ---
8
+ # SweepBestModel
9
+
10
+ This model was selected as the best checkpoint from a hyperparameter sweep over 8 runs. It achieved the highest evaluation accuracy across all configurations tested.
11
+
12
+ ## Model Details
13
+
14
+ - **Model type:** Encoder-only transformer
15
+ - **Training objective:** Sequence classification
16
+ - **Sweep strategy:** Bayesian optimization
17
+
18
+ ## Evaluation Results
19
+
20
+ | Metric | Value |
21
+ |---|---|
22
+ | eval_accuracy | 0.901 |
23
+ | eval_loss | 0.245 |
24
+ | f1_score | 0.894 |
25
+ | precision | 0.908 |
26
+ | recall | 0.881 |
27
+
28
+ ## Training Configuration
29
+
30
+ The best run was trained with the following hyperparameters:
31
+
32
+ | Parameter | Value |
33
+ |---|---|
34
+ | learning_rate | 2e-05 |
35
+ | batch_size | 64 |
36
+ | epochs | 12 |
37
+ | weight_decay | 0.001 |
38
+
39
+ ## Usage
40
+
41
+ ```python
42
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
43
+
44
+ model = AutoModelForSequenceClassification.from_pretrained("SweepBestModel-TestRepo")
45
+ tokenizer = AutoTokenizer.from_pretrained("SweepBestModel-TestRepo")
46
+ ```
47
+
48
+ ## License
49
+
50
+ This model is licensed under the Apache-2.0 License.
config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "learning_rate": 2e-05,
3
+ "batch_size": 64,
4
+ "epochs": 12,
5
+ "weight_decay": 0.001
6
+ }
metrics.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.901,
3
+ "eval_loss": 0.245,
4
+ "f1_score": 0.894,
5
+ "precision": 0.908,
6
+ "recall": 0.881
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:965362299a238de576a92dfdd3e32aea7a2bacc94b2c41541c8c9258b923f587
3
+ size 23