crumb / bloom-560m-RLHF-SD2-prompter

huggingface.co
Total runs: 108
24-hour runs: 9
7-day runs: 66
30-day runs: 68
Model's Last Updated: March 17 2023
text-generation

Introduction of bloom-560m-RLHF-SD2-prompter

Model Details of bloom-560m-RLHF-SD2-prompter

BLOOM-560m RLHF SD2 Prompter

COLAB DEMO INCLUDING STABLE DIFFUSION: https://colab.research.google.com/github/aicrumb/doohickey/blob/main/rlhf_prompt_tuner.ipynb

Using RLHF (Reinforcement Learning from Human Feedback) to finetune mrm8488/bloom-560m-finetuned-sd-prompts further for SD2.0

batch_size = 16
learning_rate = 0.001 # this is why I didn't have to spend _forever_ on it

Generate extension with "<s>Prompt: " and whatever your normal prompt is.

I did this myself. I sat down and just ranked images for so long. It's gone through a couple iterations. Only the biases and layernorm weights were trained. The commit messages are a MESS. First iteration of this project

donate so i can do this on real hardware : https://github.com/aicrumb/aicrumb/blob/main/README.md

Example usage
# Install libraries needed to run the models
!pip install transformers diffusers accelerate -qq

# Import the libraries
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
from transformers import pipeline
import torch

# This is the model that the transformer was finetuned to generate prompts for
model_id = "stabilityai/stable-diffusion-2-base"

# Use the Euler scheduler here
scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, revision="fp16", torch_dtype=torch.float16)
pipe = pipe.to("cuda")

# Load the transformer model
prompt_pipe = pipeline("text-generation", model="crumb/bloom-560m-RLHF-SD2-prompter")
prompt = "cool landscape"

# Auto-complete prompt
prompt = "<s>Prompt: " + prompt + ","
extended_prompt = prompt_pipe(prompt, do_sample=True, max_length=42)[0]['generated_text']
extended_prompt = extended_prompt[10:]
print("Prompt is now: ", extended_prompt)

# Generate image
image = pipe(extended_prompt).images[0]  

image.save("output.png")
image

Prompt is now: cool landscape, concept art

Prompt is now: cool landscape, concept art, sharp focus, digital painting

short additions, they work though I guess (results vary)

It's also very good at generating prompts by itself, with just the "Prompt:" prompt.

<s>Prompt: 1 0 th century, highly detailed, concept art, cinematic lighting, unreal engine, trending on artstation, artstation hd, artstation hq, very very detailed

Further testing to be done in this area (automated training with aesthetic predicting models, larger data collection about prompt scores, better training in general)

Also, enjoy this graphic I had to make myself because I kept being indecisive of the reward methodology

Runs of crumb bloom-560m-RLHF-SD2-prompter on huggingface.co

108
Total runs
9
24-hour runs
18
3-day runs
66
7-day runs
68
30-day runs

More Information About bloom-560m-RLHF-SD2-prompter huggingface.co Model

More bloom-560m-RLHF-SD2-prompter license Visit here:

https://choosealicense.com/licenses/bigscience-bloom-rail-1.0

bloom-560m-RLHF-SD2-prompter huggingface.co

bloom-560m-RLHF-SD2-prompter huggingface.co is an AI model on huggingface.co that provides bloom-560m-RLHF-SD2-prompter's model effect (), which can be used instantly with this crumb bloom-560m-RLHF-SD2-prompter model. huggingface.co supports a free trial of the bloom-560m-RLHF-SD2-prompter model, and also provides paid use of the bloom-560m-RLHF-SD2-prompter. Support call bloom-560m-RLHF-SD2-prompter model through api, including Node.js, Python, http.

bloom-560m-RLHF-SD2-prompter huggingface.co Url

https://huggingface.co/crumb/bloom-560m-RLHF-SD2-prompter

crumb bloom-560m-RLHF-SD2-prompter online free

bloom-560m-RLHF-SD2-prompter huggingface.co is an online trial and call api platform, which integrates bloom-560m-RLHF-SD2-prompter's modeling effects, including api services, and provides a free online trial of bloom-560m-RLHF-SD2-prompter, you can try bloom-560m-RLHF-SD2-prompter online for free by clicking the link below.

crumb bloom-560m-RLHF-SD2-prompter online free url in huggingface.co:

https://huggingface.co/crumb/bloom-560m-RLHF-SD2-prompter

bloom-560m-RLHF-SD2-prompter install

bloom-560m-RLHF-SD2-prompter is an open source model from GitHub that offers a free installation service, and any user can find bloom-560m-RLHF-SD2-prompter on GitHub to install. At the same time, huggingface.co provides the effect of bloom-560m-RLHF-SD2-prompter install, users can directly use bloom-560m-RLHF-SD2-prompter installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bloom-560m-RLHF-SD2-prompter install url in huggingface.co:

https://huggingface.co/crumb/bloom-560m-RLHF-SD2-prompter

Url of bloom-560m-RLHF-SD2-prompter

bloom-560m-RLHF-SD2-prompter huggingface.co Url

Provider of bloom-560m-RLHF-SD2-prompter huggingface.co

crumb
ORGANIZATIONS

Other API from crumb

huggingface.co

Total runs: 3.0K
Run Growth: 1.1K
Growth Rate: 38.02%
Updated:March 10 2024
huggingface.co

Total runs: 211
Run Growth: 45
Growth Rate: 39.47%
Updated:March 18 2024
huggingface.co

Total runs: 158
Run Growth: 21
Growth Rate: 13.64%
Updated:January 05 2024
huggingface.co

Total runs: 73
Run Growth: 0
Growth Rate: 0.00%
Updated:August 15 2024
huggingface.co

Total runs: 51
Run Growth: 15
Growth Rate: 32.61%
Updated:July 21 2023
huggingface.co

Total runs: 32
Run Growth: 26
Growth Rate: 81.25%
Updated:November 25 2023
huggingface.co

Total runs: 27
Run Growth: 11
Growth Rate: 44.00%
Updated:May 06 2023
huggingface.co

Total runs: 26
Run Growth: 11
Growth Rate: 42.31%
Updated:February 13 2024
huggingface.co

Total runs: 24
Run Growth: 19
Growth Rate: 79.17%
Updated:March 02 2024
huggingface.co

Total runs: 23
Run Growth: 15
Growth Rate: 65.22%
Updated:August 27 2024
huggingface.co

Total runs: 18
Run Growth: 10
Growth Rate: 55.56%
Updated:January 07 2024
huggingface.co

Total runs: 16
Run Growth: 8
Growth Rate: 53.33%
Updated:January 04 2024
huggingface.co

Total runs: 14
Run Growth: 8
Growth Rate: 57.14%
Updated:November 25 2023
huggingface.co

Total runs: 13
Run Growth: 5
Growth Rate: 38.46%
Updated:November 25 2023
huggingface.co

Total runs: 13
Run Growth: 6
Growth Rate: 46.15%
Updated:November 30 2023
huggingface.co

Total runs: 12
Run Growth: 5
Growth Rate: 41.67%
Updated:October 19 2023
huggingface.co

Total runs: 12
Run Growth: 5
Growth Rate: 41.67%
Updated:September 27 2023
huggingface.co

Total runs: 12
Run Growth: 4
Growth Rate: 33.33%
Updated:November 30 2023
huggingface.co

Total runs: 11
Run Growth: 3
Growth Rate: 27.27%
Updated:October 12 2023
huggingface.co

Total runs: 11
Run Growth: 2
Growth Rate: 18.18%
Updated:October 11 2023
huggingface.co

Total runs: 10
Run Growth: 7
Growth Rate: 70.00%
Updated:November 25 2023
huggingface.co

Total runs: 10
Run Growth: -6
Growth Rate: -60.00%
Updated:November 07 2023
huggingface.co

Total runs: 9
Run Growth: -3
Growth Rate: -33.33%
Updated:October 17 2023
huggingface.co

Total runs: 9
Run Growth: -2
Growth Rate: -22.22%
Updated:October 16 2023
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:October 15 2023