Finnish gpt2_finnish_pipeline pipeline GPT2Transformer from Finnish-NLP

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("gpt2_finnish_pipeline", lang = "fi")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("gpt2_finnish_pipeline", lang = "fi")
val annotations = pipeline.transform(df)

Model Information

Model Name: gpt2_finnish_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: fi
Size: 466.7 MB

References

https://huggingface.co/Finnish-NLP/gpt2-finnish

Included Models

  • DocumentAssembler
  • GPT2Transformer