Instructions to use language-ml-lab/classification-azb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use language-ml-lab/classification-azb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="language-ml-lab/classification-azb")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("language-ml-lab/classification-azb") model = AutoModelForSequenceClassification.from_pretrained("language-ml-lab/classification-azb") - Notebooks
- Google Colab
- Kaggle
Commit ·
3d41347
1
Parent(s): 9be28a5
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
"layer_norm_eps": 1e-12,
|
| 27 |
"mask_token": "[MASK]",
|
| 28 |
"max_len": 64,
|
| 29 |
-
"max_position_embeddings":
|
| 30 |
"model_max_length": 64,
|
| 31 |
"model_type": "bert",
|
| 32 |
"num_attention_heads": 12,
|
|
|
|
| 26 |
"layer_norm_eps": 1e-12,
|
| 27 |
"mask_token": "[MASK]",
|
| 28 |
"max_len": 64,
|
| 29 |
+
"max_position_embeddings": 64,
|
| 30 |
"model_max_length": 64,
|
| 31 |
"model_type": "bert",
|
| 32 |
"num_attention_heads": 12,
|