mrm8488 / bloom-560m-finetuned-sd-prompts

huggingface.co
Total runs: 121
24-hour runs: 2
7-day runs: 12
30-day runs: 68
Model's Last Updated: March 17 2023
text-generation

Introduction of bloom-560m-finetuned-sd-prompts

Model Details of bloom-560m-finetuned-sd-prompts

bloom-560m-finetuned-sd-prompts

This model is a fine-tuned version of bigscience/bloom-560m on the Gustavosta/Stable-Diffusion-Prompts dataset. It achieves the following results on the evaluation set:

  • Loss: 0.8742
Example of usage
import torch
from transformers import BloomTokenizerFast, BloomForCausalLM

device = 'cuda' if torch.cuda.is_available() else 'cpu'
ckpt = 'mrm8488/bloom-560m-finetuned-sd-prompts' 

tokenizer = BloomTokenizerFast.from_pretrained(ckpt)
model = BloomForCausalLM.from_pretrained(ckpt).to(device)

def generate_prompt(text):
    inputs = tokenizer(text, return_tensors='pt')
    input_ids = inputs.input_ids.to(device)
    attention_mask = inputs.attention_mask.to(device)
    output = model.generate(input_ids, attention_mask=attention_mask, repetition_penalty=1.05, max_length=2048, eos_token_id=tokenizer.eos_token_id)

    return tokenizer.decode(output[0], skip_special_tokens=False)
    
text = "<s>Prompt: pikachu dinning in the eiffel tower"

generate_prompt(text)

# Output: <s>Prompt: pikachu dinning in the eiffel tower, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha</s>
Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 1
  • eval_batch_size: 1
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 4
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 2
  • mixed_precision_training: Native AMP
Training results
Training Loss Epoch Step Validation Loss
2.6743 0.17 100 2.0891
1.8919 0.33 200 1.7191
1.5907 0.5 300 1.4454
1.3865 0.67 400 1.3247
1.2487 0.83 500 1.2150
1.1565 1.0 600 1.1031
0.896 1.17 700 1.0612
0.8389 1.33 800 0.9994
0.8071 1.5 900 0.9530
0.7628 1.67 1000 0.9206
0.7423 1.83 1100 0.8883
0.7155 2.0 1200 0.8742
Framework versions
  • Transformers 4.22.1
  • Pytorch 1.12.1+cu113
  • Datasets 2.5.1
  • Tokenizers 0.12.1

Runs of mrm8488 bloom-560m-finetuned-sd-prompts on huggingface.co

121
Total runs
2
24-hour runs
13
3-day runs
12
7-day runs
68
30-day runs

More Information About bloom-560m-finetuned-sd-prompts huggingface.co Model

More bloom-560m-finetuned-sd-prompts license Visit here:

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

bloom-560m-finetuned-sd-prompts huggingface.co

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

bloom-560m-finetuned-sd-prompts huggingface.co Url

https://huggingface.co/mrm8488/bloom-560m-finetuned-sd-prompts

mrm8488 bloom-560m-finetuned-sd-prompts online free

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

mrm8488 bloom-560m-finetuned-sd-prompts online free url in huggingface.co:

https://huggingface.co/mrm8488/bloom-560m-finetuned-sd-prompts

bloom-560m-finetuned-sd-prompts install

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

bloom-560m-finetuned-sd-prompts install url in huggingface.co:

https://huggingface.co/mrm8488/bloom-560m-finetuned-sd-prompts

Url of bloom-560m-finetuned-sd-prompts

bloom-560m-finetuned-sd-prompts huggingface.co Url

Provider of bloom-560m-finetuned-sd-prompts huggingface.co

mrm8488
ORGANIZATIONS

Other API from mrm8488

huggingface.co

Total runs: 855
Run Growth: 264
Growth Rate: 30.88%
Updated:February 23 2024
huggingface.co

Total runs: 752
Run Growth: 590
Growth Rate: 82.52%
Updated:March 19 2023
huggingface.co

Total runs: 100
Run Growth: 62
Growth Rate: 66.67%
Updated:June 20 2023
huggingface.co

Total runs: 72
Run Growth: 32
Growth Rate: 44.44%
Updated:January 24 2024