Run this model with HF Jobs
Run CreativeLang/metaphor_detection_roberta_seq on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CreativeLang/metaphor_detection_roberta_seq. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CreativeLang/metaphor_detection_roberta_seq on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use CreativeLang/metaphor_detection_roberta_seq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CreativeLang/metaphor_detection_roberta_seq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="CreativeLang/metaphor_detection_roberta_seq")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("CreativeLang/metaphor_detection_roberta_seq") model = AutoModelForTokenClassification.from_pretrained("CreativeLang/metaphor_detection_roberta_seq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files32 unmodified lines33343536373832 unmodified linesFor the details of this model and the dataset used, we refer you to the release [paper](https://aclanthology.org/2023.eacl-main.114.pdf).### Citation InformationIf you find this dataset helpful, please cite:32 unmodified lines3334353637383940414243444546474849505152535432 unmodified linesFor the details of this model and the dataset used, we refer you to the release [paper](https://aclanthology.org/2023.eacl-main.114.pdf).## Metrics| Metric | Value ||----------------------------------|--------------------------|| eval_loss | 0.2656 || eval_accuracy_score | 0.9142 || eval_precision | 0.9142 || eval_recall | 0.9142 || eval_f1 | 0.9142 || eval_f1_macro | 0.7315 || eval_runtime | 8.9802 || eval_samples_per_second | 411.7960 || eval_steps_per_second | 51.5580 || epoch | 3.0000 |### Citation InformationIf you find this dataset helpful, please cite:
README.md+16