julien-c HF staff commited on
Commit
58ec4a8
Β·
1 Parent(s): af03d3d

import from moon-landing codebase

Browse files
Files changed (1) hide show
  1. README.md +75 -21
README.md CHANGED
@@ -3,31 +3,85 @@ title: README
3
  emoji: πŸ‘
4
  colorFrom: pink
5
  colorTo: indigo
6
- sdk: gradio
7
- app_file: app.py
8
  pinned: false
9
  ---
10
 
11
- # Configuration
 
 
 
 
12
 
13
- `title`: _string_
14
- Display title for the Space
 
 
 
 
 
15
 
16
- `emoji`: _string_
17
- Space emoji (emoji-only character allowed)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- `colorFrom`: _string_
20
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- `colorTo`: _string_
23
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
24
-
25
- `sdk`: _string_
26
- Can be either `gradio` or `streamlit`
27
-
28
- `app_file`: _string_
29
- Path to your main application file (which contains either `gradio` or `streamlit` Python code).
30
- Path is relative to the root of the repository.
31
-
32
- `pinned`: _boolean_
33
- Whether the Space stays on top of your list.
 
3
  emoji: πŸ‘
4
  colorFrom: pink
5
  colorTo: indigo
6
+ sdk: static
 
7
  pinned: false
8
  ---
9
 
10
+ <p class="lg:col-span-3">
11
+ Hugging Face makes it really easy to share your <a
12
+ href="https://spacy.io/">spaCy</a
13
+ >
14
+ pipelines with the community!<br />
15
 
16
+ With a single command, you can upload any pipeline package, with a pretty
17
+ model card and all required metadata auto-generated for you. The inference
18
+ API currently supports NER out-of-the-box and you can try out your
19
+ pipeline interactively in your browser. You'll also get a live URL for
20
+ your package that you can pip install from anywhere for a smooth path from
21
+ prototype all the way to production!
22
+ </p>
23
 
24
+ <a href="https://spacy.io/" class="block overflow-hidden group">
25
+ <div
26
+ class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center bg-[#ECFAFF]"
27
+ >
28
+ <img alt="" src="/front/assets/promo/spacy_logo.png" class="w-40" />
29
+ </div>
30
+ <div class="underline">spaCy website</div>
31
+ </a>
32
+ <a
33
+ href="https://github.com/explosion/spacy-huggingface-hub"
34
+ class="block overflow-hidden"
35
+ >
36
+ <div class="flex items-center h-40 bg-[#ECFAFF] rounded-lg px-4 mb-2">
37
+ <pre
38
+ class="break-words leading-1 whitespace-pre-line text-xs text-gray-800">
39
+ python -m spacy huggingface-hub push [whl_path] [--org] [--msg] [--local-repo] [--verbose]
40
+ </pre>
41
+ </div>
42
+ <div class="underline">Upload packages on the hub</div>
43
+ </a>
44
+ <a
45
+ href="https://huggingface.co/models?filter=spacy"
46
+ class="block overflow-hidden group"
47
+ >
48
+ <div
49
+ class="w-full h-40 mb-2 bg-gray-900 group-hover:bg-gray-850 rounded-lg flex items-start justify-start overflow-hidden"
50
+ >
51
+ <img
52
+ alt=""
53
+ src="/front/assets/promo/spacy_widget.jpeg"
54
+ class="w-full h-40 object-cover overflow-hidden"
55
+ />
56
+ </div>
57
+ <div class="underline">Find all spaCy models in the Hub</div>
58
+ </a>
59
 
60
+ <div class="lg:col-span-3">
61
+ <p class="mb-4">
62
+ To upload your spaCy pipelines to the Hub, you can use the <a
63
+ href="https://github.com/explosion/spacy-huggingface-hub"
64
+ >spacy-huggingface-hub</a
65
+ >
66
+ library.
67
+ </p>
68
+ <div
69
+ class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
70
+ >
71
+ <pre
72
+ class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
73
+ pip install spacy-huggingface-hub
74
+ huggingface-cli login
75
+ python -m spacy package ./en_ner_fashion ./output --build wheel
76
+ cd ./output/en_ner_fashion-0.0.0/dist
77
+ python -m spacy huggingface-hub push en_ner_fashion-0.0.0-py3-none-any.whl
78
+ </pre>
79
+ </div>
80
 
81
+ <p>
82
+ More information: <a
83
+ href="https://spacy.io/usage/v3-1#huggingface-hub"
84
+ class="underline">spaCy 3.1 release post</a
85
+ >
86
+ </p>
87
+ </div>