varun-v-rao
commited on
Commit
•
89a9b08
1
Parent(s):
6cb882d
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: facebook/opt-350m
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: opt-350m-lora-1.57M-snli-model3
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# opt-350m-lora-1.57M-snli-model3
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.8582
|
21 |
+
- Accuracy: 0.686
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 256
|
42 |
+
- eval_batch_size: 256
|
43 |
+
- seed: 75
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 3
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 0.5032 | 1.0 | 2146 | 0.4190 | 0.8378 |
|
53 |
+
| 0.4594 | 2.0 | 4292 | 0.3869 | 0.8562 |
|
54 |
+
| 0.4445 | 3.0 | 6438 | 0.3771 | 0.8623 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.35.2
|
60 |
+
- Pytorch 2.1.1+cu121
|
61 |
+
- Datasets 2.15.0
|
62 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/opt-350m",
|
3 |
+
"_remove_final_layer_norm": false,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "relu",
|
6 |
+
"architectures": [
|
7 |
+
"OPTForSequenceClassification"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"bos_token_id": 2,
|
11 |
+
"do_layer_norm_before": false,
|
12 |
+
"dropout": 0.1,
|
13 |
+
"enable_bias": true,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"ffn_dim": 4096,
|
16 |
+
"hidden_size": 1024,
|
17 |
+
"id2label": {
|
18 |
+
"0": "LABEL_0",
|
19 |
+
"1": "LABEL_1",
|
20 |
+
"2": "LABEL_2"
|
21 |
+
},
|
22 |
+
"init_std": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"LABEL_0": 0,
|
25 |
+
"LABEL_1": 1,
|
26 |
+
"LABEL_2": 2
|
27 |
+
},
|
28 |
+
"layer_norm_elementwise_affine": true,
|
29 |
+
"layerdrop": 0.0,
|
30 |
+
"max_position_embeddings": 2048,
|
31 |
+
"model_type": "opt",
|
32 |
+
"num_attention_heads": 16,
|
33 |
+
"num_hidden_layers": 24,
|
34 |
+
"pad_token_id": 1,
|
35 |
+
"prefix": "</s>",
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.2",
|
39 |
+
"use_cache": true,
|
40 |
+
"vocab_size": 50272,
|
41 |
+
"word_embed_proj_dim": 512
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81a455ad9ec4557c45297822c73844cb7badc6724f11a1c85febaa7aa00bc4d2
|
3 |
+
size 1324837112
|
runs/Feb06_06-36-53_gl1516.arc-ts.umich.edu/events.out.tfevents.1707225151.gl1516.arc-ts.umich.edu.3191246.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4364bffb4306705e1a8a3d4e64f192a1b6a1653378e02fdb67055f6b2c58e8e
|
3 |
+
size 1380
|