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")# 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
Upload RobertaForTokenClassification
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 496296301
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31bae1548be0a958298baf16cd218bd33fcad9298719e3544b19c2b069e863ef
|
| 3 |
size 496296301
|