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:
- cfc36243a7217d07ff97a1a4783967f5ec45f518a81e55477bf1fd99b786b772
- Size of remote file:
- 2.24 GB
- SHA256:
- 554c5538acc9772548f6755c26e33b772b7b3abd67bdd22183199104eaf43eb0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.