Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
Details on the code used to produce and use this model are available at:
|
| 6 |
+
|
| 7 |
+
https://github.com/schrum2/MarioDiffusion
|
| 8 |
+
|
| 9 |
+
That repo has instructions to check out this model and apply it to the generation of Super Mario Bros. level scenes.
|
| 10 |
+
There is also an interactive GUI for constructing complete levels out of model-generated scenes.
|
| 11 |
+
|
| 12 |
+
This model makes use of https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1
|
| 13 |
+
as a text embedding model for use with diffusion to generate Mario levels.
|
| 14 |
+
Mario scene captions contain multiple period-separated phrases, and this model
|
| 15 |
+
embeds each phrase with its own sentence embedding vector for the diffusion
|
| 16 |
+
model to use as text conditioning. It also makes use of negative guidance during
|
| 17 |
+
diffusion training. Unfortunately, its performance is not great, and it is made
|
| 18 |
+
available mainly for full transparency.
|
| 19 |
+
|
| 20 |
+
A model with better performance that uses sentence-transformers/multi-qa-MiniLM-L6-cos-v1
|
| 21 |
+
with regular captions and multiple sentence embeddings is https://huggingface.co/schrum2/MarioDiffusion-MiniLM-multiple-regular0.
|
| 22 |
+
For a model that uses the same text embedding model,
|
| 23 |
+
but embeds the entire caption as a single vector and also uses negative guidance,
|
| 24 |
+
see https://huggingface.co/schrum2/MarioDiffusion-MiniLM-single-negative0.
|
| 25 |
+
To see a model that uses a simple token-based transformer model for text
|
| 26 |
+
embedding with negative guidance, see https://huggingface.co/schrum2/MarioDiffusion-MLM-negative0.
|