Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -7,99 +7,95 @@ sdk: static
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
<div class="lg:
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
</
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
from_pretrained_keras("your-username/your-awesome-model)
|
102 |
-
</pre>
|
103 |
-
</div>
|
104 |
-
|
105 |
</div>
|
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
+
<div class="grid lg:grid-cols-3 gap-x-4 gap-y-7">
|
11 |
+
<div class="lg:col-span-3">
|
12 |
+
<p class="mb-4">
|
13 |
+
Welcome to the Keras Working Group 🤗❤️ Please join us on keras-working-group channel on <a
|
14 |
+
href="https://hf.co/join/discord" style="text-decoration: underline;">Discord</a
|
15 |
+
> 👾! <br />
|
16 |
+
Feel free to pick up one of the Keras examples to build a Space or host the model in this <a
|
17 |
+
href="https://docs.google.com/spreadsheets/d/1EG6z4mmeBzmMidUzDdSDr02quBs2BcgjNOrtZCwnqvs/edit" style="text-decoration: underline;" >spreadsheet</a
|
18 |
+
> 🙌🏻! <br /><br />
|
19 |
+
Hugging Face makes it easy to collaboratively build and showcase your <a
|
20 |
+
href="https://keras.io" style="text-decoration: underline;">Keras</a
|
21 |
+
>
|
22 |
+
models!<br />
|
23 |
+
You can collaborate with your organization, upload and showcase your own models in your profile, or join us in this organization to demo Keras examples!
|
24 |
+
❤️
|
25 |
+
</p>
|
26 |
+
</div>
|
27 |
+
<a href="https://keras.io/" class="block overflow-hidden group">
|
28 |
+
<div
|
29 |
+
class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center bg-[#FA8072]"
|
30 |
+
>
|
31 |
+
<img alt="" src="https://huggingface.co/spaces/keras-io/README/resolve/main/keras-filter.png" class="w-40" />
|
32 |
+
</div>
|
33 |
+
<div class="underline">Keras.io</div>
|
34 |
+
</a>
|
35 |
+
<a
|
36 |
+
href="https://github.com/huggingface/huggingface_hub/blob/1f83ed230932128fba8bfe2a7f0c78df66e6e3ee/src/huggingface_hub/keras_mixin.py#L60"
|
37 |
+
class="block overflow-hidden group"
|
38 |
+
>
|
39 |
+
<div
|
40 |
+
class="w-full h-40 mb-2 bg-gray-900 group-hover:bg-gray-850 rounded-lg flex items-start justify-start overflow-hidden"
|
41 |
+
>
|
42 |
+
<img
|
43 |
+
alt=""
|
44 |
+
src="https://huggingface.co/spaces/keras-io/README/resolve/main/push_to_hub.png"
|
45 |
+
class="w-full h-40 object-cover overflow-hidden"
|
46 |
+
/>
|
47 |
+
</div>
|
48 |
+
<div class="underline">Push your Keras models to Hub ❤️ </div>
|
49 |
+
</a>
|
50 |
+
<a
|
51 |
+
href="https://huggingface.co/models?library=keras&sort=downloads"
|
52 |
+
class="block overflow-hidden group"
|
53 |
+
>
|
54 |
+
<div
|
55 |
+
class="w-full h-40 mb-2 bg-gray-900 group-hover:bg-gray-850 rounded-lg flex items-start justify-start overflow-hidden"
|
56 |
+
>
|
57 |
+
<img
|
58 |
+
alt=""
|
59 |
+
src="https://huggingface.co/spaces/keras-io/README/resolve/main/keras-hf.png"
|
60 |
+
class="w-full h-40 object-cover overflow-hidden"
|
61 |
+
/>
|
62 |
+
</div>
|
63 |
+
<div class="underline">Find all Keras models on the 🤗 Hub</div>
|
64 |
+
</a>
|
65 |
+
<div class="lg:col-span-3">
|
66 |
+
<p class="mb-4">
|
67 |
+
To upload your Keras models to the Hub, you can use the <a
|
68 |
+
href="https://github.com/huggingface/huggingface_hub/blob/1f83ed230932128fba8bfe2a7f0c78df66e6e3ee/src/huggingface_hub/keras_mixin.py#L60"
|
69 |
+
>push_to_hub_keras</a
|
70 |
+
>
|
71 |
+
function.
|
72 |
+
</p>
|
73 |
+
<div
|
74 |
+
class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
|
75 |
+
>
|
76 |
+
<pre
|
77 |
+
class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
|
78 |
+
from huggingface_hub.keras_mixin import push_to_hub_keras
|
79 |
+
push_to_hub_keras(model = model, repo_url = "https://huggingface.co/your-username/your-awesome-model")
|
80 |
+
</pre>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<div class="lg:col-span-3">
|
84 |
+
<p class="mb-4">
|
85 |
+
To load Keras models from the 🤗Hub, use <a
|
86 |
+
href="https://github.com/huggingface/huggingface_hub/blob/d3ba39a69bb5570eb7f31ce76a19b53fdc89728b/src/huggingface_hub/keras_mixin.py#L56"
|
87 |
+
>from_pretrained_keras</a
|
88 |
+
>
|
89 |
+
function.
|
90 |
+
</p>
|
91 |
+
<div
|
92 |
+
class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
|
93 |
+
>
|
94 |
+
<pre
|
95 |
+
class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
|
96 |
+
from huggingface_hub.keras_mixin import from_pretrained_keras
|
97 |
+
from_pretrained_keras("your-username/your-awesome-model)
|
98 |
+
</pre>
|
99 |
+
</div>
|
100 |
+
</div>
|
|
|
|
|
|
|
|
|
101 |
</div>
|