Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Felix Marty
commited on
Commit
Β·
476a5d5
1
Parent(s):
d181dd0
style
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def onnx_export(token: str, model_id: str, task: str) -> str:
|
|
57 |
|
58 |
|
59 |
TTILE = """
|
60 |
-
<div style="text-align: center;
|
61 |
<img src="https://huggingface.co/spaces/optimum/exporters/resolve/main/clean_hf_onnx.png"/>
|
62 |
|
63 |
<div
|
@@ -69,7 +69,7 @@ TTILE = """
|
|
69 |
"
|
70 |
>
|
71 |
<h1 style="font-weight: 900; margin-bottom: 10px; margin-top: 10px;">
|
72 |
-
Convert
|
73 |
</h1>
|
74 |
</div>
|
75 |
|
@@ -77,7 +77,7 @@ TTILE = """
|
|
77 |
"""
|
78 |
|
79 |
DESCRIPTION = """
|
80 |
-
This Space allows to automatically convert to ONNX π€ transformers 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!
|
82 |
|
83 |
Once converted, the model can for example be used in the [π€ Optimum](https://huggingface.co/docs/optimum/) library following closely the transormers API.
|
|
|
57 |
|
58 |
|
59 |
TTILE = """
|
60 |
+
<div style="text-align: center; margin: 0 auto;">
|
61 |
<img src="https://huggingface.co/spaces/optimum/exporters/resolve/main/clean_hf_onnx.png"/>
|
62 |
|
63 |
<div
|
|
|
69 |
"
|
70 |
>
|
71 |
<h1 style="font-weight: 900; margin-bottom: 10px; margin-top: 10px;">
|
72 |
+
Convert transformers model to ONNX with π€ Optimum exporters ποΈ (Beta)
|
73 |
</h1>
|
74 |
</div>
|
75 |
|
|
|
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!
|
82 |
|
83 |
Once converted, the model can for example be used in the [π€ Optimum](https://huggingface.co/docs/optimum/) library following closely the transormers API.
|