Meziane commited on
Commit
115f63d
·
verified ·
1 Parent(s): 69af086

End of training

Browse files
README.md CHANGED
@@ -1,7 +1,6 @@
1
  ---
2
- base_model: google-t5/t5-small
3
- library_name: peft
4
  license: apache-2.0
 
5
  tags:
6
  - trl
7
  - sft
@@ -17,6 +16,8 @@ should probably proofread and complete it, then remove this comment. -->
17
  # tmp
18
 
19
  This model is a fine-tuned version of [google-t5/t5-small](https://huggingface.co/google-t5/t5-small) on an unknown dataset.
 
 
20
 
21
  ## Model description
22
 
@@ -35,22 +36,25 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 5e-05
39
- - train_batch_size: 8
40
- - eval_batch_size: 8
41
  - seed: 42
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
  - lr_scheduler_type: linear
44
- - num_epochs: 3.0
45
 
46
  ### Training results
47
 
 
 
 
 
48
 
49
 
50
  ### Framework versions
51
 
52
- - PEFT 0.11.1
53
  - Transformers 4.41.2
54
  - Pytorch 2.3.0+cu121
55
  - Datasets 2.20.0
56
- - Tokenizers 0.19.1
 
1
  ---
 
 
2
  license: apache-2.0
3
+ base_model: google-t5/t5-small
4
  tags:
5
  - trl
6
  - sft
 
16
  # tmp
17
 
18
  This model is a fine-tuned version of [google-t5/t5-small](https://huggingface.co/google-t5/t5-small) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.2654
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
  - seed: 42
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: linear
45
+ - num_epochs: 2
46
 
47
  ### Training results
48
 
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | No log | 1.0 | 25 | 1.7214 |
52
+ | No log | 2.0 | 50 | 1.2654 |
53
 
54
 
55
  ### Framework versions
56
 
 
57
  - Transformers 4.41.2
58
  - Pytorch 2.3.0+cu121
59
  - Datasets 2.20.0
60
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-t5/t5-small",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 2048,
8
+ "d_kv": 64,
9
+ "d_model": 512,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "relu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": false,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 6,
22
+ "num_heads": 8,
23
+ "num_layers": 6,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "task_specific_params": {
29
+ "summarization": {
30
+ "early_stopping": true,
31
+ "length_penalty": 2.0,
32
+ "max_length": 200,
33
+ "min_length": 30,
34
+ "no_repeat_ngram_size": 3,
35
+ "num_beams": 4,
36
+ "prefix": "summarize: "
37
+ },
38
+ "translation_en_to_de": {
39
+ "early_stopping": true,
40
+ "max_length": 300,
41
+ "num_beams": 4,
42
+ "prefix": "translate English to German: "
43
+ },
44
+ "translation_en_to_fr": {
45
+ "early_stopping": true,
46
+ "max_length": 300,
47
+ "num_beams": 4,
48
+ "prefix": "translate English to French: "
49
+ },
50
+ "translation_en_to_ro": {
51
+ "early_stopping": true,
52
+ "max_length": 300,
53
+ "num_beams": 4,
54
+ "prefix": "translate English to Romanian: "
55
+ }
56
+ },
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.41.2",
59
+ "use_cache": true,
60
+ "vocab_size": 32128
61
+ }
dap_multiplexer.394c0181bb2a.root.log.INFO.20240702-233509.137 ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Log file created at: 2024/07/02 23:35:09
2
+ Running on machine: 394c0181bb2a
3
+ Binary: Built on Dec 31 1969 16:00:00 -0800 (0)
4
+ Binary: Built at redacted@redacted:.
5
+ Binary: Built with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
6
+ Previous log: <none>
7
+ Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
8
+ I0702 23:35:09.857938 1 log_spam.go:43] Process id 137
9
+ I0702 23:35:09.860186 1 log_spam.go:47] Current working directory /
10
+ I0702 23:35:09.860195 1 log_spam.go:49] Current timezone is UTC (currently UTC +00:00)
11
+ I0702 23:35:09.860222 1 log_spam.go:50] Built on Dec 31 1969 16:00:00 -0800 (0)
12
+ at redacted@redacted:.
13
+ as unknown
14
+ with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
15
+ from changelist 0 in a unknown client based on redacted
16
+ Build tool: unknown
17
+ Build target: unknown
18
+ Build id: unknown
19
+ Built with PGO profile: unknown
20
+ I0702 23:35:09.860227 1 log_spam.go:51] Command line arguments:
21
+ I0702 23:35:09.860229 1 log_spam.go:53] argv[0]: '/usr/local/bin/dap_multiplexer'
22
+ I0702 23:35:09.860232 1 log_spam.go:53] argv[1]: '--domain_socket_path=/tmp/debugger_1gmv2hhpef'
dap_multiplexer.INFO CHANGED
@@ -1,14 +1,14 @@
1
- Log file created at: 2024/06/30 17:52:46
2
- Running on machine: 38816f7f58cb
3
  Binary: Built on Dec 31 1969 16:00:00 -0800 (0)
4
  Binary: Built at redacted@redacted:.
5
  Binary: Built with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
6
  Previous log: <none>
7
  Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
8
- I0630 17:52:46.579676 1 log_spam.go:43] Process id 137
9
- I0630 17:52:46.582596 1 log_spam.go:47] Current working directory /
10
- I0630 17:52:46.582610 1 log_spam.go:49] Current timezone is UTC (currently UTC +00:00)
11
- I0630 17:52:46.582649 1 log_spam.go:50] Built on Dec 31 1969 16:00:00 -0800 (0)
12
  at redacted@redacted:.
13
  as unknown
14
  with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
@@ -17,6 +17,6 @@ Build tool: unknown
17
  Build target: unknown
18
  Build id: unknown
19
  Built with PGO profile: unknown
20
- I0630 17:52:46.582658 1 log_spam.go:51] Command line arguments:
21
- I0630 17:52:46.582663 1 log_spam.go:53] argv[0]: '/usr/local/bin/dap_multiplexer'
22
- I0630 17:52:46.582668 1 log_spam.go:53] argv[1]: '--domain_socket_path=/tmp/debugger_23iicn3mfr'
 
1
+ Log file created at: 2024/07/02 23:35:09
2
+ Running on machine: 394c0181bb2a
3
  Binary: Built on Dec 31 1969 16:00:00 -0800 (0)
4
  Binary: Built at redacted@redacted:.
5
  Binary: Built with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
6
  Previous log: <none>
7
  Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
8
+ I0702 23:35:09.857938 1 log_spam.go:43] Process id 137
9
+ I0702 23:35:09.860186 1 log_spam.go:47] Current working directory /
10
+ I0702 23:35:09.860195 1 log_spam.go:49] Current timezone is UTC (currently UTC +00:00)
11
+ I0702 23:35:09.860222 1 log_spam.go:50] Built on Dec 31 1969 16:00:00 -0800 (0)
12
  at redacted@redacted:.
13
  as unknown
14
  with gc go1.23-20240603-RC03 cl/639787341 +eaa7d9ff86 X:fieldtrack,boringcrypto for linux/amd64
 
17
  Build target: unknown
18
  Build id: unknown
19
  Built with PGO profile: unknown
20
+ I0702 23:35:09.860227 1 log_spam.go:51] Command line arguments:
21
+ I0702 23:35:09.860229 1 log_spam.go:53] argv[0]: '/usr/local/bin/dap_multiplexer'
22
+ I0702 23:35:09.860232 1 log_spam.go:53] argv[1]: '--domain_socket_path=/tmp/debugger_1gmv2hhpef'
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.41.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30d4c6ca400b53dfbe16933cb163d2b6b6453f41e80752b366d2ed11b3db785e
3
+ size 242041896
runs/Jul03_00-27-48_394c0181bb2a/events.out.tfevents.1719966481.394c0181bb2a.3731.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f747d76eee7a4367319a362d88fe0bc4f6790e7fcf2bc1a18fbaf0f4064f6f5
3
+ size 5896
runs/Jul03_00-28-54_394c0181bb2a/events.out.tfevents.1719966535.394c0181bb2a.3731.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a79a139a0e78c7adb32f5da45f651b880de4e276e7ebac0754f3c2b94474195
3
+ size 5896
runs/Jul03_00-30-59_394c0181bb2a/events.out.tfevents.1719966663.394c0181bb2a.3731.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4bd44f125dbfac4c4e285549f367bc433a51895b3a017fc62fde49b49c1d611
3
+ size 6162
runs/Jul03_00-31-53_394c0181bb2a/events.out.tfevents.1719966714.394c0181bb2a.3731.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb15eae2424259cba6b6fee7bb9517d3d8d485638e93180bd36398b4a7e599a
3
+ size 6162
runs/Jul03_00-32-28_394c0181bb2a/events.out.tfevents.1719966749.394c0181bb2a.3731.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:896b6c6bb82b20c2eb4a68273f7ea3575605f0f9932b7bb10af1d66580a1416d
3
+ size 6775
tmp93kz25pj/__pycache__/_remote_module_non_scriptable.cpython-310.pyc ADDED
Binary file (1.5 kB). View file
 
tmp93kz25pj/_remote_module_non_scriptable.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import *
2
+
3
+ import torch
4
+ import torch.distributed.rpc as rpc
5
+ from torch import Tensor
6
+ from torch._jit_internal import Future
7
+ from torch.distributed.rpc import RRef
8
+ from typing import Tuple # pyre-ignore: unused import
9
+
10
+
11
+ module_interface_cls = None
12
+
13
+
14
+ def forward_async(self, *args, **kwargs):
15
+ args = (self.module_rref, self.device, self.is_device_map_set, *args)
16
+ kwargs = {**kwargs}
17
+ return rpc.rpc_async(
18
+ self.module_rref.owner(),
19
+ _remote_forward,
20
+ args,
21
+ kwargs,
22
+ )
23
+
24
+
25
+ def forward(self, *args, **kwargs):
26
+ args = (self.module_rref, self.device, self.is_device_map_set, *args)
27
+ kwargs = {**kwargs}
28
+ ret_fut = rpc.rpc_async(
29
+ self.module_rref.owner(),
30
+ _remote_forward,
31
+ args,
32
+ kwargs,
33
+ )
34
+ return ret_fut.wait()
35
+
36
+
37
+ _generated_methods = [
38
+ forward_async,
39
+ forward,
40
+ ]
41
+
42
+
43
+
44
+
45
+ def _remote_forward(
46
+ module_rref: RRef[module_interface_cls], device: str, is_device_map_set: bool, *args, **kwargs):
47
+ module = module_rref.local_value()
48
+ device = torch.device(device)
49
+
50
+ if device.type != "cuda":
51
+ return module.forward(*args, **kwargs)
52
+
53
+ # If the module is on a cuda device,
54
+ # move any CPU tensor in args or kwargs to the same cuda device.
55
+ # Since torch script does not support generator expression,
56
+ # have to use concatenation instead of
57
+ # ``tuple(i.to(device) if isinstance(i, Tensor) else i for i in *args)``.
58
+ args = (*args,)
59
+ out_args: Tuple[()] = ()
60
+ for arg in args:
61
+ arg = (arg.to(device),) if isinstance(arg, Tensor) else (arg,)
62
+ out_args = out_args + arg
63
+
64
+ kwargs = {**kwargs}
65
+ for k, v in kwargs.items():
66
+ if isinstance(v, Tensor):
67
+ kwargs[k] = kwargs[k].to(device)
68
+
69
+ if is_device_map_set:
70
+ return module.forward(*out_args, **kwargs)
71
+
72
+ # If the device map is empty, then only CPU tensors are allowed to send over wire,
73
+ # so have to move any GPU tensor to CPU in the output.
74
+ # Since torch script does not support generator expression,
75
+ # have to use concatenation instead of
76
+ # ``tuple(i.cpu() if isinstance(i, Tensor) else i for i in module.forward(*out_args, **kwargs))``.
77
+ ret: Tuple[()] = ()
78
+ for i in module.forward(*out_args, **kwargs):
79
+ i = (i.cpu(),) if isinstance(i, Tensor) else (i,)
80
+ ret = ret + i
81
+ return ret
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a86aab7b7f10475172cc5ed23967f5e2c56e72b0f4928b7fa99307e41ab177d5
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6bed6a3b8b35711c83eb2f26e07f13a79e69ac571ec141f853d039f0dd8b68c
3
  size 5304