Instructions to use dragonSwing/xlm-roberta-capu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dragonSwing/xlm-roberta-capu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="dragonSwing/xlm-roberta-capu")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("dragonSwing/xlm-roberta-capu") model = AutoModel.from_pretrained("dragonSwing/xlm-roberta-capu") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "Seq2LabelsModel" | |
| ], | |
| "initializer_range": 0.02, | |
| "label_smoothing": 0.0, | |
| "load_pretrained": false, | |
| "model_type": "bert", | |
| "num_detect_classes": 4, | |
| "pad_token_id": 0, | |
| "predictor_dropout": 0.0, | |
| "pretrained_name_or_path": "xlm-roberta-base", | |
| "special_tokens_fix": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.18.0", | |
| "use_cache": true, | |
| "vocab_size": 15 | |
| } | |