ppbrown commited on
Commit
882ceaf
1 Parent(s): 309d061

Update README.sd-embeddings.md

Browse files
Files changed (1) hide show
  1. README.sd-embeddings.md +4 -2
README.sd-embeddings.md CHANGED
@@ -12,9 +12,10 @@ Note that SD 1.5 has a different format for embeddings than SDXL. And within SD
12
  ### SD 1.5 pickletensor embed format
13
 
14
  I have observed that .pt embeddings have a dict-of-dicts type format. It looks something like this:
 
15
  [
16
  "string_to_token": {'doesntmatter': 265}, # I dont know why 265, but it usually is
17
- "string_to_param": {'doesntmatter': tensor([[][768])},
18
  "name": *string*,
19
  "step": *string*,
20
  "sd_checkpoint": *string*,
@@ -34,9 +35,10 @@ The ones I have seen, have a much simpler format. It is a trivial format compare
34
 
35
  This has an actual spec at:
36
  https://huggingface.co/docs/diffusers/using-diffusers/textual_inversion_inference
37
- But it's pretty simple:
38
 
39
  summary:
 
40
  {
41
  "clip_l": Tensor([][768]),
42
  "clip_g": Tensor([][1280])
 
12
  ### SD 1.5 pickletensor embed format
13
 
14
  I have observed that .pt embeddings have a dict-of-dicts type format. It looks something like this:
15
+
16
  [
17
  "string_to_token": {'doesntmatter': 265}, # I dont know why 265, but it usually is
18
+ "string_to_param": {'doesntmatter': tensor([][768])},
19
  "name": *string*,
20
  "step": *string*,
21
  "sd_checkpoint": *string*,
 
35
 
36
  This has an actual spec at:
37
  https://huggingface.co/docs/diffusers/using-diffusers/textual_inversion_inference
38
+ But it's pretty simple.
39
 
40
  summary:
41
+
42
  {
43
  "clip_l": Tensor([][768]),
44
  "clip_g": Tensor([][1280])