joshuasundance commited on
Commit
e8f815b
·
verified ·
1 Parent(s): b91f3cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -29
README.md CHANGED
@@ -1,41 +1,51 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
 
4
  ---
5
 
 
 
 
6
  # Model Card for Model ID
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
 
 
 
 
 
9
 
 
10
 
11
 
12
  ## Model Details
13
 
14
  ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
  This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
  ### Model Sources [optional]
29
 
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
 
36
  ## Uses
37
 
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
 
40
  ### Direct Use
41
 
@@ -77,38 +87,36 @@ Use the code below to get started with the model.
77
 
78
  ### Training Data
79
 
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
 
84
  ### Training Procedure
85
 
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
 
88
  #### Preprocessing [optional]
89
 
90
- [More Information Needed]
91
-
92
 
93
  #### Training Hyperparameters
94
 
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
 
97
  #### Speeds, Sizes, Times [optional]
98
 
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
 
101
  [More Information Needed]
102
 
103
  ## Evaluation
104
 
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
 
107
  ### Testing Data, Factors & Metrics
108
 
109
  #### Testing Data
110
 
111
- <!-- This should link to a Dataset Card if possible. -->
112
 
113
  [More Information Needed]
114
 
@@ -192,8 +200,8 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
192
 
193
  ## Model Card Authors [optional]
194
 
195
- [More Information Needed]
196
 
197
  ## Model Card Contact
198
 
199
- [More Information Needed]
 
1
  ---
2
  library_name: transformers
3
+ tags:
4
+ - phi3
5
+ - python
6
+ - dpo
7
+ - mypo
8
+ license: mit
9
+ datasets:
10
+ - joshuasundance/mypo-4k-rfc
11
+ language:
12
+ - en
13
  ---
14
 
15
+ **This is a merged version of `joshuasundance/phi3-mini-4k-qlora-python-code-20k-mypo-4k-rfc`**
16
+
17
+
18
  # Model Card for Model ID
19
 
20
+ * **Base Model**: https://huggingface.co/edumunozsala/phi3-mini-4k-qlora-python-code-20k
21
+ * **Preference Dataset**: https://huggingface.co/datasets/joshuasundance/mypo-4k-rfc
22
+ * **Training Code**: https://gist.github.com/joshuasundance-swca/a94672960733782865932a645587ccdc
23
+ * **Training Metrics**: [trainer_state.json](trainer_state.json)
24
+
25
+ This is an experimental model made by using `joshuasundance/mypo-4k-rfc` for DPO training of `edumunozsala/phi3-mini-4k-qlora-python-code-20k`.
26
 
27
+ The goal is to learn about model training and potentially get the base model to reliably produce Python with type hints. I chose `edumunozsala/phi3-mini-4k-qlora-python-code-20k` because I was able to train this model in one hour on my laptop.
28
 
29
 
30
  ## Model Details
31
 
32
  ### Model Description
33
 
 
 
34
  This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
35
 
36
+ - **Developed by:** Joshua Sundance Bailey
37
+ - **Model type:** phi 3 qlora DPO
38
+ - **Language(s) (NLP):** English
39
+ - **License:** MIT
40
+ - **Finetuned from model [optional]:** `edumunozsala/phi3-mini-4k-qlora-python-code-20k`
 
 
41
 
42
  ### Model Sources [optional]
43
 
44
+ - **Training Code:** https://gist.github.com/joshuasundance-swca/a94672960733782865932a645587ccdc
 
 
 
 
45
 
46
  ## Uses
47
 
48
+ For evaluation and testing only. Do not expect great results, and do not use this model for anything important. It has not been evaluated in any way after training.
49
 
50
  ### Direct Use
51
 
 
87
 
88
  ### Training Data
89
 
90
+ * Original qlora: `iamtarun/python_code_instructions_18k_alpaca`
91
+ * DPO: `joshuasundance/mypo-4k-rfc`
 
92
 
93
  ### Training Procedure
94
 
95
+ See training code using `peft`, `transformers`, and `trl`
96
 
97
  #### Preprocessing [optional]
98
 
99
+ See training code using `peft`, `transformers`, and `trl`
 
100
 
101
  #### Training Hyperparameters
102
 
103
+ See training code using `peft`, `transformers`, and `trl`
104
 
105
  #### Speeds, Sizes, Times [optional]
106
 
107
+ See [trainer_state.json](trainer_state.json) in this repo
108
 
109
  [More Information Needed]
110
 
111
  ## Evaluation
112
 
113
+ See [trainer_state.json](trainer_state.json) in this repo
114
 
115
  ### Testing Data, Factors & Metrics
116
 
117
  #### Testing Data
118
 
119
+ 20% of DPO dataset (see training code)
120
 
121
  [More Information Needed]
122
 
 
200
 
201
  ## Model Card Authors [optional]
202
 
203
+ Joshua Sundance Bailey
204
 
205
  ## Model Card Contact
206
 
207
+ Joshua Sundance Bailey