German gerpt2_pipeline pipeline GPT2Transformer from benjamin

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("gerpt2_pipeline", lang = "de")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("gerpt2_pipeline", lang = "de")
val annotations = pipeline.transform(df)

Model Information

Model Name: gerpt2_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: de
Size: 303.1 MB

References

https://huggingface.co/benjamin/gerpt2

Included Models

  • DocumentAssembler
  • GPT2Transformer