Indonesian gpt2_small_indonesian_522m_pipeline pipeline GPT2Transformer from cahya

Description

Pretrained GPT2Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.gpt2_small_indonesian_522m_pipeline is a Indonesian model originally trained by cahya.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("gpt2_small_indonesian_522m_pipeline", lang = "id")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("gpt2_small_indonesian_522m_pipeline", lang = "id")
val annotations = pipeline.transform(df)

Model Information

Model Name: gpt2_small_indonesian_522m_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: id
Size: 467.3 MB

References

https://huggingface.co/cahya/gpt2-small-indonesian-522M

Included Models

  • DocumentAssembler
  • GPT2Transformer