Run this model with HF Jobs
Run Danrisi/canon_moss on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Danrisi/canon_moss. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Danrisi/canon_moss on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Danrisi/canon_moss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Danrisi/canon_moss with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Danrisi/canon_moss") prompt = "c2n0n, dslr photo, amateur photo, candid photo, underexposed, high resolution.\n20 years old russian girl, striking green eyes, dark smokey eye makeup, She has a slightly upturned yet prominent nose, narrow small lips, subtly slanted eyes, black tears painted down from lower eyelids, small freckles across nose and cheeks, intricate face paint resembling stylized skeletal teeth in vibrant red, orange, and black hues covering her lips and extending across her cheeks, a vertical red and black painted stripe running down from the center of her lower lip, Her hair is tied in a ponytail, with loose face-framing fringe strands around her cheeks and forehead, wearing a black hooded sweatshirt, neutral expression with a direct gaze at the camera, \n\nquiet woodland, several narrow tree trunks rising vertically along the right side of the frame, intimate secluded forest atmosphere, strong directional sunlight breaking through the trees and striking her face, deep cool shadows behind her, patchy dappled sunlight, shallow depth of field, heavily blurred green woodland background, the subject remaining sharp in the center while the background appears to rotate around her, dreamy creamy bokeh, slightly desaturated greens," image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee