merve HF staff commited on
Commit
ede89a8
·
1 Parent(s): fa537b7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -1
README.md CHANGED
@@ -14,4 +14,30 @@ pinned: false
14
  >
15
  models!<br />
16
  Feel free to join to organization to push your models and showcase them through 🤗 Spaces.
17
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  >
15
  models!<br />
16
  Feel free to join to organization to push your models and showcase them through 🤗 Spaces.
17
+ </p>
18
+ <div class="lg:col-span-3">
19
+ <p class="mb-4">
20
+ To upload your spaCy pipelines to the Hub, you can use the <a
21
+ href="https://github.com/huggingface/huggingface_hub/blob/1f83ed230932128fba8bfe2a7f0c78df66e6e3ee/src/huggingface_hub/keras_mixin.py#L60"
22
+ >push_to_hub_keras</a
23
+ >
24
+ library.
25
+ </p>
26
+ <div
27
+ class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
28
+ >
29
+ <pre
30
+ class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
31
+ pip install huggingface-hub
32
+ !huggingface-cli login
33
+ from huggingface_hub.keras_mixin import push_to_hub_keras
34
+ push_to_hub_keras(model = model, repo_url = "https://huggingface.co/your-username/name-of-model")
35
+ </pre>
36
+ </div>
37
+ <p>
38
+ More information: <a
39
+ href="https://spacy.io/usage/v3-1#huggingface-hub"
40
+ class="underline">spaCy 3.1 release post</a
41
+ >
42
+ </p>
43
+ </div>