GGUF
How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="QuantFactory/MagicPrompt-Stable-Diffusion-GGUF",
	filename="",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

QuantFactory Banner

QuantFactory/MagicPrompt-Stable-Diffusion-GGUF

This is quantized version of Gustavosta/MagicPrompt-Stable-Diffusion created using llama.cpp

Original Model Card

MagicPrompt - Stable Diffusion

This is a model from the MagicPrompt series of models, which are GPT-2 models intended to generate prompt texts for imaging AIs, in this case: Stable Diffusion.

๐Ÿ–ผ๏ธ Here's an example:

This model was trained with 150,000 steps and a set of about 80,000 data filtered and extracted from the image finder for Stable Diffusion: "Lexica.art". It was a little difficult to extract the data, since the search engine still doesn't have a public API without being protected by cloudflare, but if you want to take a look at the original dataset, you can have a look here: datasets/Gustavosta/Stable-Diffusion-Prompts.

If you want to test the model with a demo, you can go to: "spaces/Gustavosta/MagicPrompt-Stable-Diffusion".

๐Ÿ’ป You can see other MagicPrompt models:

โš–๏ธ Licence:

MIT

When using this model, please credit: Gustavosta

Thanks for reading this far! :)

Downloads last month
167
GGUF
Model size
0.2B params
Architecture
gpt2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support