Instructions to use tokeron/alephbert-finetuned-metaphor-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tokeron/alephbert-finetuned-metaphor-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tokeron/alephbert-finetuned-metaphor-detection")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tokeron/alephbert-finetuned-metaphor-detection") model = AutoModelForTokenClassification.from_pretrained("tokeron/alephbert-finetuned-metaphor-detection") - Notebooks
- Google Colab
- Kaggle
This is a token-classification model. This model is AlephBert fine-tuned on detecting metaphors from Hebrew Piyutim
model-index:
- name: tokeron/alephbert-finetuned-metaphor-detection results: []
model
This model fine-tunes onlplab/alephbert-base model on Piyutim dataset.
About Us
Created by Michael Toker in collaboration with Yonatan Belinkov, Benny Kornfeld, Oren Mishali, and Ophir Münz-Manor. For more cooperation, please contact email: tok@campus.technion.ac.il
- Downloads last month
- 10