Instructions to use benjamin/wtp-canine-s-3l with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use benjamin/wtp-canine-s-3l with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="benjamin/wtp-canine-s-3l")# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("benjamin/wtp-canine-s-3l", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"LACanineForTokenClassification"
|
| 4 |
],
|
|
|
|
| 5 |
"attention_probs_dropout_prob": 0.1,
|
| 6 |
"bos_token_id": 57344,
|
| 7 |
"bottleneck_factor": 2,
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"LACanineForTokenClassification"
|
| 4 |
],
|
| 5 |
+
"mixture_name": "wtp-canine-s-3l",
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 57344,
|
| 8 |
"bottleneck_factor": 2,
|