magniolia commited on
Commit
2006976
·
verified ·
1 Parent(s): 57c8077

Model save

Browse files
Files changed (1) hide show
  1. README.md +36 -49
README.md CHANGED
@@ -1,70 +1,57 @@
1
  ---
2
  base_model: mistralai/Mistral-7B-Instruct-v0.2
3
- library_name: peft
4
- license: apache-2.0
5
  tags:
 
6
  - trl
7
  - sft
8
- - generated_from_trainer
9
- model-index:
10
- - name: results
11
- results: []
12
  ---
13
 
14
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
- should probably proofread and complete it, then remove this comment. -->
16
-
17
- # results
18
-
19
- This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on an unknown dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 1.2677
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: 0.0002
41
- - train_batch_size: 1
42
- - eval_batch_size: 8
43
- - seed: 42
44
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
- - lr_scheduler_type: linear
46
- - num_epochs: 7
47
- - mixed_precision_training: Native AMP
48
 
49
- ### Training results
 
 
 
 
50
 
51
- | Training Loss | Epoch | Step | Validation Loss |
52
- |:-------------:|:------:|:----:|:---------------:|
53
- | 1.4001 | 0.7143 | 5 | 1.2847 |
54
- | 0.9774 | 1.4286 | 10 | 1.1217 |
55
- | 0.9041 | 2.1429 | 15 | 1.0523 |
56
- | 0.7161 | 2.8571 | 20 | 1.1212 |
57
- | 0.5792 | 3.5714 | 25 | 1.1257 |
58
- | 0.5536 | 4.2857 | 30 | 1.1142 |
59
- | 0.5333 | 5.0 | 35 | 1.2031 |
60
- | 0.3973 | 5.7143 | 40 | 1.2709 |
61
- | 0.4453 | 6.4286 | 45 | 1.2677 |
62
 
63
 
64
- ### Framework versions
65
 
66
- - PEFT 0.13.2
67
- - Transformers 4.45.2
68
- - Pytorch 2.4.1+cu121
69
- - Datasets 3.0.1
70
- - Tokenizers 0.20.1
 
 
 
 
 
 
 
 
1
  ---
2
  base_model: mistralai/Mistral-7B-Instruct-v0.2
3
+ library_name: transformers
4
+ model_name: results
5
  tags:
6
+ - generated_from_trainer
7
  - trl
8
  - sft
9
+ licence: license
 
 
 
10
  ---
11
 
12
+ # Model Card for results
 
 
 
 
 
 
 
13
 
14
+ This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2).
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="magniolia/results", 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.0.dev0
37
+ - Transformers: 4.46.0.dev0
38
+ - Pytorch: 2.4.1+cu121
39
+ - Datasets: 3.0.1
40
+ - Tokenizers: 0.20.1
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
+ ```