Catalan, Valencian disease_ner_cat_v0_pipeline pipeline RoBertaForTokenClassification from BSC-NLP4BIA

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/BSC-NLP4BIA/disease-ner-cat-v0

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForTokenClassification