cervisiarius commited on
Commit
a3ce2a1
·
verified ·
1 Parent(s): fd409bb

Model save

Browse files
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
3
+ library_name: transformers
4
+ model_name: cotroller_DeepSeek-R1-Distill-Qwen-1-5B_hyperfit
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - sft
9
+ licence: license
10
+ ---
11
+
12
+ # Model Card for cotroller_DeepSeek-R1-Distill-Qwen-1-5B_hyperfit
13
+
14
+ This model is a fine-tuned version of [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B).
15
+ It has been trained using [TRL](https://github.com/huggingface/trl).
16
+
17
+ ## Quick start
18
+
19
+ ```python
20
+ from transformers import pipeline
21
+
22
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
23
+ generator = pipeline("text-generation", model="cervisiarius/cotroller_DeepSeek-R1-Distill-Qwen-1-5B_hyperfit", device="cuda")
24
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
25
+ print(output["generated_text"])
26
+ ```
27
+
28
+ ## Training procedure
29
+
30
+
31
+
32
+ This model was trained with SFT.
33
+
34
+ ### Framework versions
35
+
36
+ - TRL: 0.12.1
37
+ - Transformers: 4.46.3
38
+ - Pytorch: 2.4.1
39
+ - Datasets: 3.1.0
40
+ - Tokenizers: 0.20.3
41
+
42
+ ## Citations
43
+
44
+
45
+
46
+ Cite TRL as:
47
+
48
+ ```bibtex
49
+ @misc{vonwerra2022trl,
50
+ title = {{TRL: Transformer Reinforcement Learning}},
51
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
52
+ year = 2020,
53
+ journal = {GitHub repository},
54
+ publisher = {GitHub},
55
+ howpublished = {\url{https://github.com/huggingface/trl}}
56
+ }
57
+ ```
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.333333333333334,
3
+ "total_flos": 2.268284012544e+16,
4
+ "train_loss": 0.8874274015426635,
5
+ "train_runtime": 272.099,
6
+ "train_samples": 50,
7
+ "train_samples_per_second": 1.323,
8
+ "train_steps_per_second": 0.074
9
+ }
runs/Feb07_23-09-45_GCRAZGDL1601/events.out.tfevents.1738969791.GCRAZGDL1601.3637559.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a784b0ceebab5acfc360a92f9550eefedac52d308fc95fbe074dbce7274c4a53
3
- size 6952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13d0054361a52950f3265f3e6a49c8a11a1601322c4081d4c5ffd4e847586a9d
3
+ size 7300
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.333333333333334,
3
+ "total_flos": 2.268284012544e+16,
4
+ "train_loss": 0.8874274015426635,
5
+ "train_runtime": 272.099,
6
+ "train_samples": 50,
7
+ "train_samples_per_second": 1.323,
8
+ "train_steps_per_second": 0.074
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 13.333333333333334,
5
+ "eval_steps": 500,
6
+ "global_step": 20,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 3.3333333333333335,
13
+ "grad_norm": 0.08836420625448227,
14
+ "learning_rate": 0.0002,
15
+ "loss": 0.9758,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 6.666666666666667,
20
+ "grad_norm": 0.04513823240995407,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.8873,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 10.0,
27
+ "grad_norm": 0.08414674550294876,
28
+ "learning_rate": 0.0002,
29
+ "loss": 0.881,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 13.333333333333334,
34
+ "grad_norm": 0.06876734644174576,
35
+ "learning_rate": 0.0002,
36
+ "loss": 0.8056,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 13.333333333333334,
41
+ "step": 20,
42
+ "total_flos": 2.268284012544e+16,
43
+ "train_loss": 0.8874274015426635,
44
+ "train_runtime": 272.099,
45
+ "train_samples_per_second": 1.323,
46
+ "train_steps_per_second": 0.074
47
+ }
48
+ ],
49
+ "logging_steps": 5,
50
+ "max_steps": 20,
51
+ "num_input_tokens_seen": 0,
52
+ "num_train_epochs": 20,
53
+ "save_steps": 500,
54
+ "stateful_callbacks": {
55
+ "TrainerControl": {
56
+ "args": {
57
+ "should_epoch_stop": false,
58
+ "should_evaluate": false,
59
+ "should_log": false,
60
+ "should_save": true,
61
+ "should_training_stop": true
62
+ },
63
+ "attributes": {}
64
+ }
65
+ },
66
+ "total_flos": 2.268284012544e+16,
67
+ "train_batch_size": 8,
68
+ "trial_name": null,
69
+ "trial_params": null
70
+ }