Update README.md
Browse files
README.md
CHANGED
@@ -1,194 +1,71 @@
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
#
|
|
|
7 |
|
8 |
-
## Model Details
|
9 |
|
10 |
### Model Description
|
11 |
|
12 |
-
- **
|
13 |
-
- **
|
14 |
-
- **
|
15 |
-
- **Model type:** [More Information Needed]
|
16 |
-
- **Language(s) (NLP):** [More Information Needed]
|
17 |
-
- **License:** [More Information Needed]
|
18 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
19 |
|
20 |
-
### Model Sources
|
21 |
|
22 |
-
|
|
|
|
|
23 |
|
24 |
-
|
25 |
-
- **Paper [optional]:** [More Information Needed]
|
26 |
-
- **Demo [optional]:** [More Information Needed]
|
27 |
|
28 |
-
|
29 |
|
30 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
35 |
-
|
36 |
-
[More Information Needed]
|
37 |
-
|
38 |
-
### Downstream Use [optional]
|
39 |
-
|
40 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
41 |
-
|
42 |
-
[More Information Needed]
|
43 |
-
|
44 |
-
### Out-of-Scope Use
|
45 |
-
|
46 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
47 |
-
|
48 |
-
[More Information Needed]
|
49 |
-
|
50 |
-
## Bias, Risks, and Limitations
|
51 |
-
|
52 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
53 |
-
|
54 |
-
[More Information Needed]
|
55 |
-
|
56 |
-
### Recommendations
|
57 |
-
|
58 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
59 |
-
|
60 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
61 |
-
|
62 |
-
## How to Get Started with the Model
|
63 |
-
|
64 |
-
Use the code below to get started with the model.
|
65 |
-
|
66 |
-
[More Information Needed]
|
67 |
-
|
68 |
-
## Training Details
|
69 |
|
70 |
### Training Data
|
71 |
|
72 |
-
|
73 |
-
|
74 |
-
[More Information Needed]
|
75 |
|
76 |
### Training Procedure
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
110 |
-
|
111 |
-
[More Information Needed]
|
112 |
-
|
113 |
-
#### Metrics
|
114 |
-
|
115 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
116 |
-
|
117 |
-
[More Information Needed]
|
118 |
-
|
119 |
-
### Results
|
120 |
-
|
121 |
-
[More Information Needed]
|
122 |
-
|
123 |
-
#### Summary
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
## Model Examination [optional]
|
128 |
-
|
129 |
-
<!-- Relevant interpretability work for the model goes here -->
|
130 |
-
|
131 |
-
[More Information Needed]
|
132 |
-
|
133 |
-
## Environmental Impact
|
134 |
-
|
135 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
136 |
-
|
137 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
138 |
-
|
139 |
-
- **Hardware Type:** [More Information Needed]
|
140 |
-
- **Hours used:** [More Information Needed]
|
141 |
-
- **Cloud Provider:** [More Information Needed]
|
142 |
-
- **Compute Region:** [More Information Needed]
|
143 |
-
- **Carbon Emitted:** [More Information Needed]
|
144 |
-
|
145 |
-
## Technical Specifications [optional]
|
146 |
-
|
147 |
-
### Model Architecture and Objective
|
148 |
-
|
149 |
-
[More Information Needed]
|
150 |
-
|
151 |
-
### Compute Infrastructure
|
152 |
-
|
153 |
-
[More Information Needed]
|
154 |
-
|
155 |
-
#### Hardware
|
156 |
-
|
157 |
-
[More Information Needed]
|
158 |
-
|
159 |
-
#### Software
|
160 |
-
|
161 |
-
[More Information Needed]
|
162 |
-
|
163 |
-
## Citation [optional]
|
164 |
-
|
165 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
166 |
-
|
167 |
-
**BibTeX:**
|
168 |
-
|
169 |
-
[More Information Needed]
|
170 |
-
|
171 |
-
**APA:**
|
172 |
-
|
173 |
-
[More Information Needed]
|
174 |
-
|
175 |
-
## Glossary [optional]
|
176 |
-
|
177 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
178 |
-
|
179 |
-
[More Information Needed]
|
180 |
-
|
181 |
-
## More Information [optional]
|
182 |
-
|
183 |
-
[More Information Needed]
|
184 |
-
|
185 |
-
## Model Card Authors [optional]
|
186 |
-
|
187 |
-
[More Information Needed]
|
188 |
-
|
189 |
-
## Model Card Contact
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
### Framework versions
|
193 |
|
194 |
- PEFT 0.11.1
|
|
|
1 |
---
|
2 |
library_name: peft
|
3 |
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
4 |
+
license: apache-2.0
|
5 |
+
language:
|
6 |
+
- en
|
7 |
---
|
8 |
|
9 |
+
# Suri-I-ORPO
|
10 |
+
Suri-I-ORPO is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.2 using instructional odds ratio preference optimization (I-ORPO). Please check [our paper](TODO) for more details on the method.
|
11 |
|
12 |
+
## 📒 Model Details
|
13 |
|
14 |
### Model Description
|
15 |
|
16 |
+
- **Language(s) (NLP):** English
|
17 |
+
- **License:** Apache-2.0
|
18 |
+
- **Finetuned from model:** [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2)
|
|
|
|
|
|
|
|
|
19 |
|
20 |
+
### Model Sources
|
21 |
|
22 |
+
- **Repository:** [Github repository](https://github.com/chtmp223/suri) -- contains code to reconstruct books3 subset.
|
23 |
+
- **Paper:** TODO
|
24 |
+
- **Demo:** [Website](https://chtmp223.github.io/suri)
|
25 |
|
26 |
+
## ⚠️ Getting Started
|
|
|
|
|
27 |
|
28 |
+
Use the code in [this repository](https://github.com/chtmp223/suri) for training and inference.
|
29 |
|
|
|
30 |
|
31 |
+
## 💻 Training Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
### Training Data
|
34 |
|
35 |
+
[chtmp223/suri](https://huggingface.co/datasets/chtmp223/suri)
|
|
|
|
|
36 |
|
37 |
### Training Procedure
|
38 |
|
39 |
+
| **Configurations** | **Values** |
|
40 |
+
|----------------------------------|--------------|
|
41 |
+
| Hardware (Training and Inference)| 4xA100s |
|
42 |
+
| Tracking | wandb |
|
43 |
+
| lora_r | 16 |
|
44 |
+
| lora_alpha | 16 |
|
45 |
+
| lora_dropout | 0.05 |
|
46 |
+
| beta | 0.4 |
|
47 |
+
| gradient_accumulation_steps | 1 |
|
48 |
+
| gradient_checkpointing | True |
|
49 |
+
| learning_rate | 5.0e-5 |
|
50 |
+
| lr_scheduler_type | cosine |
|
51 |
+
| max_length | 15024 |
|
52 |
+
| max_completion_length | 15000 |
|
53 |
+
| max_prompt_length | 5000 |
|
54 |
+
| num_train_epochs | 2 |
|
55 |
+
| optim | adamw_torch |
|
56 |
+
| per_device_train_batch_size | 1 |
|
57 |
+
|
58 |
+
|
59 |
+
#### 🤗 Software
|
60 |
+
|
61 |
+
Training code is adapted from [Alignment Handbook](https://github.com/huggingface/alignment-handbook) and [Trl](https://github.com/huggingface/trl).
|
62 |
+
|
63 |
+
## 📜 Citation
|
64 |
+
|
65 |
+
```
|
66 |
+
TODO
|
67 |
+
```
|
68 |
+
|
69 |
+
### ⚙️ Framework versions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
- PEFT 0.11.1
|