Catalan, Valencian drug_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.drug_ner_cat_v0_pipeline is a Catalan, Valencian model originally trained by BSC-NLP4BIA.

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: drug_ner_cat_v0_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: ca
Size: 436.2 MB

References

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

Included Models

  • DocumentAssembler
  • TokenizerModel
  • RoBertaForTokenClassification