Description
Pretrained RoBertaForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.cogumelo_hallucinations_detector_roberta_base_pipeline is a English model originally trained by shroom-semeval25.
How to use
pipeline = PretrainedPipeline("cogumelo_hallucinations_detector_roberta_base_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("cogumelo_hallucinations_detector_roberta_base_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | cogumelo_hallucinations_detector_roberta_base_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | en |
| Size: | 459.9 MB |
References
https://huggingface.co/shroom-semeval25/cogumelo-hallucinations-detector-roberta-base
Included Models
- DocumentAssembler
- TokenizerModel
- RoBertaForTokenClassification