Catalan, Valencian prof_ner_cat_v1_pipeline pipeline RoBertaForTokenClassification from BSC-NLP4BIA

Description

Pretrained RoBertaForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.prof_ner_cat_v1_pipeline is a Catalan, Valencian model originally trained by BSC-NLP4BIA.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("prof_ner_cat_v1_pipeline", lang = "ca")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("prof_ner_cat_v1_pipeline", lang = "ca")
val annotations = pipeline.transform(df)

Model Information

Model Name: prof_ner_cat_v1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: ca
Size: 443.0 MB

References

https://huggingface.co/BSC-NLP4BIA/prof-ner-cat-v1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForTokenClassification