midah commited on
Commit
985c9da
·
verified ·
1 Parent(s): a51101c

Add tree for fofr/sdxl-emoji

Browse files
Files changed (1) hide show
  1. fofr_sdxl-emoji_tree.json +123 -0
fofr_sdxl-emoji_tree.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "fofr/sdxl-emoji",
3
+ "tree": [
4
+ {
5
+ "model_id": "fofr/sdxl-emoji",
6
+ "gated": "False",
7
+ "card": "---\nlicense: creativeml-openrail-m\ntags:\n - text-to-image\n - stable-diffusion\n - lora\n - diffusers\nbase_model: stabilityai/stable-diffusion-xl-base-1.0\npivotal_tuning: true\ntextual_embeddings: embeddings.pti\ninstance_prompt: an <s0><s1> emoji\ninference: false\n---\n# sdxl-emoji LoRA by [fofr](https://replicate.com/fofr)\n### An SDXL fine-tune based on Apple Emojis\n\n![lora_image](https://replicate.delivery/pbxt/a3z81v5vwlKfLq1H5uBqpVmkHalOVup0jSLma9E2UaF3tawIA/out-0.png)\n>\n\n## Inference with Replicate API\nGrab your replicate token [here](https://replicate.com/account)\n```bash\npip install replicate\nexport REPLICATE_API_TOKEN=r8_*************************************\n```\n\n```py\nimport replicate\n\noutput = replicate.run(\n \"sdxl-emoji@sha256:dee76b5afde21b0f01ed7925f0665b7e879c50ee718c5f78a9d38e04d523cc5e\",\n input={\"prompt\": \"A TOK emoji of a man\"}\n)\nprint(output)\n```\nYou may also do inference via the API with Node.js or curl, and locally with COG and Docker, [check out the Replicate API page for this model](https://replicate.com/fofr/sdxl-emoji/api)\n\n## Inference with \ud83e\udde8 diffusers\nReplicate SDXL LoRAs are trained with Pivotal Tuning, which combines training a concept via Dreambooth LoRA with training a new token with Textual Inversion.\nAs `diffusers` doesn't yet support textual inversion for SDXL, we will use cog-sdxl `TokenEmbeddingsHandler` class.\n\nThe trigger tokens for your prompt will be `<s0><s1>`\n\n```shell\npip install diffusers transformers accelerate safetensors huggingface_hub\ngit clone https://github.com/replicate/cog-sdxl cog_sdxl\n```\n\n```py\nimport torch\nfrom huggingface_hub import hf_hub_download\nfrom diffusers import DiffusionPipeline\nfrom cog_sdxl.dataset_and_utils import TokenEmbeddingsHandler\nfrom diffusers.models import AutoencoderKL\n\npipe = DiffusionPipeline.from_pretrained(\n \"stabilityai/stable-diffusion-xl-base-1.0\",\n torch_dtype=torch.float16,\n variant=\"fp16\",\n).to(\"cuda\")\n\npipe.load_lora_weights(\"fofr/sdxl-emoji\", weight_name=\"lora.safetensors\")\n\ntext_encoders = [pipe.text_encoder, pipe.text_encoder_2]\ntokenizers = [pipe.tokenizer, pipe.tokenizer_2]\n\nembedding_path = hf_hub_download(repo_id=\"fofr/sdxl-emoji\", filename=\"embeddings.pti\", repo_type=\"model\")\nembhandler = TokenEmbeddingsHandler(text_encoders, tokenizers)\nembhandler.load_embeddings(embedding_path)\nprompt=\"A <s0><s1> emoji of a man\"\nimages = pipe(\n prompt,\n cross_attention_kwargs={\"scale\": 0.8},\n).images\n#your output image\nimages[0]\n```\n",
8
+ "metadata": "\"N/A\"",
9
+ "depth": 0,
10
+ "children": [],
11
+ "children_count": 0,
12
+ "adapters": [
13
+ "personal1802/vauxzAnimeMerge_ponyVXayah",
14
+ "personal1802/anitoonPonyXL_v20",
15
+ "piiiiisan/jkllxkll",
16
+ "mlsnr/glxyfrst"
17
+ ],
18
+ "adapters_count": 4,
19
+ "quantized": [],
20
+ "quantized_count": 0,
21
+ "merges": [],
22
+ "merges_count": 0,
23
+ "total_derivatives": 4,
24
+ "spaces": [],
25
+ "spaces_count": 0,
26
+ "parents": [],
27
+ "base_model": "fofr/sdxl-emoji",
28
+ "base_model_relation": "base"
29
+ },
30
+ {
31
+ "model_id": "personal1802/vauxzAnimeMerge_ponyVXayah",
32
+ "gated": "False",
33
+ "card": "---\ntags:\n - text-to-image\n - lora\n - diffusers\n - template:diffusion-lora\nwidget:\n- text: '-'\n output:\n url: images/WHITE.png\nbase_model: fofr/sdxl-emoji\ninstance_prompt: null\n\n---\n# vauxzAnimeMerge_ponyVXayah\n\n<Gallery />\n\n\n\n## Download model\n\nWeights for this model are available in Safetensors format.\n\n[Download](/personal1802/vauxzAnimeMerge_ponyVXayah/tree/main) them in the Files & versions tab.\n",
34
+ "metadata": "\"N/A\"",
35
+ "depth": 1,
36
+ "children": [],
37
+ "children_count": 0,
38
+ "adapters": [],
39
+ "adapters_count": 0,
40
+ "quantized": [],
41
+ "quantized_count": 0,
42
+ "merges": [],
43
+ "merges_count": 0,
44
+ "total_derivatives": 0,
45
+ "spaces": [],
46
+ "spaces_count": 0,
47
+ "parents": [
48
+ "fofr/sdxl-emoji"
49
+ ],
50
+ "base_model": "personal1802/vauxzAnimeMerge_ponyVXayah",
51
+ "base_model_relation": "base"
52
+ },
53
+ {
54
+ "model_id": "personal1802/anitoonPonyXL_v20",
55
+ "gated": "False",
56
+ "card": "---\ntags:\n - text-to-image\n - lora\n - diffusers\n - template:diffusion-lora\nwidget:\n- text: '-'\n output:\n url: images/WHITE.png\nbase_model: fofr/sdxl-emoji\ninstance_prompt: null\n\n---\n# anitoonPonyXL_v20\n\n<Gallery />\n\n\n\n## Download model\n\nWeights for this model are available in Safetensors format.\n\n[Download](/personal1802/anitoonPonyXL_v20/tree/main) them in the Files & versions tab.\n",
57
+ "metadata": "\"N/A\"",
58
+ "depth": 1,
59
+ "children": [],
60
+ "children_count": 0,
61
+ "adapters": [],
62
+ "adapters_count": 0,
63
+ "quantized": [],
64
+ "quantized_count": 0,
65
+ "merges": [],
66
+ "merges_count": 0,
67
+ "total_derivatives": 0,
68
+ "spaces": [],
69
+ "spaces_count": 0,
70
+ "parents": [
71
+ "fofr/sdxl-emoji"
72
+ ],
73
+ "base_model": "personal1802/anitoonPonyXL_v20",
74
+ "base_model_relation": "base"
75
+ },
76
+ {
77
+ "model_id": "piiiiisan/jkllxkll",
78
+ "gated": "False",
79
+ "card": "---\ntags:\n- text-to-image\n- lora\n- diffusers\n- template:diffusion-lora\nwidget:\n- text: >-\n 1girl, solo,(best quality),(masterpiece:1.1), dynamic angle, upper body,\n looking_at_viewer, small breast, cute, clear facial skin,\n parameters:\n negative_prompt: >-\n EasyNegative, paintings, sketches, (worst quality:2), (low quality:2),\n (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)),\n skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer\n fingers,, paintings, sketches, (worst quality:2), (low quality:2), (normal\n quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin\n spots, acnes, skin blemishes, age spot, glans, (only body)\n output:\n url: images/00038-150706439.jpeg.png\nbase_model: fofr/sdxl-emoji\ninstance_prompt: seeds\nlicense: apache-2.0\n---\n# sodsxxxx\n\n<Gallery />\n\n## Model description \n\nsdsdsd\n\n## Trigger words\n\nYou should use `seeds` to trigger the image generation.\n\n\n## Download model\n\nWeights for this model are available in Safetensors format.\n\n[Download](/piiiiisan/jkllxkll/tree/main) them in the Files & versions tab.\n",
80
+ "metadata": "\"N/A\"",
81
+ "depth": 1,
82
+ "children": [],
83
+ "children_count": 0,
84
+ "adapters": [],
85
+ "adapters_count": 0,
86
+ "quantized": [],
87
+ "quantized_count": 0,
88
+ "merges": [],
89
+ "merges_count": 0,
90
+ "total_derivatives": 0,
91
+ "spaces": [],
92
+ "spaces_count": 0,
93
+ "parents": [
94
+ "fofr/sdxl-emoji"
95
+ ],
96
+ "base_model": "piiiiisan/jkllxkll",
97
+ "base_model_relation": "base"
98
+ },
99
+ {
100
+ "model_id": "mlsnr/glxyfrst",
101
+ "gated": "unknown",
102
+ "card": "---\ntags:\n- text-to-image\n- lora\n- diffusers\n- template:diffusion-lora\nwidget:\n- text: '-'\n output:\n url: images/2024-03-23_11-29-38_5464.jpeg\nbase_model: fofr/sdxl-emoji\ninstance_prompt: glxyfrst\nlicense: unknown\n---\n# glxyfrst\n\n<Gallery />\n\n\n## Trigger words\n\nYou should use `glxyfrst` to trigger the image generation.\n\n\n## Download model\n\nWeights for this model are available in Safetensors format.\n\n[Download](/mlsnr/glxyfrst/tree/main) them in the Files & versions tab.\n",
103
+ "metadata": "\"N/A\"",
104
+ "depth": 1,
105
+ "children": [],
106
+ "children_count": 0,
107
+ "adapters": [],
108
+ "adapters_count": 0,
109
+ "quantized": [],
110
+ "quantized_count": 0,
111
+ "merges": [],
112
+ "merges_count": 0,
113
+ "total_derivatives": 0,
114
+ "spaces": [],
115
+ "spaces_count": 0,
116
+ "parents": [
117
+ "fofr/sdxl-emoji"
118
+ ],
119
+ "base_model": null,
120
+ "base_model_relation": null
121
+ }
122
+ ]
123
+ }