Thai thainer_corpus_v2_base_model_pipeline pipeline CamemBertForTokenClassification from pythainlp

Description

Pretrained CamemBertForTokenClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.thainer_corpus_v2_base_model_pipeline is a Thai model originally trained by pythainlp.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("thainer_corpus_v2_base_model_pipeline", lang = "th")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("thainer_corpus_v2_base_model_pipeline", lang = "th")
val annotations = pipeline.transform(df)

Model Information

Model Name: thainer_corpus_v2_base_model_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: th
Size: 392.3 MB

References

https://huggingface.co/pythainlp/thainer-corpus-v2-base-model

Included Models

  • DocumentAssembler
  • TokenizerModel
  • CamemBertForTokenClassification