Instructions to use HiTZ/xlm-roberta-large-metaphor-detection-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/xlm-roberta-large-metaphor-detection-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="HiTZ/xlm-roberta-large-metaphor-detection-en")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("HiTZ/xlm-roberta-large-metaphor-detection-en") model = AutoModelForTokenClassification.from_pretrained("HiTZ/xlm-roberta-large-metaphor-detection-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a90b290967567884193079030f73ac04eb31d0ae8640719c3e70504fc0a0ecc8
- Size of remote file:
- 3.31 kB
- SHA256:
- e9bf497afbb89a829244609804a72cf2acc6b079da90fc77cf53eb4c66cfd685
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.