Instructions to use ZealPyae/linksDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZealPyae/linksDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ZealPyae/linksDetection")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ZealPyae/linksDetection", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|
| 24 |
-
"model_type": "
|
| 25 |
"num_attention_heads": 8,
|
| 26 |
"num_hidden_layers": 1,
|
| 27 |
"pad_token_id": 0,
|
|
|
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|
| 24 |
+
"model_type": "bert",
|
| 25 |
"num_attention_heads": 8,
|
| 26 |
"num_hidden_layers": 1,
|
| 27 |
"pad_token_id": 0,
|