Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ Based on the wonderful model named Pixtral-12B from mistral-community. Pixtral i
|
|
| 18 |
|
| 19 |
This subreddit is about memes, obviously. There are strict rules for content posted in there, basically each posts consist of a title which is a short text and an image which is supposed to be an original meme. These images often contain imprinted text on them, so it's pretty interesting to see how well multimodal LLMs are able to process text found in images.
|
| 20 |
|
| 21 |
-
Be advised: the model is likely to generate text that is aimed to maximize comment "Likes", so it might come up with inappropriate stuff like fake personal stories that are relatable or pure engagement baiting.
|
| 22 |
|
| 23 |
Example:
|
| 24 |
```
|
|
@@ -28,6 +28,14 @@ Come up with a comment that will get upvoted by the community for a reddit post
|
|
| 28 |
|
| 29 |
Note: For the model use the image only, I added the username to credit the person posting this and the title to clarify how a meme is structured in this forum
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
### Model Description
|
| 32 |
I fine tuned the model using a sample of popular comments from posts that I extracted using Reddit's python API.
|
| 33 |
I started with comments with > 10 upvotes and did some basic filtering, removing long and low quality comments based on my personal standards. About 3% of the model's parameters were trainable. I used 1.5k posts and 12k total comments as training data.
|
|
@@ -38,13 +46,8 @@ This decision was made after the previous versions ended up producing text that
|
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
-
- **Developed by:**
|
| 42 |
-
- **Funded by [optional]:**
|
| 43 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 44 |
-
- **Model type:** [More Information Needed]
|
| 45 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 46 |
-
- **License:** [More Information Needed]
|
| 47 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 48 |
|
| 49 |
### Model Sources [optional]
|
| 50 |
|
|
@@ -56,168 +59,11 @@ This decision was made after the previous versions ended up producing text that
|
|
| 56 |
|
| 57 |
## Uses
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
### Direct Use
|
| 62 |
-
|
| 63 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 64 |
-
|
| 65 |
-
[More Information Needed]
|
| 66 |
-
|
| 67 |
-
### Downstream Use [optional]
|
| 68 |
-
|
| 69 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 70 |
-
|
| 71 |
-
[More Information Needed]
|
| 72 |
-
|
| 73 |
-
### Out-of-Scope Use
|
| 74 |
-
|
| 75 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 76 |
-
|
| 77 |
-
[More Information Needed]
|
| 78 |
-
|
| 79 |
-
## Bias, Risks, and Limitations
|
| 80 |
-
|
| 81 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 82 |
-
|
| 83 |
-
[More Information Needed]
|
| 84 |
-
|
| 85 |
-
### Recommendations
|
| 86 |
-
|
| 87 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 88 |
-
|
| 89 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 90 |
|
| 91 |
## How to Get Started with the Model
|
| 92 |
|
| 93 |
-
Use the code below to get started with the model
|
| 94 |
-
|
| 95 |
-
[More Information Needed]
|
| 96 |
-
|
| 97 |
-
## Training Details
|
| 98 |
-
|
| 99 |
-
### Training Data
|
| 100 |
-
|
| 101 |
-
<!-- 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. -->
|
| 102 |
-
|
| 103 |
-
[More Information Needed]
|
| 104 |
-
|
| 105 |
-
### Training Procedure
|
| 106 |
-
|
| 107 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 108 |
-
|
| 109 |
-
#### Preprocessing [optional]
|
| 110 |
-
|
| 111 |
-
[More Information Needed]
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
#### Training Hyperparameters
|
| 115 |
-
|
| 116 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 117 |
-
|
| 118 |
-
#### Speeds, Sizes, Times [optional]
|
| 119 |
-
|
| 120 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 121 |
-
|
| 122 |
-
[More Information Needed]
|
| 123 |
-
|
| 124 |
-
## Evaluation
|
| 125 |
-
|
| 126 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 127 |
-
|
| 128 |
-
### Testing Data, Factors & Metrics
|
| 129 |
-
|
| 130 |
-
#### Testing Data
|
| 131 |
-
|
| 132 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 133 |
-
|
| 134 |
-
[More Information Needed]
|
| 135 |
-
|
| 136 |
-
#### Factors
|
| 137 |
-
|
| 138 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 139 |
-
|
| 140 |
-
[More Information Needed]
|
| 141 |
-
|
| 142 |
-
#### Metrics
|
| 143 |
-
|
| 144 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 145 |
-
|
| 146 |
-
[More Information Needed]
|
| 147 |
-
|
| 148 |
-
### Results
|
| 149 |
-
|
| 150 |
-
[More Information Needed]
|
| 151 |
-
|
| 152 |
-
#### Summary
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
## Model Examination [optional]
|
| 157 |
-
|
| 158 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 159 |
-
|
| 160 |
-
[More Information Needed]
|
| 161 |
-
|
| 162 |
-
## Environmental Impact
|
| 163 |
-
|
| 164 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 165 |
-
|
| 166 |
-
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).
|
| 167 |
-
|
| 168 |
-
- **Hardware Type:** [More Information Needed]
|
| 169 |
-
- **Hours used:** [More Information Needed]
|
| 170 |
-
- **Cloud Provider:** [More Information Needed]
|
| 171 |
-
- **Compute Region:** [More Information Needed]
|
| 172 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 173 |
-
|
| 174 |
-
## Technical Specifications [optional]
|
| 175 |
-
|
| 176 |
-
### Model Architecture and Objective
|
| 177 |
-
|
| 178 |
-
[More Information Needed]
|
| 179 |
-
|
| 180 |
-
### Compute Infrastructure
|
| 181 |
-
|
| 182 |
-
[More Information Needed]
|
| 183 |
-
|
| 184 |
-
#### Hardware
|
| 185 |
-
|
| 186 |
-
[More Information Needed]
|
| 187 |
-
|
| 188 |
-
#### Software
|
| 189 |
-
|
| 190 |
-
[More Information Needed]
|
| 191 |
-
|
| 192 |
-
## Citation [optional]
|
| 193 |
-
|
| 194 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 195 |
-
|
| 196 |
-
**BibTeX:**
|
| 197 |
-
|
| 198 |
-
[More Information Needed]
|
| 199 |
-
|
| 200 |
-
**APA:**
|
| 201 |
-
|
| 202 |
-
[More Information Needed]
|
| 203 |
-
|
| 204 |
-
## Glossary [optional]
|
| 205 |
-
|
| 206 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 207 |
-
|
| 208 |
-
[More Information Needed]
|
| 209 |
-
|
| 210 |
-
## More Information [optional]
|
| 211 |
-
|
| 212 |
-
[More Information Needed]
|
| 213 |
-
|
| 214 |
-
## Model Card Authors [optional]
|
| 215 |
-
|
| 216 |
-
[More Information Needed]
|
| 217 |
-
|
| 218 |
-
## Model Card Contact
|
| 219 |
-
|
| 220 |
-
[More Information Needed]
|
| 221 |
-
### Framework versions
|
| 222 |
|
| 223 |
- PEFT 0.14.0
|
|
|
|
| 18 |
|
| 19 |
This subreddit is about memes, obviously. There are strict rules for content posted in there, basically each posts consist of a title which is a short text and an image which is supposed to be an original meme. These images often contain imprinted text on them, so it's pretty interesting to see how well multimodal LLMs are able to process text found in images.
|
| 20 |
|
| 21 |
+
Be advised: the model is likely to generate text that is aimed to maximize comment "Likes", so it might come up with inappropriate stuff like fake personal stories that are relatable or pure engagement baiting. If you find that hard to believe, remember, it was fine tuned on reddit comments.
|
| 22 |
|
| 23 |
Example:
|
| 24 |
```
|
|
|
|
| 28 |
|
| 29 |
Note: For the model use the image only, I added the username to credit the person posting this and the title to clarify how a meme is structured in this forum
|
| 30 |
|
| 31 |
+
For the post above, current model provided the output:
|
| 32 |
+
|
| 33 |
+

|
| 34 |
+
|
| 35 |
+
which was the most upvoted comment. If you ask me, I did not expect it to be that way, but predicting these things is not easy.
|
| 36 |
+
|
| 37 |
+
There are more examples I tried that were "approved" by the community, however it's not always the case and it depends on a lot more things that are out of the commenter's control, such as the popularity of the post and timing. In general, for most posts I've tried the comments generated were reasonable for my expectations.
|
| 38 |
+
|
| 39 |
### Model Description
|
| 40 |
I fine tuned the model using a sample of popular comments from posts that I extracted using Reddit's python API.
|
| 41 |
I started with comments with > 10 upvotes and did some basic filtering, removing long and low quality comments based on my personal standards. About 3% of the model's parameters were trainable. I used 1.5k posts and 12k total comments as training data.
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
+
- **Developed by:** me
|
| 50 |
+
- **Funded by [optional]:** me :(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
### Model Sources [optional]
|
| 53 |
|
|
|
|
| 59 |
|
| 60 |
## Uses
|
| 61 |
|
| 62 |
+
For fun and for limit testing text imprinted on images, commonly found in memes :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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