Kabatubare/midjurney
Viewer โข Updated โข 718 โข 73
How to use Kabatubare/midjourney_sdxl_llama2_7b with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Kabatubare/midjourney_sdxl_llama2_7b")
model = AutoModelForCausalLM.from_pretrained("Kabatubare/midjourney_sdxl_llama2_7b", device_map="auto")The base model used for midjourney-sdxl-llama2-7b is guardrail/llama-2-7b-guanaco-instruct-sharded
The model was trained on a dataset that combines 718 rows from the Kabatubare/midjurney dataset with a curated set of samples from the Stable-Diffusion-Prompts dataset, which originally contained 73,000 rows.
The model benefits from a dataset that was enriched with curated samples from the Stable Diffusion prompts. These curated samples were added to the existing Midjourney dataset, offering a more diverse range of creative text-to-image prompts.