Instructions to use Delower/Affinity_PPI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Delower/Affinity_PPI with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Delower/Affinity_PPI") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +146 -0
- prot_t5_onnx/.gitattributes +180 -0
- prot_t5_onnx/README.md +317 -0
- prot_t5_onnx/added_tokens.json +102 -0
- prot_t5_onnx/config.json +68 -0
- prot_t5_onnx/convert.py +220 -0
- prot_t5_onnx/model.onnx +3 -0
- prot_t5_onnx/onnx__MatMul_3143 +3 -0
- prot_t5_onnx/onnx__MatMul_3153 +3 -0
- prot_t5_onnx/onnx__MatMul_3154 +3 -0
- prot_t5_onnx/onnx__MatMul_3163 +3 -0
- prot_t5_onnx/onnx__MatMul_3164 +3 -0
- prot_t5_onnx/onnx__MatMul_3165 +3 -0
- prot_t5_onnx/onnx__MatMul_3166 +3 -0
- prot_t5_onnx/onnx__MatMul_3176 +3 -0
- prot_t5_onnx/onnx__MatMul_3177 +3 -0
- prot_t5_onnx/onnx__MatMul_3180 +3 -0
- prot_t5_onnx/onnx__MatMul_3181 +3 -0
- prot_t5_onnx/onnx__MatMul_3182 +3 -0
- prot_t5_onnx/onnx__MatMul_3183 +3 -0
- prot_t5_onnx/onnx__MatMul_3193 +3 -0
- prot_t5_onnx/onnx__MatMul_3194 +3 -0
- prot_t5_onnx/onnx__MatMul_3197 +3 -0
- prot_t5_onnx/onnx__MatMul_3198 +3 -0
- prot_t5_onnx/onnx__MatMul_3199 +3 -0
- prot_t5_onnx/onnx__MatMul_3200 +3 -0
- prot_t5_onnx/onnx__MatMul_3210 +3 -0
- prot_t5_onnx/onnx__MatMul_3211 +3 -0
- prot_t5_onnx/onnx__MatMul_3214 +3 -0
- prot_t5_onnx/onnx__MatMul_3215 +3 -0
- prot_t5_onnx/onnx__MatMul_3216 +3 -0
- prot_t5_onnx/onnx__MatMul_3217 +3 -0
- prot_t5_onnx/onnx__MatMul_3227 +3 -0
- prot_t5_onnx/onnx__MatMul_3228 +3 -0
- prot_t5_onnx/onnx__MatMul_3231 +3 -0
- prot_t5_onnx/onnx__MatMul_3232 +3 -0
- prot_t5_onnx/onnx__MatMul_3233 +3 -0
- prot_t5_onnx/onnx__MatMul_3234 +3 -0
- prot_t5_onnx/onnx__MatMul_3244 +3 -0
- prot_t5_onnx/onnx__MatMul_3245 +3 -0
- prot_t5_onnx/onnx__MatMul_3248 +3 -0
- prot_t5_onnx/onnx__MatMul_3249 +3 -0
- prot_t5_onnx/onnx__MatMul_3250 +3 -0
- prot_t5_onnx/onnx__MatMul_3251 +3 -0
- prot_t5_onnx/onnx__MatMul_3261 +3 -0
- prot_t5_onnx/onnx__MatMul_3262 +3 -0
- prot_t5_onnx/onnx__MatMul_3265 +3 -0
- prot_t5_onnx/onnx__MatMul_3266 +3 -0
- prot_t5_onnx/onnx__MatMul_3267 +3 -0
- prot_t5_onnx/onnx__MatMul_3268 +3 -0
.gitattributes
CHANGED
|
@@ -37,3 +37,149 @@ best_model.keras filter=lfs diff=lfs merge=lfs -text
|
|
| 37 |
last_model.keras filter=lfs diff=lfs merge=lfs -text
|
| 38 |
periodic/model_epoch0005.keras filter=lfs diff=lfs merge=lfs -text
|
| 39 |
periodic/model_epoch0010.keras filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
last_model.keras filter=lfs diff=lfs merge=lfs -text
|
| 38 |
periodic/model_epoch0005.keras filter=lfs diff=lfs merge=lfs -text
|
| 39 |
periodic/model_epoch0010.keras filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
prot_t5_onnx/onnx__MatMul_3143 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
prot_t5_onnx/onnx__MatMul_3153 filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
prot_t5_onnx/onnx__MatMul_3154 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
prot_t5_onnx/onnx__MatMul_3163 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
prot_t5_onnx/onnx__MatMul_3164 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
prot_t5_onnx/onnx__MatMul_3165 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
prot_t5_onnx/onnx__MatMul_3166 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
prot_t5_onnx/onnx__MatMul_3176 filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
prot_t5_onnx/onnx__MatMul_3177 filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
prot_t5_onnx/onnx__MatMul_3180 filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
prot_t5_onnx/onnx__MatMul_3181 filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
prot_t5_onnx/onnx__MatMul_3182 filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
prot_t5_onnx/onnx__MatMul_3183 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
prot_t5_onnx/onnx__MatMul_3193 filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
prot_t5_onnx/onnx__MatMul_3194 filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
prot_t5_onnx/onnx__MatMul_3197 filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
prot_t5_onnx/onnx__MatMul_3198 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
prot_t5_onnx/onnx__MatMul_3199 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
prot_t5_onnx/onnx__MatMul_3200 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
prot_t5_onnx/onnx__MatMul_3210 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
prot_t5_onnx/onnx__MatMul_3211 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
prot_t5_onnx/onnx__MatMul_3214 filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
prot_t5_onnx/onnx__MatMul_3215 filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
prot_t5_onnx/onnx__MatMul_3216 filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
prot_t5_onnx/onnx__MatMul_3217 filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
prot_t5_onnx/onnx__MatMul_3227 filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
prot_t5_onnx/onnx__MatMul_3228 filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
prot_t5_onnx/onnx__MatMul_3231 filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
prot_t5_onnx/onnx__MatMul_3232 filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
prot_t5_onnx/onnx__MatMul_3233 filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
prot_t5_onnx/onnx__MatMul_3234 filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
prot_t5_onnx/onnx__MatMul_3244 filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
prot_t5_onnx/onnx__MatMul_3245 filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
prot_t5_onnx/onnx__MatMul_3248 filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
prot_t5_onnx/onnx__MatMul_3249 filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
prot_t5_onnx/onnx__MatMul_3250 filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
prot_t5_onnx/onnx__MatMul_3251 filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
prot_t5_onnx/onnx__MatMul_3261 filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
prot_t5_onnx/onnx__MatMul_3262 filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
prot_t5_onnx/onnx__MatMul_3265 filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
prot_t5_onnx/onnx__MatMul_3266 filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
prot_t5_onnx/onnx__MatMul_3267 filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
prot_t5_onnx/onnx__MatMul_3268 filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
prot_t5_onnx/onnx__MatMul_3278 filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
prot_t5_onnx/onnx__MatMul_3279 filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
prot_t5_onnx/onnx__MatMul_3282 filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
prot_t5_onnx/onnx__MatMul_3283 filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
prot_t5_onnx/onnx__MatMul_3284 filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
prot_t5_onnx/onnx__MatMul_3285 filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
prot_t5_onnx/onnx__MatMul_3295 filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
prot_t5_onnx/onnx__MatMul_3296 filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
prot_t5_onnx/onnx__MatMul_3299 filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
prot_t5_onnx/onnx__MatMul_3300 filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
prot_t5_onnx/onnx__MatMul_3301 filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
prot_t5_onnx/onnx__MatMul_3302 filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
prot_t5_onnx/onnx__MatMul_3312 filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
prot_t5_onnx/onnx__MatMul_3313 filter=lfs diff=lfs merge=lfs -text
|
| 97 |
+
prot_t5_onnx/onnx__MatMul_3316 filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
prot_t5_onnx/onnx__MatMul_3317 filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
prot_t5_onnx/onnx__MatMul_3318 filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
prot_t5_onnx/onnx__MatMul_3319 filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
prot_t5_onnx/onnx__MatMul_3329 filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
prot_t5_onnx/onnx__MatMul_3330 filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
prot_t5_onnx/onnx__MatMul_3333 filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
prot_t5_onnx/onnx__MatMul_3334 filter=lfs diff=lfs merge=lfs -text
|
| 105 |
+
prot_t5_onnx/onnx__MatMul_3335 filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
prot_t5_onnx/onnx__MatMul_3336 filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
prot_t5_onnx/onnx__MatMul_3346 filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
prot_t5_onnx/onnx__MatMul_3347 filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
prot_t5_onnx/onnx__MatMul_3350 filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
prot_t5_onnx/onnx__MatMul_3351 filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
prot_t5_onnx/onnx__MatMul_3352 filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
prot_t5_onnx/onnx__MatMul_3353 filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
prot_t5_onnx/onnx__MatMul_3363 filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
prot_t5_onnx/onnx__MatMul_3364 filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
prot_t5_onnx/onnx__MatMul_3367 filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
prot_t5_onnx/onnx__MatMul_3368 filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
prot_t5_onnx/onnx__MatMul_3369 filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
prot_t5_onnx/onnx__MatMul_3370 filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
prot_t5_onnx/onnx__MatMul_3380 filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
prot_t5_onnx/onnx__MatMul_3381 filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
prot_t5_onnx/onnx__MatMul_3384 filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
prot_t5_onnx/onnx__MatMul_3385 filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
prot_t5_onnx/onnx__MatMul_3386 filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
prot_t5_onnx/onnx__MatMul_3387 filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
prot_t5_onnx/onnx__MatMul_3397 filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
prot_t5_onnx/onnx__MatMul_3398 filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
prot_t5_onnx/onnx__MatMul_3401 filter=lfs diff=lfs merge=lfs -text
|
| 128 |
+
prot_t5_onnx/onnx__MatMul_3402 filter=lfs diff=lfs merge=lfs -text
|
| 129 |
+
prot_t5_onnx/onnx__MatMul_3403 filter=lfs diff=lfs merge=lfs -text
|
| 130 |
+
prot_t5_onnx/onnx__MatMul_3404 filter=lfs diff=lfs merge=lfs -text
|
| 131 |
+
prot_t5_onnx/onnx__MatMul_3414 filter=lfs diff=lfs merge=lfs -text
|
| 132 |
+
prot_t5_onnx/onnx__MatMul_3415 filter=lfs diff=lfs merge=lfs -text
|
| 133 |
+
prot_t5_onnx/onnx__MatMul_3418 filter=lfs diff=lfs merge=lfs -text
|
| 134 |
+
prot_t5_onnx/onnx__MatMul_3419 filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
prot_t5_onnx/onnx__MatMul_3420 filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
prot_t5_onnx/onnx__MatMul_3421 filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
prot_t5_onnx/onnx__MatMul_3431 filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
prot_t5_onnx/onnx__MatMul_3432 filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
prot_t5_onnx/onnx__MatMul_3435 filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
prot_t5_onnx/onnx__MatMul_3436 filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
prot_t5_onnx/onnx__MatMul_3437 filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
prot_t5_onnx/onnx__MatMul_3438 filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
prot_t5_onnx/onnx__MatMul_3448 filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
prot_t5_onnx/onnx__MatMul_3449 filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
prot_t5_onnx/onnx__MatMul_3452 filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
prot_t5_onnx/onnx__MatMul_3453 filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
prot_t5_onnx/onnx__MatMul_3454 filter=lfs diff=lfs merge=lfs -text
|
| 148 |
+
prot_t5_onnx/onnx__MatMul_3455 filter=lfs diff=lfs merge=lfs -text
|
| 149 |
+
prot_t5_onnx/onnx__MatMul_3465 filter=lfs diff=lfs merge=lfs -text
|
| 150 |
+
prot_t5_onnx/onnx__MatMul_3466 filter=lfs diff=lfs merge=lfs -text
|
| 151 |
+
prot_t5_onnx/onnx__MatMul_3469 filter=lfs diff=lfs merge=lfs -text
|
| 152 |
+
prot_t5_onnx/onnx__MatMul_3470 filter=lfs diff=lfs merge=lfs -text
|
| 153 |
+
prot_t5_onnx/onnx__MatMul_3471 filter=lfs diff=lfs merge=lfs -text
|
| 154 |
+
prot_t5_onnx/onnx__MatMul_3472 filter=lfs diff=lfs merge=lfs -text
|
| 155 |
+
prot_t5_onnx/onnx__MatMul_3482 filter=lfs diff=lfs merge=lfs -text
|
| 156 |
+
prot_t5_onnx/onnx__MatMul_3483 filter=lfs diff=lfs merge=lfs -text
|
| 157 |
+
prot_t5_onnx/onnx__MatMul_3486 filter=lfs diff=lfs merge=lfs -text
|
| 158 |
+
prot_t5_onnx/onnx__MatMul_3487 filter=lfs diff=lfs merge=lfs -text
|
| 159 |
+
prot_t5_onnx/onnx__MatMul_3488 filter=lfs diff=lfs merge=lfs -text
|
| 160 |
+
prot_t5_onnx/onnx__MatMul_3489 filter=lfs diff=lfs merge=lfs -text
|
| 161 |
+
prot_t5_onnx/onnx__MatMul_3499 filter=lfs diff=lfs merge=lfs -text
|
| 162 |
+
prot_t5_onnx/onnx__MatMul_3500 filter=lfs diff=lfs merge=lfs -text
|
| 163 |
+
prot_t5_onnx/onnx__MatMul_3503 filter=lfs diff=lfs merge=lfs -text
|
| 164 |
+
prot_t5_onnx/onnx__MatMul_3504 filter=lfs diff=lfs merge=lfs -text
|
| 165 |
+
prot_t5_onnx/onnx__MatMul_3505 filter=lfs diff=lfs merge=lfs -text
|
| 166 |
+
prot_t5_onnx/onnx__MatMul_3506 filter=lfs diff=lfs merge=lfs -text
|
| 167 |
+
prot_t5_onnx/onnx__MatMul_3516 filter=lfs diff=lfs merge=lfs -text
|
| 168 |
+
prot_t5_onnx/onnx__MatMul_3517 filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
prot_t5_onnx/onnx__MatMul_3520 filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
prot_t5_onnx/onnx__MatMul_3521 filter=lfs diff=lfs merge=lfs -text
|
| 171 |
+
prot_t5_onnx/onnx__MatMul_3522 filter=lfs diff=lfs merge=lfs -text
|
| 172 |
+
prot_t5_onnx/onnx__MatMul_3523 filter=lfs diff=lfs merge=lfs -text
|
| 173 |
+
prot_t5_onnx/onnx__MatMul_3533 filter=lfs diff=lfs merge=lfs -text
|
| 174 |
+
prot_t5_onnx/onnx__MatMul_3534 filter=lfs diff=lfs merge=lfs -text
|
| 175 |
+
prot_t5_onnx/onnx__MatMul_3537 filter=lfs diff=lfs merge=lfs -text
|
| 176 |
+
prot_t5_onnx/onnx__MatMul_3538 filter=lfs diff=lfs merge=lfs -text
|
| 177 |
+
prot_t5_onnx/onnx__MatMul_3539 filter=lfs diff=lfs merge=lfs -text
|
| 178 |
+
prot_t5_onnx/onnx__MatMul_3540 filter=lfs diff=lfs merge=lfs -text
|
| 179 |
+
prot_t5_onnx/onnx__MatMul_3550 filter=lfs diff=lfs merge=lfs -text
|
| 180 |
+
prot_t5_onnx/onnx__MatMul_3551 filter=lfs diff=lfs merge=lfs -text
|
| 181 |
+
prot_t5_onnx/onnx__MatMul_3554 filter=lfs diff=lfs merge=lfs -text
|
| 182 |
+
prot_t5_onnx/onnx__MatMul_3555 filter=lfs diff=lfs merge=lfs -text
|
| 183 |
+
prot_t5_onnx/onnx__MatMul_3556 filter=lfs diff=lfs merge=lfs -text
|
| 184 |
+
prot_t5_onnx/shared.weight filter=lfs diff=lfs merge=lfs -text
|
| 185 |
+
tflite_models/keras_savedmodel/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
prot_t5_onnx/.gitattributes
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
onnx__MatMul_3143 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
onnx__MatMul_3153 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
onnx__MatMul_3154 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
onnx__MatMul_3163 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
onnx__MatMul_3164 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
onnx__MatMul_3165 filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
onnx__MatMul_3166 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
onnx__MatMul_3176 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
onnx__MatMul_3177 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
onnx__MatMul_3180 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
onnx__MatMul_3181 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
onnx__MatMul_3182 filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
onnx__MatMul_3183 filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
onnx__MatMul_3193 filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
onnx__MatMul_3194 filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
onnx__MatMul_3197 filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
onnx__MatMul_3198 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
onnx__MatMul_3199 filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
onnx__MatMul_3200 filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
onnx__MatMul_3210 filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
onnx__MatMul_3211 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
onnx__MatMul_3214 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
onnx__MatMul_3215 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
onnx__MatMul_3216 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
onnx__MatMul_3217 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
onnx__MatMul_3227 filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
onnx__MatMul_3228 filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
onnx__MatMul_3231 filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
onnx__MatMul_3232 filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
onnx__MatMul_3233 filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
onnx__MatMul_3234 filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
onnx__MatMul_3244 filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
onnx__MatMul_3245 filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
onnx__MatMul_3248 filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
onnx__MatMul_3249 filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
onnx__MatMul_3250 filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
onnx__MatMul_3251 filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
onnx__MatMul_3261 filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
onnx__MatMul_3262 filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
onnx__MatMul_3265 filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
onnx__MatMul_3266 filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
onnx__MatMul_3267 filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
onnx__MatMul_3268 filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
onnx__MatMul_3278 filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
onnx__MatMul_3279 filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
onnx__MatMul_3282 filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
onnx__MatMul_3283 filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
onnx__MatMul_3284 filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
onnx__MatMul_3285 filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
onnx__MatMul_3295 filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
onnx__MatMul_3296 filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
onnx__MatMul_3299 filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
onnx__MatMul_3300 filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
onnx__MatMul_3301 filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
onnx__MatMul_3302 filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
onnx__MatMul_3312 filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
onnx__MatMul_3313 filter=lfs diff=lfs merge=lfs -text
|
| 93 |
+
onnx__MatMul_3316 filter=lfs diff=lfs merge=lfs -text
|
| 94 |
+
onnx__MatMul_3317 filter=lfs diff=lfs merge=lfs -text
|
| 95 |
+
onnx__MatMul_3318 filter=lfs diff=lfs merge=lfs -text
|
| 96 |
+
onnx__MatMul_3319 filter=lfs diff=lfs merge=lfs -text
|
| 97 |
+
onnx__MatMul_3329 filter=lfs diff=lfs merge=lfs -text
|
| 98 |
+
onnx__MatMul_3330 filter=lfs diff=lfs merge=lfs -text
|
| 99 |
+
onnx__MatMul_3333 filter=lfs diff=lfs merge=lfs -text
|
| 100 |
+
onnx__MatMul_3334 filter=lfs diff=lfs merge=lfs -text
|
| 101 |
+
onnx__MatMul_3335 filter=lfs diff=lfs merge=lfs -text
|
| 102 |
+
onnx__MatMul_3336 filter=lfs diff=lfs merge=lfs -text
|
| 103 |
+
onnx__MatMul_3346 filter=lfs diff=lfs merge=lfs -text
|
| 104 |
+
onnx__MatMul_3347 filter=lfs diff=lfs merge=lfs -text
|
| 105 |
+
onnx__MatMul_3350 filter=lfs diff=lfs merge=lfs -text
|
| 106 |
+
onnx__MatMul_3351 filter=lfs diff=lfs merge=lfs -text
|
| 107 |
+
onnx__MatMul_3352 filter=lfs diff=lfs merge=lfs -text
|
| 108 |
+
onnx__MatMul_3353 filter=lfs diff=lfs merge=lfs -text
|
| 109 |
+
onnx__MatMul_3363 filter=lfs diff=lfs merge=lfs -text
|
| 110 |
+
onnx__MatMul_3364 filter=lfs diff=lfs merge=lfs -text
|
| 111 |
+
onnx__MatMul_3367 filter=lfs diff=lfs merge=lfs -text
|
| 112 |
+
onnx__MatMul_3368 filter=lfs diff=lfs merge=lfs -text
|
| 113 |
+
onnx__MatMul_3369 filter=lfs diff=lfs merge=lfs -text
|
| 114 |
+
onnx__MatMul_3370 filter=lfs diff=lfs merge=lfs -text
|
| 115 |
+
onnx__MatMul_3380 filter=lfs diff=lfs merge=lfs -text
|
| 116 |
+
onnx__MatMul_3381 filter=lfs diff=lfs merge=lfs -text
|
| 117 |
+
onnx__MatMul_3384 filter=lfs diff=lfs merge=lfs -text
|
| 118 |
+
onnx__MatMul_3385 filter=lfs diff=lfs merge=lfs -text
|
| 119 |
+
onnx__MatMul_3386 filter=lfs diff=lfs merge=lfs -text
|
| 120 |
+
onnx__MatMul_3387 filter=lfs diff=lfs merge=lfs -text
|
| 121 |
+
onnx__MatMul_3397 filter=lfs diff=lfs merge=lfs -text
|
| 122 |
+
onnx__MatMul_3398 filter=lfs diff=lfs merge=lfs -text
|
| 123 |
+
onnx__MatMul_3401 filter=lfs diff=lfs merge=lfs -text
|
| 124 |
+
onnx__MatMul_3402 filter=lfs diff=lfs merge=lfs -text
|
| 125 |
+
onnx__MatMul_3403 filter=lfs diff=lfs merge=lfs -text
|
| 126 |
+
onnx__MatMul_3404 filter=lfs diff=lfs merge=lfs -text
|
| 127 |
+
onnx__MatMul_3414 filter=lfs diff=lfs merge=lfs -text
|
| 128 |
+
onnx__MatMul_3415 filter=lfs diff=lfs merge=lfs -text
|
| 129 |
+
onnx__MatMul_3418 filter=lfs diff=lfs merge=lfs -text
|
| 130 |
+
onnx__MatMul_3419 filter=lfs diff=lfs merge=lfs -text
|
| 131 |
+
onnx__MatMul_3420 filter=lfs diff=lfs merge=lfs -text
|
| 132 |
+
onnx__MatMul_3421 filter=lfs diff=lfs merge=lfs -text
|
| 133 |
+
onnx__MatMul_3431 filter=lfs diff=lfs merge=lfs -text
|
| 134 |
+
onnx__MatMul_3432 filter=lfs diff=lfs merge=lfs -text
|
| 135 |
+
onnx__MatMul_3435 filter=lfs diff=lfs merge=lfs -text
|
| 136 |
+
onnx__MatMul_3436 filter=lfs diff=lfs merge=lfs -text
|
| 137 |
+
onnx__MatMul_3437 filter=lfs diff=lfs merge=lfs -text
|
| 138 |
+
onnx__MatMul_3438 filter=lfs diff=lfs merge=lfs -text
|
| 139 |
+
onnx__MatMul_3448 filter=lfs diff=lfs merge=lfs -text
|
| 140 |
+
onnx__MatMul_3449 filter=lfs diff=lfs merge=lfs -text
|
| 141 |
+
onnx__MatMul_3452 filter=lfs diff=lfs merge=lfs -text
|
| 142 |
+
onnx__MatMul_3453 filter=lfs diff=lfs merge=lfs -text
|
| 143 |
+
onnx__MatMul_3454 filter=lfs diff=lfs merge=lfs -text
|
| 144 |
+
onnx__MatMul_3455 filter=lfs diff=lfs merge=lfs -text
|
| 145 |
+
onnx__MatMul_3465 filter=lfs diff=lfs merge=lfs -text
|
| 146 |
+
onnx__MatMul_3466 filter=lfs diff=lfs merge=lfs -text
|
| 147 |
+
onnx__MatMul_3469 filter=lfs diff=lfs merge=lfs -text
|
| 148 |
+
onnx__MatMul_3470 filter=lfs diff=lfs merge=lfs -text
|
| 149 |
+
onnx__MatMul_3471 filter=lfs diff=lfs merge=lfs -text
|
| 150 |
+
onnx__MatMul_3472 filter=lfs diff=lfs merge=lfs -text
|
| 151 |
+
onnx__MatMul_3482 filter=lfs diff=lfs merge=lfs -text
|
| 152 |
+
onnx__MatMul_3483 filter=lfs diff=lfs merge=lfs -text
|
| 153 |
+
onnx__MatMul_3486 filter=lfs diff=lfs merge=lfs -text
|
| 154 |
+
onnx__MatMul_3487 filter=lfs diff=lfs merge=lfs -text
|
| 155 |
+
onnx__MatMul_3488 filter=lfs diff=lfs merge=lfs -text
|
| 156 |
+
onnx__MatMul_3489 filter=lfs diff=lfs merge=lfs -text
|
| 157 |
+
onnx__MatMul_3499 filter=lfs diff=lfs merge=lfs -text
|
| 158 |
+
onnx__MatMul_3500 filter=lfs diff=lfs merge=lfs -text
|
| 159 |
+
onnx__MatMul_3503 filter=lfs diff=lfs merge=lfs -text
|
| 160 |
+
onnx__MatMul_3504 filter=lfs diff=lfs merge=lfs -text
|
| 161 |
+
onnx__MatMul_3505 filter=lfs diff=lfs merge=lfs -text
|
| 162 |
+
onnx__MatMul_3506 filter=lfs diff=lfs merge=lfs -text
|
| 163 |
+
onnx__MatMul_3516 filter=lfs diff=lfs merge=lfs -text
|
| 164 |
+
onnx__MatMul_3517 filter=lfs diff=lfs merge=lfs -text
|
| 165 |
+
onnx__MatMul_3520 filter=lfs diff=lfs merge=lfs -text
|
| 166 |
+
onnx__MatMul_3521 filter=lfs diff=lfs merge=lfs -text
|
| 167 |
+
onnx__MatMul_3522 filter=lfs diff=lfs merge=lfs -text
|
| 168 |
+
onnx__MatMul_3523 filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
onnx__MatMul_3533 filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
onnx__MatMul_3534 filter=lfs diff=lfs merge=lfs -text
|
| 171 |
+
onnx__MatMul_3537 filter=lfs diff=lfs merge=lfs -text
|
| 172 |
+
onnx__MatMul_3538 filter=lfs diff=lfs merge=lfs -text
|
| 173 |
+
onnx__MatMul_3539 filter=lfs diff=lfs merge=lfs -text
|
| 174 |
+
onnx__MatMul_3540 filter=lfs diff=lfs merge=lfs -text
|
| 175 |
+
onnx__MatMul_3550 filter=lfs diff=lfs merge=lfs -text
|
| 176 |
+
onnx__MatMul_3551 filter=lfs diff=lfs merge=lfs -text
|
| 177 |
+
onnx__MatMul_3554 filter=lfs diff=lfs merge=lfs -text
|
| 178 |
+
onnx__MatMul_3555 filter=lfs diff=lfs merge=lfs -text
|
| 179 |
+
onnx__MatMul_3556 filter=lfs diff=lfs merge=lfs -text
|
| 180 |
+
shared.weight filter=lfs diff=lfs merge=lfs -text
|
prot_t5_onnx/README.md
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: onnx
|
| 6 |
+
tags:
|
| 7 |
+
- biology
|
| 8 |
+
- protein
|
| 9 |
+
- onnx
|
| 10 |
+
- encoder-only
|
| 11 |
+
- embeddings
|
| 12 |
+
- bioinformatics
|
| 13 |
+
- protein-language-model
|
| 14 |
+
- t5
|
| 15 |
+
- transformer
|
| 16 |
+
- half-precision
|
| 17 |
+
- fp16
|
| 18 |
+
datasets:
|
| 19 |
+
- UniRef50
|
| 20 |
+
inference: true
|
| 21 |
+
model-index:
|
| 22 |
+
- name: prot-t5-xl-uniref50-enc-onnx
|
| 23 |
+
results:
|
| 24 |
+
- task:
|
| 25 |
+
type: feature-extraction
|
| 26 |
+
name: Protein Embedding Generation
|
| 27 |
+
metrics:
|
| 28 |
+
- type: cosine_similarity
|
| 29 |
+
value: 1.000244
|
| 30 |
+
name: PyTorch-ONNX Similarity
|
| 31 |
+
- type: max_absolute_difference
|
| 32 |
+
value: 0.001953
|
| 33 |
+
name: Maximum Absolute Difference
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# ProtT5-XL-UniRef50 Encoder (ONNX, Half-Precision)
|
| 37 |
+
|
| 38 |
+
**An optimized ONNX version of the encoder-only, half-precision ProtT5-XL-UniRef50 model for efficient protein embeddings.**
|
| 39 |
+
|
| 40 |
+
This is an ONNX-converted version of [`Rostlab/prot_t5_xl_half_uniref50-enc`](https://huggingface.co/Rostlab/prot_t5_xl_half_uniref50-enc), optimized for production inference.
|
| 41 |
+
|
| 42 |
+
## Model Description
|
| 43 |
+
|
| 44 |
+
ProtT5-XL-UniRef50 is based on the T5-3B model and was pretrained on a large corpus of protein sequences in a self-supervised fashion. This ONNX version contains only the encoder portion using half precision (float16), enabling efficient protein/amino acid representation generation.
|
| 45 |
+
|
| 46 |
+
**Key Features:**
|
| 47 |
+
|
| 48 |
+
- 🚀 **Optimized Inference**: ONNX Runtime for more flexible inference deployment
|
| 49 |
+
- 💾 **Reduced Memory**: Half-precision with external weights (2.25GB total)
|
| 50 |
+
- ⚡ **Hardware Agnostic**: Supports CPU, GPU, and specialized accelerators
|
| 51 |
+
|
| 52 |
+
### Conversion Details
|
| 53 |
+
|
| 54 |
+
This model was converted from the original PyTorch model with the following optimizations:
|
| 55 |
+
|
| 56 |
+
- **ONNX Opset**: Version 14 for broad compatibility
|
| 57 |
+
- **Precision**: FP16 (half-precision) maintained from original
|
| 58 |
+
- **External Weights**: Large weight matrices stored separately for efficient loading
|
| 59 |
+
- **Dynamic Shapes**: Supports variable batch sizes and sequence lengths
|
| 60 |
+
|
| 61 |
+
## Performance Metrics
|
| 62 |
+
|
| 63 |
+
**Accuracy Validation** (PyTorch vs ONNX):
|
| 64 |
+
|
| 65 |
+
- **Average Cosine Similarity**: 1.000244 (near-perfect preservation)
|
| 66 |
+
- **Maximum Absolute Difference**: 0.001953 (minimal numerical differences)
|
| 67 |
+
- **All test cases**: Cosine similarity > 0.998
|
| 68 |
+
|
| 69 |
+
**Inference Performance** (example results):
|
| 70 |
+
|
| 71 |
+
- **Short sequences** (7-20 AAs): ~750ms
|
| 72 |
+
- **Long sequences** (140+ AAs): ~1.1s
|
| 73 |
+
- **Performance varies** by hardware and ONNX Runtime providers
|
| 74 |
+
|
| 75 |
+
**Performance Notes:**
|
| 76 |
+
|
| 77 |
+
- **Apple Silicon (M4 Macs)**: PyTorch with MPS backend typically outperforms ONNX CPU inference due to optimized GPU acceleration. Use PyTorch for local M4 development.
|
| 78 |
+
- **NVIDIA GPUs**: ONNX Runtime with CUDA provider is often competitive with or faster than PyTorch for inference, thanks to aggressive graph optimizations and inference-specific tuning.
|
| 79 |
+
- **Deployment**: ONNX provides consistent cross-platform performance and easier production deployment regardless of hardware.
|
| 80 |
+
|
| 81 |
+
## Getting the Model
|
| 82 |
+
|
| 83 |
+
### System Requirements
|
| 84 |
+
|
| 85 |
+
```bash
|
| 86 |
+
pip install onnxruntime transformers
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
### Option 1: Hugging Face CLI (Recommended)
|
| 90 |
+
|
| 91 |
+
[First install huggingface-cli](https://huggingface.co/docs/huggingface_hub/main/en/guides/cli).
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
# Download the model
|
| 95 |
+
huggingface-cli download Rostlab/prot-t5-xl-uniref50-enc-onnx --local-dir ./prot_t5_onnx
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
### Option 2: Git LFS
|
| 99 |
+
|
| 100 |
+
```bash
|
| 101 |
+
# Clone the repository (requires Git LFS for large files)
|
| 102 |
+
git lfs install
|
| 103 |
+
git clone https://huggingface.co/Rostlab/prot-t5-xl-uniref50-enc-onnx
|
| 104 |
+
cd prot-t5-xl-uniref50-enc-onnx
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
## Usage
|
| 108 |
+
|
| 109 |
+
### ONNX Runtime (Recommended)
|
| 110 |
+
|
| 111 |
+
```python
|
| 112 |
+
import onnxruntime as ort
|
| 113 |
+
import numpy as np
|
| 114 |
+
from transformers import T5Tokenizer
|
| 115 |
+
import re
|
| 116 |
+
|
| 117 |
+
# Load tokenizer from local directory (after download)
|
| 118 |
+
tokenizer = T5Tokenizer.from_pretrained("./", do_lower_case=False, legacy=False)
|
| 119 |
+
|
| 120 |
+
# Load ONNX model
|
| 121 |
+
session = ort.InferenceSession("model.onnx")
|
| 122 |
+
|
| 123 |
+
# Example sequences
|
| 124 |
+
sequences = ["PRTEINO", "SEQWENCE"]
|
| 125 |
+
|
| 126 |
+
# Preprocess: replace rare amino acids and add spaces
|
| 127 |
+
sequences = [" ".join(list(re.sub(r"[UZOB]", "X", seq))) for seq in sequences]
|
| 128 |
+
|
| 129 |
+
# Tokenize
|
| 130 |
+
inputs = tokenizer(sequences, return_tensors="np", padding=True, truncation=False)
|
| 131 |
+
|
| 132 |
+
# Run inference
|
| 133 |
+
outputs = session.run(
|
| 134 |
+
None,
|
| 135 |
+
{
|
| 136 |
+
"input_ids": inputs["input_ids"].astype(np.int64),
|
| 137 |
+
"attention_mask": inputs["attention_mask"].astype(np.int64)
|
| 138 |
+
}
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
+
embeddings = outputs[0] # Shape: [batch_size, seq_len, 1024]
|
| 142 |
+
|
| 143 |
+
# Extract per-residue embeddings (removing special tokens)
|
| 144 |
+
emb_0 = embeddings[0, 1:len(sequences[0].split())+1] # First sequence
|
| 145 |
+
emb_1 = embeddings[1, 1:len(sequences[1].split())+1] # Second sequence
|
| 146 |
+
|
| 147 |
+
# Per-protein embeddings (mean pooling)
|
| 148 |
+
protein_emb_0 = np.mean(emb_0, axis=0) # Shape: [1024]
|
| 149 |
+
protein_emb_1 = np.mean(emb_1, axis=0) # Shape: [1024]
|
| 150 |
+
|
| 151 |
+
print(f"Protein 1 embedding shape: {protein_emb_0.shape}")
|
| 152 |
+
print(f"Protein 2 embedding shape: {protein_emb_1.shape}")
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
## Model Architecture
|
| 158 |
+
|
| 159 |
+
- **Base Model**: T5-3B Encoder
|
| 160 |
+
- **Hidden Size**: 1024
|
| 161 |
+
- **Layers**: 24
|
| 162 |
+
- **Attention Heads**: 16
|
| 163 |
+
- **Parameters**: ~1.2B (encoder only)
|
| 164 |
+
- **Precision**: FP16 (half-precision)
|
| 165 |
+
- **Input**: Tokenized amino acid sequences
|
| 166 |
+
- **Output**: Dense embeddings (1024-dimensional)
|
| 167 |
+
|
| 168 |
+
## Training Data
|
| 169 |
+
|
| 170 |
+
Pretrained on UniRef50 containing protein sequences with a BART-like MLM denoising objective:
|
| 171 |
+
|
| 172 |
+
- **Masking**: 15% of amino acids randomly masked
|
| 173 |
+
- **Vocabulary**: 20 standard amino acids + special tokens
|
| 174 |
+
- **Preprocessing**: Rare amino acids (U/Z/O/B) replaced with X
|
| 175 |
+
- **Format**: Space-separated amino acids (required for T5 tokenizer)
|
| 176 |
+
|
| 177 |
+
## Intended Use
|
| 178 |
+
|
| 179 |
+
### Primary Use Cases
|
| 180 |
+
|
| 181 |
+
- **Protein Embeddings**: Generate dense vector representations of proteins
|
| 182 |
+
- **Feature Extraction**: Create features for downstream ML models
|
| 183 |
+
- **Similarity Analysis**: Compute protein sequence similarities
|
| 184 |
+
- **Protein Classification**: As feature extractor for classification tasks
|
| 185 |
+
- **Production Inference**: High-throughput protein processing
|
| 186 |
+
- **Model Deployment**: Optimized inference for serving applications
|
| 187 |
+
|
| 188 |
+
### Limitations
|
| 189 |
+
|
| 190 |
+
- **Uppercase Only**: Requires uppercase amino acid sequences
|
| 191 |
+
- **Memory Requirements**: ~3GB total (model + weights)
|
| 192 |
+
- **Sequence Length**: Optimal for sequences up to 1024 amino acids
|
| 193 |
+
- **Domain**: Limited to natural protein sequences
|
| 194 |
+
|
| 195 |
+
## Repository Contents
|
| 196 |
+
|
| 197 |
+
### Model Files
|
| 198 |
+
|
| 199 |
+
```bash
|
| 200 |
+
├── model.onnx # Main ONNX model (573KB)
|
| 201 |
+
├── shared.weight # Shared parameters (256KB)
|
| 202 |
+
├── onnx__MatMul_[0-143] # External weight matrices (2.25GB total)
|
| 203 |
+
├── spiece.model # SentencePiece tokenizer (238KB)
|
| 204 |
+
├── tokenizer_config.json # Tokenizer configuration
|
| 205 |
+
├── special_tokens_map.json # Special tokens mapping
|
| 206 |
+
└── added_tokens.json # Additional tokens
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
### Scripts
|
| 210 |
+
|
| 211 |
+
```bash
|
| 212 |
+
├── convert.py # ONNX conversion script
|
| 213 |
+
└── test_onnx.py # Model validation and testing
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
## Conversion & Testing Scripts
|
| 217 |
+
|
| 218 |
+
### convert.py
|
| 219 |
+
|
| 220 |
+
Script to convert ProtT5 encoder models to ONNX format:
|
| 221 |
+
|
| 222 |
+
```bash
|
| 223 |
+
# Convert the original model to ONNX
|
| 224 |
+
python convert.py --model_name Rostlab/prot_t5_xl_half_uniref50-enc --output_dir ./prot_t5_onnx
|
| 225 |
+
|
| 226 |
+
# Options:
|
| 227 |
+
# --model_name: Hugging Face model identifier
|
| 228 |
+
# --output_dir: Directory to save converted model
|
| 229 |
+
# --max_sequence_length: Maximum sequence length (default: 1024)
|
| 230 |
+
# --fp16: Use half precision (default: True)
|
| 231 |
+
# --no_fp16: Disable half precision
|
| 232 |
+
```
|
| 233 |
+
|
| 234 |
+
**Features:**
|
| 235 |
+
|
| 236 |
+
- Converts to ONNX opset 14 with dynamic shapes
|
| 237 |
+
- Preserves half-precision (FP16) from original model
|
| 238 |
+
- Exports external weights for large matrices
|
| 239 |
+
- Includes tokenizer files for complete package
|
| 240 |
+
|
| 241 |
+
### test_onnx.py
|
| 242 |
+
|
| 243 |
+
Script to validate ONNX model accuracy and performance:
|
| 244 |
+
|
| 245 |
+
```bash
|
| 246 |
+
# Test the converted model
|
| 247 |
+
python test_onnx.py --onnx_dir ./prot_t5_onnx
|
| 248 |
+
|
| 249 |
+
# Test with custom sequences
|
| 250 |
+
python test_onnx.py --onnx_dir ./prot_t5_onnx --sequences "MKFVPKX" "ACDEFG"
|
| 251 |
+
|
| 252 |
+
# Options:
|
| 253 |
+
# --onnx_dir: Directory containing ONNX model and tokenizer
|
| 254 |
+
# --original_model: Original PyTorch model for comparison
|
| 255 |
+
# --sequences: Custom protein sequences to test
|
| 256 |
+
```
|
| 257 |
+
|
| 258 |
+
**Validation Features:**
|
| 259 |
+
|
| 260 |
+
- **Accuracy Testing**: Compares PyTorch vs ONNX outputs
|
| 261 |
+
- **Performance Benchmarking**: Measures inference speed
|
| 262 |
+
- **Cosine Similarity**: Validates embedding preservation (>99.8%)
|
| 263 |
+
- **Rare Amino Acids**: Tests U/Z/O/B → X replacement
|
| 264 |
+
- **Variable Lengths**: Tests sequences from short to long
|
| 265 |
+
|
| 266 |
+
**Example Output:**
|
| 267 |
+
|
| 268 |
+
```txt
|
| 269 |
+
PROTТ5 ONNX TEST RESULTS
|
| 270 |
+
============================================================
|
| 271 |
+
Accuracy Tests: ✅ PASS
|
| 272 |
+
Average Cosine Similarity: 1.000244
|
| 273 |
+
Maximum Absolute Difference: 0.001953
|
| 274 |
+
|
| 275 |
+
Performance Results:
|
| 276 |
+
PyTorch Average Time: 0.2140s
|
| 277 |
+
ONNX Average Time: 0.1580s
|
| 278 |
+
Speedup: 1.35x
|
| 279 |
+
============================================================
|
| 280 |
+
```
|
| 281 |
+
|
| 282 |
+
## Conversion Process
|
| 283 |
+
|
| 284 |
+
This ONNX model was converted using the following process:
|
| 285 |
+
|
| 286 |
+
1. **Base Model**: `Rostlab/prot_t5_xl_half_uniref50-enc`
|
| 287 |
+
2. **Conversion Tool**: PyTorch → ONNX with optimizations
|
| 288 |
+
3. **Validation**: Comprehensive accuracy testing vs original PyTorch model
|
| 289 |
+
4. **Optimization**: External weights, dynamic shapes, FP16 precision
|
| 290 |
+
|
| 291 |
+
## Citation
|
| 292 |
+
|
| 293 |
+
```bibtex
|
| 294 |
+
@article{Elnaggar2020.07.12.199554,
|
| 295 |
+
author = {Elnaggar, Ahmed and Heinzinger, Michael and Dallago, Christian and Rehawi, Ghalia and Wang, Yu and Jones, Llion and Gibbs, Tom and Feher, Tamas and Angerer, Christoph and Steinegger, Martin and BHOWMIK, DEBSINDHU and Rost, Burkhard},
|
| 296 |
+
title = {ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computing},
|
| 297 |
+
elocation-id = {2020.07.12.199554},
|
| 298 |
+
year = {2020},
|
| 299 |
+
doi = {10.1101/2020.07.12.199554},
|
| 300 |
+
publisher = {Cold Spring Harbor Laboratory},
|
| 301 |
+
journal = {bioRxiv}
|
| 302 |
+
}
|
| 303 |
+
```
|
| 304 |
+
|
| 305 |
+
## License
|
| 306 |
+
|
| 307 |
+
MIT License
|
| 308 |
+
|
| 309 |
+
## Related Models
|
| 310 |
+
|
| 311 |
+
- **Original PyTorch**: [`Rostlab/prot_t5_xl_half_uniref50-enc`](https://huggingface.co/Rostlab/prot_t5_xl_half_uniref50-enc)
|
| 312 |
+
- **Full Precision**: [`Rostlab/prot_t5_xl_uniref50`](https://huggingface.co/Rostlab/prot_t5_xl_uniref50)
|
| 313 |
+
- **Other ProtTrans Models**: [ProtTrans Collection](https://huggingface.co/models?search=prot_t5)
|
| 314 |
+
|
| 315 |
+
## Contact
|
| 316 |
+
|
| 317 |
+
For questions about this ONNX conversion or deployment, please open an issue on the model repository.
|
prot_t5_onnx/added_tokens.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<extra_id_0>": 127,
|
| 3 |
+
"<extra_id_10>": 117,
|
| 4 |
+
"<extra_id_11>": 116,
|
| 5 |
+
"<extra_id_12>": 115,
|
| 6 |
+
"<extra_id_13>": 114,
|
| 7 |
+
"<extra_id_14>": 113,
|
| 8 |
+
"<extra_id_15>": 112,
|
| 9 |
+
"<extra_id_16>": 111,
|
| 10 |
+
"<extra_id_17>": 110,
|
| 11 |
+
"<extra_id_18>": 109,
|
| 12 |
+
"<extra_id_19>": 108,
|
| 13 |
+
"<extra_id_1>": 126,
|
| 14 |
+
"<extra_id_20>": 107,
|
| 15 |
+
"<extra_id_21>": 106,
|
| 16 |
+
"<extra_id_22>": 105,
|
| 17 |
+
"<extra_id_23>": 104,
|
| 18 |
+
"<extra_id_24>": 103,
|
| 19 |
+
"<extra_id_25>": 102,
|
| 20 |
+
"<extra_id_26>": 101,
|
| 21 |
+
"<extra_id_27>": 100,
|
| 22 |
+
"<extra_id_28>": 99,
|
| 23 |
+
"<extra_id_29>": 98,
|
| 24 |
+
"<extra_id_2>": 125,
|
| 25 |
+
"<extra_id_30>": 97,
|
| 26 |
+
"<extra_id_31>": 96,
|
| 27 |
+
"<extra_id_32>": 95,
|
| 28 |
+
"<extra_id_33>": 94,
|
| 29 |
+
"<extra_id_34>": 93,
|
| 30 |
+
"<extra_id_35>": 92,
|
| 31 |
+
"<extra_id_36>": 91,
|
| 32 |
+
"<extra_id_37>": 90,
|
| 33 |
+
"<extra_id_38>": 89,
|
| 34 |
+
"<extra_id_39>": 88,
|
| 35 |
+
"<extra_id_3>": 124,
|
| 36 |
+
"<extra_id_40>": 87,
|
| 37 |
+
"<extra_id_41>": 86,
|
| 38 |
+
"<extra_id_42>": 85,
|
| 39 |
+
"<extra_id_43>": 84,
|
| 40 |
+
"<extra_id_44>": 83,
|
| 41 |
+
"<extra_id_45>": 82,
|
| 42 |
+
"<extra_id_46>": 81,
|
| 43 |
+
"<extra_id_47>": 80,
|
| 44 |
+
"<extra_id_48>": 79,
|
| 45 |
+
"<extra_id_49>": 78,
|
| 46 |
+
"<extra_id_4>": 123,
|
| 47 |
+
"<extra_id_50>": 77,
|
| 48 |
+
"<extra_id_51>": 76,
|
| 49 |
+
"<extra_id_52>": 75,
|
| 50 |
+
"<extra_id_53>": 74,
|
| 51 |
+
"<extra_id_54>": 73,
|
| 52 |
+
"<extra_id_55>": 72,
|
| 53 |
+
"<extra_id_56>": 71,
|
| 54 |
+
"<extra_id_57>": 70,
|
| 55 |
+
"<extra_id_58>": 69,
|
| 56 |
+
"<extra_id_59>": 68,
|
| 57 |
+
"<extra_id_5>": 122,
|
| 58 |
+
"<extra_id_60>": 67,
|
| 59 |
+
"<extra_id_61>": 66,
|
| 60 |
+
"<extra_id_62>": 65,
|
| 61 |
+
"<extra_id_63>": 64,
|
| 62 |
+
"<extra_id_64>": 63,
|
| 63 |
+
"<extra_id_65>": 62,
|
| 64 |
+
"<extra_id_66>": 61,
|
| 65 |
+
"<extra_id_67>": 60,
|
| 66 |
+
"<extra_id_68>": 59,
|
| 67 |
+
"<extra_id_69>": 58,
|
| 68 |
+
"<extra_id_6>": 121,
|
| 69 |
+
"<extra_id_70>": 57,
|
| 70 |
+
"<extra_id_71>": 56,
|
| 71 |
+
"<extra_id_72>": 55,
|
| 72 |
+
"<extra_id_73>": 54,
|
| 73 |
+
"<extra_id_74>": 53,
|
| 74 |
+
"<extra_id_75>": 52,
|
| 75 |
+
"<extra_id_76>": 51,
|
| 76 |
+
"<extra_id_77>": 50,
|
| 77 |
+
"<extra_id_78>": 49,
|
| 78 |
+
"<extra_id_79>": 48,
|
| 79 |
+
"<extra_id_7>": 120,
|
| 80 |
+
"<extra_id_80>": 47,
|
| 81 |
+
"<extra_id_81>": 46,
|
| 82 |
+
"<extra_id_82>": 45,
|
| 83 |
+
"<extra_id_83>": 44,
|
| 84 |
+
"<extra_id_84>": 43,
|
| 85 |
+
"<extra_id_85>": 42,
|
| 86 |
+
"<extra_id_86>": 41,
|
| 87 |
+
"<extra_id_87>": 40,
|
| 88 |
+
"<extra_id_88>": 39,
|
| 89 |
+
"<extra_id_89>": 38,
|
| 90 |
+
"<extra_id_8>": 119,
|
| 91 |
+
"<extra_id_90>": 37,
|
| 92 |
+
"<extra_id_91>": 36,
|
| 93 |
+
"<extra_id_92>": 35,
|
| 94 |
+
"<extra_id_93>": 34,
|
| 95 |
+
"<extra_id_94>": 33,
|
| 96 |
+
"<extra_id_95>": 32,
|
| 97 |
+
"<extra_id_96>": 31,
|
| 98 |
+
"<extra_id_97>": 30,
|
| 99 |
+
"<extra_id_98>": 29,
|
| 100 |
+
"<extra_id_99>": 28,
|
| 101 |
+
"<extra_id_9>": 118
|
| 102 |
+
}
|
prot_t5_onnx/config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["T5EncoderModel"],
|
| 3 |
+
"model_type": "t5",
|
| 4 |
+
"framework": "onnx",
|
| 5 |
+
"onnx": {
|
| 6 |
+
"opset_version": 14,
|
| 7 |
+
"providers": [
|
| 8 |
+
"CoreMLExecutionProvider",
|
| 9 |
+
"CUDAExecutionProvider",
|
| 10 |
+
"CPUExecutionProvider"
|
| 11 |
+
],
|
| 12 |
+
"external_data": true,
|
| 13 |
+
"optimization_level": "all",
|
| 14 |
+
"fp16": true
|
| 15 |
+
},
|
| 16 |
+
"d_ff": 2816,
|
| 17 |
+
"d_kv": 64,
|
| 18 |
+
"d_model": 1024,
|
| 19 |
+
"decoder_start_token_id": 0,
|
| 20 |
+
"dropout_rate": 0.1,
|
| 21 |
+
"eos_token_id": 1,
|
| 22 |
+
"feed_forward_proj": "gated-gelu",
|
| 23 |
+
"initializer_factor": 1.0,
|
| 24 |
+
"is_encoder_decoder": false,
|
| 25 |
+
"layer_norm_epsilon": 1e-06,
|
| 26 |
+
"num_decoder_layers": 24,
|
| 27 |
+
"num_heads": 16,
|
| 28 |
+
"num_layers": 24,
|
| 29 |
+
"pad_token_id": 0,
|
| 30 |
+
"relative_attention_num_buckets": 32,
|
| 31 |
+
"tie_word_embeddings": false,
|
| 32 |
+
"torch_dtype": "float16",
|
| 33 |
+
"transformers_version": "4.21.0",
|
| 34 |
+
"use_cache": false,
|
| 35 |
+
"vocab_size": 32128,
|
| 36 |
+
"task_specific_params": {
|
| 37 |
+
"protein_embedding": {
|
| 38 |
+
"early_stopping": true,
|
| 39 |
+
"length_penalty": 2.0,
|
| 40 |
+
"max_length": 1024,
|
| 41 |
+
"min_length": 1,
|
| 42 |
+
"no_repeat_ngram_size": 3,
|
| 43 |
+
"num_beams": 4,
|
| 44 |
+
"prefix": ""
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"protein_config": {
|
| 48 |
+
"amino_acid_vocab": ["A", "C", "D", "E", "F", "G", "H", "I", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "V", "W", "Y", "X"],
|
| 49 |
+
"rare_amino_acids": ["U", "Z", "O", "B"],
|
| 50 |
+
"replacement_token": "X",
|
| 51 |
+
"sequence_separator": " ",
|
| 52 |
+
"preprocessing": {
|
| 53 |
+
"rare_aa_replacement": true,
|
| 54 |
+
"space_separation": true,
|
| 55 |
+
"uppercase_only": true
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"conversion_info": {
|
| 59 |
+
"source_model": "Rostlab/prot_t5_xl_half_uniref50-enc",
|
| 60 |
+
"conversion_date": "2025-07-27",
|
| 61 |
+
"conversion_tool": "torch.onnx.export",
|
| 62 |
+
"validation_metrics": {
|
| 63 |
+
"avg_cosine_similarity": 1.000244,
|
| 64 |
+
"max_absolute_difference": 0.001953,
|
| 65 |
+
"test_cases_passed": 4
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
}
|
prot_t5_onnx/convert.py
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
ProtT5 Encoder ONNX Conversion Script
|
| 4 |
+
|
| 5 |
+
Converts ProtT5 encoder-only models to ONNX format for optimized inference.
|
| 6 |
+
|
| 7 |
+
Usage:
|
| 8 |
+
python convert.py --model_name Rostlab/prot_t5_xl_half_uniref50-enc --output_dir ./prot_t5_onnx
|
| 9 |
+
|
| 10 |
+
Requirements:
|
| 11 |
+
pip install torch transformers onnx
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
import argparse
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
from typing import Dict
|
| 17 |
+
|
| 18 |
+
import torch
|
| 19 |
+
from transformers import T5EncoderModel, T5Tokenizer
|
| 20 |
+
import logging
|
| 21 |
+
|
| 22 |
+
# Setup logging
|
| 23 |
+
logging.basicConfig(level=logging.INFO)
|
| 24 |
+
logger = logging.getLogger(__name__)
|
| 25 |
+
|
| 26 |
+
class ProtT5EncoderConverter:
|
| 27 |
+
"""
|
| 28 |
+
Convert ProtT5 encoder-only models to ONNX format
|
| 29 |
+
"""
|
| 30 |
+
|
| 31 |
+
def __init__(
|
| 32 |
+
self,
|
| 33 |
+
model_name: str,
|
| 34 |
+
max_sequence_length: int = 1024,
|
| 35 |
+
fp16: bool = True
|
| 36 |
+
):
|
| 37 |
+
"""
|
| 38 |
+
Initialize ProtT5 encoder converter
|
| 39 |
+
|
| 40 |
+
Args:
|
| 41 |
+
model_name: Hugging Face model identifier
|
| 42 |
+
max_sequence_length: Maximum protein sequence length
|
| 43 |
+
fp16: Use half precision (float16)
|
| 44 |
+
"""
|
| 45 |
+
self.model_name = model_name
|
| 46 |
+
self.max_sequence_length = max_sequence_length
|
| 47 |
+
self.fp16 = fp16
|
| 48 |
+
|
| 49 |
+
logger.info(f"Initializing converter for {model_name}")
|
| 50 |
+
|
| 51 |
+
# Load tokenizer and model
|
| 52 |
+
self.tokenizer = T5Tokenizer.from_pretrained(model_name, do_lower_case=False)
|
| 53 |
+
self.model = T5EncoderModel.from_pretrained(model_name)
|
| 54 |
+
self.model.eval()
|
| 55 |
+
|
| 56 |
+
# Convert to half precision if requested
|
| 57 |
+
if self.fp16:
|
| 58 |
+
self.model = self.model.half()
|
| 59 |
+
|
| 60 |
+
def prepare_dummy_inputs(self, batch_size: int = 1, sequence_length: int = 10) -> Dict[str, torch.Tensor]:
|
| 61 |
+
"""
|
| 62 |
+
Prepare dummy inputs for ONNX export tracing
|
| 63 |
+
|
| 64 |
+
Note: These are minimal inputs required by torch.onnx.export() to trace
|
| 65 |
+
the model's execution graph. They don't need to be realistic data.
|
| 66 |
+
|
| 67 |
+
Args:
|
| 68 |
+
batch_size: Number of sequences in batch
|
| 69 |
+
sequence_length: Length of each sequence
|
| 70 |
+
|
| 71 |
+
Returns:
|
| 72 |
+
Dictionary of input tensors with correct shapes/types
|
| 73 |
+
"""
|
| 74 |
+
# Create dummy inputs with appropriate shape
|
| 75 |
+
input_ids = torch.randint(
|
| 76 |
+
0, self.tokenizer.vocab_size,
|
| 77 |
+
(batch_size, sequence_length),
|
| 78 |
+
dtype=torch.long
|
| 79 |
+
)
|
| 80 |
+
attention_mask = torch.ones(
|
| 81 |
+
(batch_size, sequence_length),
|
| 82 |
+
dtype=torch.long
|
| 83 |
+
)
|
| 84 |
+
|
| 85 |
+
return {
|
| 86 |
+
"input_ids": input_ids,
|
| 87 |
+
"attention_mask": attention_mask
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
def export_encoder_onnx(self, output_path: str) -> str:
|
| 91 |
+
"""
|
| 92 |
+
Export encoder model to ONNX
|
| 93 |
+
|
| 94 |
+
Args:
|
| 95 |
+
output_path: Path to save ONNX model
|
| 96 |
+
|
| 97 |
+
Returns:
|
| 98 |
+
Path to exported ONNX model
|
| 99 |
+
"""
|
| 100 |
+
logger.info(f"Exporting encoder to ONNX: {output_path}")
|
| 101 |
+
|
| 102 |
+
# Prepare dummy inputs for export
|
| 103 |
+
dummy_inputs = self.prepare_dummy_inputs()
|
| 104 |
+
|
| 105 |
+
# Export to ONNX
|
| 106 |
+
torch.onnx.export(
|
| 107 |
+
self.model,
|
| 108 |
+
(dummy_inputs['input_ids'], dummy_inputs['attention_mask']),
|
| 109 |
+
output_path,
|
| 110 |
+
export_params=True,
|
| 111 |
+
opset_version=14,
|
| 112 |
+
do_constant_folding=True,
|
| 113 |
+
input_names=['input_ids', 'attention_mask'],
|
| 114 |
+
output_names=['last_hidden_state'],
|
| 115 |
+
dynamic_axes={
|
| 116 |
+
'input_ids': {0: 'batch_size', 1: 'sequence_length'},
|
| 117 |
+
'attention_mask': {0: 'batch_size', 1: 'sequence_length'},
|
| 118 |
+
'last_hidden_state': {0: 'batch_size', 1: 'sequence_length'}
|
| 119 |
+
}
|
| 120 |
+
)
|
| 121 |
+
|
| 122 |
+
logger.info(f"ONNX export completed: {output_path}")
|
| 123 |
+
return output_path
|
| 124 |
+
|
| 125 |
+
def save_tokenizer(self, output_dir: str):
|
| 126 |
+
"""
|
| 127 |
+
Save tokenizer to output directory
|
| 128 |
+
|
| 129 |
+
Args:
|
| 130 |
+
output_dir: Directory to save tokenizer files
|
| 131 |
+
"""
|
| 132 |
+
logger.info(f"Saving tokenizer to {output_dir}")
|
| 133 |
+
self.tokenizer.save_pretrained(output_dir)
|
| 134 |
+
|
| 135 |
+
def convert(self, output_dir: str) -> Dict[str, str]:
|
| 136 |
+
"""
|
| 137 |
+
Convert model and save all components
|
| 138 |
+
|
| 139 |
+
Args:
|
| 140 |
+
output_dir: Directory to save converted model
|
| 141 |
+
|
| 142 |
+
Returns:
|
| 143 |
+
Dictionary with paths to saved files
|
| 144 |
+
"""
|
| 145 |
+
# Create output directory
|
| 146 |
+
output_path = Path(output_dir)
|
| 147 |
+
output_path.mkdir(parents=True, exist_ok=True)
|
| 148 |
+
|
| 149 |
+
logger.info(f"Converting {self.model_name} to ONNX in {output_dir}")
|
| 150 |
+
|
| 151 |
+
# Export ONNX model
|
| 152 |
+
onnx_path = output_path / "model.onnx"
|
| 153 |
+
self.export_encoder_onnx(str(onnx_path))
|
| 154 |
+
|
| 155 |
+
# Save tokenizer
|
| 156 |
+
self.save_tokenizer(output_dir)
|
| 157 |
+
|
| 158 |
+
return {
|
| 159 |
+
"onnx_model": str(onnx_path),
|
| 160 |
+
"tokenizer_dir": output_dir
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
def main():
|
| 164 |
+
"""Main conversion function"""
|
| 165 |
+
parser = argparse.ArgumentParser(description="Convert ProtT5 encoder to ONNX")
|
| 166 |
+
parser.add_argument(
|
| 167 |
+
"--model_name",
|
| 168 |
+
default="Rostlab/prot_t5_xl_half_uniref50-enc",
|
| 169 |
+
help="Hugging Face model name"
|
| 170 |
+
)
|
| 171 |
+
parser.add_argument(
|
| 172 |
+
"--output_dir",
|
| 173 |
+
default="./prot_t5_onnx",
|
| 174 |
+
help="Output directory for converted model"
|
| 175 |
+
)
|
| 176 |
+
parser.add_argument(
|
| 177 |
+
"--max_sequence_length",
|
| 178 |
+
type=int,
|
| 179 |
+
default=1024,
|
| 180 |
+
help="Maximum sequence length"
|
| 181 |
+
)
|
| 182 |
+
parser.add_argument(
|
| 183 |
+
"--fp16",
|
| 184 |
+
action="store_true",
|
| 185 |
+
default=True,
|
| 186 |
+
help="Use half precision (default: True)"
|
| 187 |
+
)
|
| 188 |
+
parser.add_argument(
|
| 189 |
+
"--no_fp16",
|
| 190 |
+
action="store_true",
|
| 191 |
+
help="Disable half precision"
|
| 192 |
+
)
|
| 193 |
+
|
| 194 |
+
args = parser.parse_args()
|
| 195 |
+
|
| 196 |
+
# Handle fp16 flag
|
| 197 |
+
fp16 = args.fp16 and not args.no_fp16
|
| 198 |
+
|
| 199 |
+
# Initialize converter
|
| 200 |
+
converter = ProtT5EncoderConverter(
|
| 201 |
+
model_name=args.model_name,
|
| 202 |
+
max_sequence_length=args.max_sequence_length,
|
| 203 |
+
fp16=fp16
|
| 204 |
+
)
|
| 205 |
+
|
| 206 |
+
# Convert model
|
| 207 |
+
result = converter.convert(args.output_dir)
|
| 208 |
+
|
| 209 |
+
# Print results
|
| 210 |
+
print("\n" + "="*60)
|
| 211 |
+
print("PROTТ5 ONNX CONVERSION COMPLETED")
|
| 212 |
+
print("="*60)
|
| 213 |
+
print(f"Model: {args.model_name}")
|
| 214 |
+
print(f"ONNX Model: {result['onnx_model']}")
|
| 215 |
+
print(f"Tokenizer: {result['tokenizer_dir']}")
|
| 216 |
+
print(f"Half Precision: {fp16}")
|
| 217 |
+
print("="*60)
|
| 218 |
+
|
| 219 |
+
if __name__ == "__main__":
|
| 220 |
+
main()
|
prot_t5_onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09d8bb2198ea34edbc33eaef5badebc44024eec88cc9fb6af46f609a2a368604
|
| 3 |
+
size 586752
|
prot_t5_onnx/onnx__MatMul_3143
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cec79fceadb914495bb227310ff9f54e432eaff48ba5644e62a4caefeff67c7a
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3153
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41bd4553b8d47bd460446f0e4873872d7018f3dab2d1a047f7b6d5968e185624
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3154
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ad3b2c2fd28b5fe97e703b37fd59583a7d8133fcc25f5a5a7eda558de77381f
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3163
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21355da8ea7a12bb2cd500f23ad02e4fcd90f823a51fcd36273ecdf22255cc5e
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3164
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b2e13b2fa6d997ec3415539ac359cec32cf1645d3a41ac082e31791e4863bb2
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3165
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f62249edf2ae650021bb41392a57e4104cc59481b754e83195bbd1d7a5d3f4ed
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3166
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:888b468a2fe55eb6d3325c49069fc421c468439e42564b749d6d59049cd2c54e
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3176
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:178f840d8397326b2149942841998365ce262ede2708310c9f7f82be8eb294c4
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3177
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33cc07da207e673d2dab79125e1b2078fb140e5d8ba7452f96b8b26f04929e6b
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3180
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5340e41b146e47842ab3c9aa369aa06ff29198232938074cf9742dee8e58cd88
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3181
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e749cba15cf7aefc8429251d0229923e555d561a6cd2de1ae1fe189c34cb33f0
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3182
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b11c5975537f771d5367bb04d6261694fd45019fc5c3cbc96320335bdac1788
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3183
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e17310a956f9ede3afb26fae34fb17930ae66d0f061e79997b0090df27c2d3ea
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3193
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c826017488fe4aa99280d9747624b7e5ab33916994a1e6bec044c9b85db0c2f
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3194
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d875ae601b1bf27894c3f64e0e3b26afe79412bc2db537362e023a8637846ab
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3197
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7cb4c1423903bef5a77e487a21b822f772168c751a7cdc3a21e674b0d53460c
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3198
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86a8f518b86846e69dc1f7a58a8100e3db7c6f1aad1e2c8a08852d141ae59512
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3199
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d72327779e39b73a7361c5268b0dd82d6a892db4433724c0676d814da15e3b0
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3200
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36ea96d705fb3fa12862b4247028a8d31a0f434fdbd8e2ca83bda6de49920659
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3210
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:beb9a21af4e5072acd5cb87393f00028a76bfda082f258f138be32b1bfe959c7
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3211
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2ec3bb769c4bc75b029e65a39900ec64de8d205a66def14e9d261eed9127606
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3214
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1023a1d0fffc841e9398935754769e32bc7b22c32569b3b8ba57f783f1e456db
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3215
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b357bb01bf999fa77d92d625d19cda060a3e3d2429ef060eac7b128ff41bd2
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3216
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70f56c49a668cc6b6beeeb1e2d02456682d3125b76aeef662c9ca86ddaebb1de
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3217
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9892318894411b111069fe6397a20a2421dce1fc402c3ea465fbbbeee6ceb87f
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3227
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68c3e4367ca534355e03f8bc49c6cfefeb62e5e8f94bd11f48286f3654dc1a08
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3228
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96a58980d1d95fdf0d1ef3b78b9110516ac8aef41b56083314d50bb8cd8cef2c
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3231
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f5cca87ee26f28ef31be2dfe0723421738c16609da0b7984e7438f51a91e5e7
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3232
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa15925a3eef148e60ecbdefa32612c31cdd0254629b31bfd1b07c8874dfc53b
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3233
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa8799bbede0a7429dbef2d9c3ea79e997e3baffe6b15540c4da59b8cb83667c
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3234
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f0625e5ff1409037df076ca2e1eb7572f96d28187f018c7a2b046316b2f95cb
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3244
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b0d2f3a05e7376f6784cb7796c3d0e31fbe4f4c40e2b4833efa7b5603210530
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3245
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d39474defcf9d9ba21ca20355ee2e2d5e4d079e212a7d595330c77969f5ae31
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3248
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32ba673672734e8484782164fd659f9dddf8658f48a65da65d63004e69881667
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3249
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ef8df0b58142651bb9cace71b5b7f5fa2c57d5ec4369c12ef41e1f16f054beb
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3250
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab882ce03b14d9bf50f68750e5fb55c9506fdc118f12447fb7e62149facf989f
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3251
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:579607147036a22f32fd817596e4f23dfc952292bef4ed5dcc3170b4a69453b7
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3261
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fcbf841a6e8691d17ccc999f887806caaa393bb5aed1314a27178a8f41d446e
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3262
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae1d669bb536063659b19f4a47224f6fbfcb22b68eb454757a5a0a354df71578
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3265
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71eae015a00eacafa6b81961754d08fa8180ff49e09844ec01e3e6dad6e553a4
|
| 3 |
+
size 8388608
|
prot_t5_onnx/onnx__MatMul_3266
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddc1b14ec67e43e597aadc127327fae8524946f4dc01f61cbe3b03527b359258
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3267
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:185d2c151c46e8daeae6a6fc2c857a6e3c4c05ce1b5d679db8916202a0d47001
|
| 3 |
+
size 33554432
|
prot_t5_onnx/onnx__MatMul_3268
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:484e289d4edc7f81711d79319a022ded52977a8ef76d910615aa47384199ac98
|
| 3 |
+
size 8388608
|