Instructions to use AlanRobotics/rubert-siamese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlanRobotics/rubert-siamese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AlanRobotics/rubert-siamese", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AlanRobotics/rubert-siamese", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
02a43b1
1
Parent(s): 38534c1
Upload model
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -3,8 +3,7 @@
|
|
| 3 |
"SiamseNNModel"
|
| 4 |
],
|
| 5 |
"auto_map": {
|
| 6 |
-
"
|
| 7 |
-
"AutoModel": "modeling_siamese.SiamseNNModel"
|
| 8 |
},
|
| 9 |
"model_type": "AutoModel",
|
| 10 |
"torch_dtype": "float32",
|
|
|
|
| 3 |
"SiamseNNModel"
|
| 4 |
],
|
| 5 |
"auto_map": {
|
| 6 |
+
"AutoModel": "configuration_siamese.SiameseConfig"
|
|
|
|
| 7 |
},
|
| 8 |
"model_type": "AutoModel",
|
| 9 |
"torch_dtype": "float32",
|