varun-v-rao commited on
Commit
4d95199
1 Parent(s): d290670

End of training

Browse files
Files changed (3) hide show
  1. README.md +72 -0
  2. config.json +42 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: varun-v-rao/opt-350m-fp-sick
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - snli
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: opt-350m-fp-sick-lora-snli-model1
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: snli
18
+ type: snli
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.8440357650883966
23
+ ---
24
+
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
+
28
+ # opt-350m-fp-sick-lora-snli-model1
29
+
30
+ This model is a fine-tuned version of [varun-v-rao/opt-350m-fp-sick](https://huggingface.co/varun-v-rao/opt-350m-fp-sick) on the snli dataset.
31
+ It achieves the following results on the evaluation set:
32
+ - Loss: 0.4156
33
+ - Accuracy: 0.8440
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 2e-05
53
+ - train_batch_size: 128
54
+ - eval_batch_size: 64
55
+ - seed: 8
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 1
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
64
+ | 0.4823 | 1.0 | 4292 | 0.4156 | 0.8440 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.35.2
70
+ - Pytorch 2.0.1+cu118
71
+ - Datasets 2.15.0
72
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "varun-v-rao/opt-350m-fp-sick",
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:9da412c7f62a726196251b195aafc205f9c502d427205a0270d66c98f14c090f
3
+ size 1324837112