Instructions to use HiTZ/deberta-base-metaphor-detection-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/deberta-base-metaphor-detection-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="HiTZ/deberta-base-metaphor-detection-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("HiTZ/deberta-base-metaphor-detection-en") model = AutoModelForTokenClassification.from_pretrained("HiTZ/deberta-base-metaphor-detection-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
Verified signature3e074ec -
Update config.json
Verified signatureb6fc3a0
-
Update README.md
Verified signaturee5c171e -
Upload 9 files
Verified signaturec843e6e -
initial commit
Verified signaturec597f4f