Thai thaig2p_v2_0_pipeline pipeline MarianTransformer from pythainlp

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: thaig2p_v2_0_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: th
Size: 196.9 MB

References

https://huggingface.co/pythainlp/thaig2p-v2.0

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • MarianTransformer