Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Felix Marty
commited on
Commit
•
595bd49
1
Parent(s):
62b5891
style
Browse files
app.py
CHANGED
@@ -76,6 +76,7 @@ TTILE = """
|
|
76 |
</div>
|
77 |
"""
|
78 |
|
|
|
79 |
DESCRIPTION = """
|
80 |
This Space allows to automatically convert to ONNX 🤗 transformers PyTorch models hosted on the Hugging Face Hub. It opens a PR on the target model, and it is up to the owner of the original model
|
81 |
to merge the PR to allow people to leverage the ONNX standard to share and use the model on a wide range of devices!
|
@@ -84,9 +85,8 @@ Once converted, the model can for example be used in the [🤗 Optimum](https://
|
|
84 |
Check out [this guide](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models) to see how!
|
85 |
|
86 |
The steps are the following:
|
87 |
-
- Paste a read-access token from https://huggingface.co/settings/tokens
|
88 |
-
- Input a model id from the Hub (for example:)
|
89 |
-
- If necessary, input the task for this model.
|
90 |
- Click "Convert to ONNX"
|
91 |
- That's it! You'll get feedback if it works or not, and if it worked, you'll get the URL of the opened PR!
|
92 |
|
|
|
76 |
</div>
|
77 |
"""
|
78 |
|
79 |
+
# for some reason https://huggingface.co/settings/tokens is not showing as a link by default?
|
80 |
DESCRIPTION = """
|
81 |
This Space allows to automatically convert to ONNX 🤗 transformers PyTorch models hosted on the Hugging Face Hub. It opens a PR on the target model, and it is up to the owner of the original model
|
82 |
to merge the PR to allow people to leverage the ONNX standard to share and use the model on a wide range of devices!
|
|
|
85 |
Check out [this guide](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models) to see how!
|
86 |
|
87 |
The steps are the following:
|
88 |
+
- Paste a read-access token from [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens). Read access is enough given that we will open a PR against the source repo.
|
89 |
+
- Input a model id from the Hub (for example: [textattack/distilbert-base-cased-CoLA](https://huggingface.co/textattack/distilbert-base-cased-CoLA))
|
|
|
90 |
- Click "Convert to ONNX"
|
91 |
- That's it! You'll get feedback if it works or not, and if it worked, you'll get the URL of the opened PR!
|
92 |
|