therealcyberlord
commited on
Commit
•
e3476cf
1
Parent(s):
45f12f4
Update README.md
Browse files
README.md
CHANGED
@@ -2,104 +2,52 @@
|
|
2 |
library_name: peft
|
3 |
base_model: facebook/opt-125m
|
4 |
pipeline_tag: text-generation
|
|
|
|
|
5 |
---
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
14 |
|
15 |
### Model Description
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
- **Developed by:** [More Information Needed]
|
22 |
-
- **Funded by [optional]:** [More Information Needed]
|
23 |
-
- **Shared by [optional]:** [More Information Needed]
|
24 |
-
- **Model type:** [More Information Needed]
|
25 |
-
- **Language(s) (NLP):** [More Information Needed]
|
26 |
-
- **License:** [More Information Needed]
|
27 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
28 |
-
|
29 |
-
### Model Sources [optional]
|
30 |
-
|
31 |
-
<!-- Provide the basic links for the model. -->
|
32 |
-
|
33 |
-
- **Repository:** [More Information Needed]
|
34 |
-
- **Paper [optional]:** [More Information Needed]
|
35 |
-
- **Demo [optional]:** [More Information Needed]
|
36 |
|
37 |
## Uses
|
|
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
### Direct Use
|
42 |
-
|
43 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
44 |
-
|
45 |
-
[More Information Needed]
|
46 |
-
|
47 |
-
### Downstream Use [optional]
|
48 |
-
|
49 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
50 |
-
|
51 |
-
[More Information Needed]
|
52 |
-
|
53 |
-
### Out-of-Scope Use
|
54 |
|
55 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
## Bias, Risks, and Limitations
|
60 |
-
|
61 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
62 |
-
|
63 |
-
[More Information Needed]
|
64 |
-
|
65 |
-
### Recommendations
|
66 |
-
|
67 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
68 |
-
|
69 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
70 |
|
71 |
## How to Get Started with the Model
|
|
|
|
|
|
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
|
|
76 |
|
77 |
## Training Details
|
|
|
78 |
|
79 |
-
### Training Data
|
80 |
-
|
81 |
-
<!-- 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. -->
|
82 |
-
|
83 |
-
[More Information Needed]
|
84 |
|
85 |
-
###
|
86 |
-
|
87 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
88 |
-
|
89 |
-
#### Preprocessing [optional]
|
90 |
-
|
91 |
-
[More Information Needed]
|
92 |
-
|
93 |
-
|
94 |
-
#### Training Hyperparameters
|
95 |
-
|
96 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
97 |
-
|
98 |
-
#### Speeds, Sizes, Times [optional]
|
99 |
-
|
100 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
101 |
|
102 |
-
|
103 |
|
104 |
## Evaluation
|
105 |
|
|
|
2 |
library_name: peft
|
3 |
base_model: facebook/opt-125m
|
4 |
pipeline_tag: text-generation
|
5 |
+
datasets:
|
6 |
+
- rubend18/DALL-E-Prompts-OpenAI-ChatGPT
|
7 |
---
|
8 |
|
9 |
+
---
|
10 |
+
library_name: peft
|
11 |
+
base_model: EleutherAI/gpt-neo-1.3B
|
12 |
+
datasets:
|
13 |
+
- rubend18/DALL-E-Prompts-OpenAI-ChatGPT
|
14 |
+
pipeline_tag: text-generation
|
15 |
+
widget:
|
16 |
+
- text: chocolate milk
|
17 |
+
example_title: Prompt Completion
|
18 |
+
---
|
19 |
|
20 |
### Model Description
|
21 |
|
22 |
+
Magic wand 🪄 is a prompt completion model fine-tuned on GPT OPT 125M, used for text2img models such as Dalle, Midjourney, and Stable Diffusion. It is a smaller version of https://huggingface.co/therealcyberlord/magicwand-gptneo-1.3b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
## Uses
|
25 |
+
Type something that you want to generate and magic wand will complete it for you. Think about it as a friendly guide when you don't have any ideas about what to generate.
|
26 |
|
27 |
+
**Input:** Chocolate milk
|
28 |
+
**Completion:** Chocolate milk glowing and floating in a barber shop, realistic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
|
|
30 |
|
31 |
+
### Limitations
|
32 |
+
Currently the model produces repetitions with longer sequences
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
## How to Get Started with the Model
|
35 |
+
```
|
36 |
+
from peft import PeftModel, PeftConfig
|
37 |
+
from transformers import AutoModelForCausalLM
|
38 |
|
39 |
+
config = PeftConfig.from_pretrained("therealcyberlord/magicwand-opt-125m")
|
40 |
+
model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
|
41 |
+
model = PeftModel.from_pretrained(model, "therealcyberlord/magicwand-opt-125m")
|
42 |
+
```
|
43 |
|
44 |
## Training Details
|
45 |
+
Trained for 2000 steps on rubend18/DALL-E-Prompts-OpenAI-ChatGPT
|
46 |
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
### Framework versions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
+
- PEFT 0.7.2.dev0
|
51 |
|
52 |
## Evaluation
|
53 |
|