AT-Llama-2-7b-chat-Tweet-Sentiment
Browse files
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
base_model: TheBloke/Llama-2-7B-Chat-GPTQ
|
7 |
+
model-index:
|
8 |
+
- name: Tweet_sentiment
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# Tweet_sentiment
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [TheBloke/Llama-2-7B-Chat-GPTQ](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GPTQ) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.3702
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.0002
|
39 |
+
- train_batch_size: 4
|
40 |
+
- eval_batch_size: 4
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 16
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.03
|
47 |
+
- num_epochs: 1
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:------:|:----:|:---------------:|
|
54 |
+
| 5.422 | 0.0457 | 2 | 5.0470 |
|
55 |
+
| 4.9414 | 0.0914 | 4 | 4.1810 |
|
56 |
+
| 4.0188 | 0.1371 | 6 | 3.4657 |
|
57 |
+
| 3.3677 | 0.1829 | 8 | 3.0499 |
|
58 |
+
| 2.9535 | 0.2286 | 10 | 2.6861 |
|
59 |
+
| 2.6161 | 0.2743 | 12 | 2.3395 |
|
60 |
+
| 2.2863 | 0.32 | 14 | 2.1053 |
|
61 |
+
| 2.0074 | 0.3657 | 16 | 1.8991 |
|
62 |
+
| 1.8586 | 0.4114 | 18 | 1.7303 |
|
63 |
+
| 1.6228 | 0.4571 | 20 | 1.5946 |
|
64 |
+
| 1.6133 | 0.5029 | 22 | 1.4988 |
|
65 |
+
| 1.4484 | 0.5486 | 24 | 1.5005 |
|
66 |
+
| 1.4666 | 0.5943 | 26 | 1.4966 |
|
67 |
+
| 1.4474 | 0.64 | 28 | 1.4517 |
|
68 |
+
| 1.3586 | 0.6857 | 30 | 1.4138 |
|
69 |
+
| 1.4181 | 0.7314 | 32 | 1.3979 |
|
70 |
+
| 1.4306 | 0.7771 | 34 | 1.3889 |
|
71 |
+
| 1.3387 | 0.8229 | 36 | 1.3809 |
|
72 |
+
| 1.3072 | 0.8686 | 38 | 1.3747 |
|
73 |
+
| 1.4662 | 0.9143 | 40 | 1.3714 |
|
74 |
+
| 1.3664 | 0.96 | 42 | 1.3702 |
|
75 |
+
|
76 |
+
|
77 |
+
### Framework versions
|
78 |
+
|
79 |
+
- PEFT 0.10.0
|
80 |
+
- Transformers 4.40.2
|
81 |
+
- Pytorch 2.1.0+cu121
|
82 |
+
- Datasets 2.19.1
|
83 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TheBloke/Llama-2-7B-Chat-GPTQ",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 8,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"q_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bbd1fa703e643c9f476ebdb0de822393d50edf2c6a19d2b6aabc137fd8b8194
|
3 |
+
size 16794200
|
runs/May11_20-56-19_ebd9bc4e0c63/events.out.tfevents.1715461043.ebd9bc4e0c63.2139.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc7dd84bbf0f687f9099c7d671dbba8382a92747cb3de6f4a95ded6159e44aad
|
3 |
+
size 15642
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c357191843c737d0cac9a99bbc73f2344910551289df1ff3b16bc29b44cc33a
|
3 |
+
size 4984
|