Persian persian_poem_classifier_pipeline pipeline AlbertForSequenceClassification from jrazi

Description

Pretrained AlbertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.persian_poem_classifier_pipeline is a Persian model originally trained by jrazi.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("persian_poem_classifier_pipeline", lang = "fa")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("persian_poem_classifier_pipeline", lang = "fa")
val annotations = pipeline.transform(df)

Model Information

Model Name: persian_poem_classifier_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: fa
Size: 44.1 MB

References

https://huggingface.co/jrazi/persian-poem-classifier

Included Models

  • DocumentAssembler
  • TokenizerModel
  • AlbertForSequenceClassification