Czech czegpt_2_pipeline pipeline GPT2Transformer from MU-NLPC

Description

Pretrained GPT2Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.czegpt_2_pipeline is a Czech model originally trained by MU-NLPC.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("czegpt_2_pipeline", lang = "cs")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("czegpt_2_pipeline", lang = "cs")
val annotations = pipeline.transform(df)

Model Information

Model Name: czegpt_2_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: cs
Size: 299.1 MB

References

https://huggingface.co/MU-NLPC/CzeGPT-2

Included Models

  • DocumentAssembler
  • GPT2Transformer