French gpt2_french_small_pipeline pipeline GPT2Transformer from dbddv01

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("gpt2_french_small_pipeline", lang = "fr")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("gpt2_french_small_pipeline", lang = "fr")
val annotations = pipeline.transform(df)

Model Information

Model Name: gpt2_french_small_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: fr
Size: 467.9 MB

References

https://huggingface.co/dbddv01/gpt2-french-small

Included Models

  • DocumentAssembler
  • GPT2Transformer