Description
Pretrained DeBertaForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.mdeberta_base_metaphor_detection_spanish_pipeline is a Castilian, Spanish model originally trained by HiTZ.
How to use
pipeline = PretrainedPipeline("mdeberta_base_metaphor_detection_spanish_pipeline", lang = "es")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("mdeberta_base_metaphor_detection_spanish_pipeline", lang = "es")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | mdeberta_base_metaphor_detection_spanish_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | es |
| Size: | 846.8 MB |
References
https://huggingface.co/HiTZ/mdeberta-base-metaphor-detection-es
Included Models
- DocumentAssembler
- TokenizerModel
- DeBertaForTokenClassification