Galician gpt2_galician_pipeline pipeline GPT2Transformer from fpuentes

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("gpt2_galician_pipeline", lang = "gl")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("gpt2_galician_pipeline", lang = "gl")
val annotations = pipeline.transform(df)

Model Information

Model Name: gpt2_galician_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: gl
Size: 466.8 MB

References

https://huggingface.co/fpuentes/gpt2-galician

Included Models

  • DocumentAssembler
  • GPT2Transformer