French monobert_legal_french_pipeline pipeline CamemBertForSequenceClassification from maastrichtlawtech

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

Model Name: monobert_legal_french_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fr
Size: 415.0 MB

References

https://huggingface.co/maastrichtlawtech/monobert-legal-french

Included Models

  • DocumentAssembler
  • TokenizerModel
  • CamemBertForSequenceClassification