cz9dev commited on
Commit
6e4e124
1 Parent(s): 7279fa1

Subiendo archivos al repositorio

Browse files
.gitignore ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hugging Face specific
2
+ *.log
3
+ runs/
4
+ *.pt
5
+ *.bin
6
+ model/
7
+ training_args.bin
8
+
9
+ # Python
10
+ *.pyc
11
+ __pycache__/
12
+ .pytest_cache/
13
+ .ipynb_checkpoints/
14
+
15
+ # Jupyter Notebook
16
+ *.ipynb
17
+
18
+ # Dataset caches
19
+ cache/
20
+ data/
21
+
22
+ # Checkpoints (potentially large)
23
+ checkpoints/
24
+
25
+ # Temporary files
26
+ tmp/
27
+ *.tmp
28
+
29
+ # Other artifacts
30
+ *.json
31
+ *.yaml
32
+ *.yml
33
+
34
+ # Algo mas
35
+ .venv/
36
+ prueba/
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) [2025] [cz9dev]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Herminia, modelo de generaci贸n de im谩genes
2
+
3
+ Modelo herminia creado a partir de Stable Diffusion para generar im谩genes a partir de texto.
4
+
5
+ ## Uso con GPU
6
+
7
+ ```python
8
+ from diffusers import StableDiffusionPipeline
9
+
10
+ pipe = StableDiffusionPipeline.from_pretrained("cz9dev/herminia", torch_dtype=torch.float16)
11
+ pipe.to("cuda")
12
+
13
+ image = pipe("Un astronauta montando un unicornio").images[0]
14
+ image.save("astronauta.png")
15
+ ```
16
+
17
+ ## Uso con CPU
18
+
19
+ ```python
20
+ from diffusers import StableDiffusionPipeline
21
+
22
+ pipe = StableDiffusionPipeline.from_pretrained("cz9dev/herminia", torch_dtype=torch.float32)
23
+ pipe.to("cpu")
24
+
25
+ image = pipe("Arte fant谩stico con criaturas mitol贸gicas").images[0]
26
+ image.save("astronauta.png")
27
+ ```
28
+
29
+ ## Ejemplos de im谩genes generadas
30
+
31
+ !["Paisaje futurista de la tierra"](img/paisaje_futurista.png) "Paisaje futurista de la tierra"
32
+
33
+ !["Un dibujo abstracto de la bandera cubana"](img/bandera_abstracta.png) "Un dibujo abstracto de la bandera cubana"
img/bandera_abstracta.png ADDED

Git LFS Details

  • SHA256: 1e101660c347e188e245bd251353c67b0910b3d599c0ee23867a9eae74a965c8
  • Pointer size: 131 Bytes
  • Size of remote file: 496 kB
img/paisaje_futurista.png ADDED

Git LFS Details

  • SHA256: b3e225f4e7ba6cee496b4d334f2a750ace266cf5d5e22ae51cbf7d433b590ba2
  • Pointer size: 131 Bytes
  • Size of remote file: 514 kB
safety_checker/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
3
+ size 1215979664
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:778d02eb9e707c3fbaae0b67b79ea0d1399b52e624fb634f2f19375ae7c047c3
3
+ size 492265168
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d27cd69d4a0aa32105087a619f32a51bc087e133be93fe23da92f3c0bcc07d79
3
+ size 3438167536
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4d2b5932bb4151e54e694fd31ccf51fca908223c9485bd56cd0e1d83ad94c49
3
+ size 334643268