Italian bert_political_leaning_italian_pipeline pipeline BertForSequenceClassification from MattiaSangermano

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert_political_leaning_italian_pipeline is a Italian model originally trained by MattiaSangermano.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("bert_political_leaning_italian_pipeline", lang = "it")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("bert_political_leaning_italian_pipeline", lang = "it")
val annotations = pipeline.transform(df)

Model Information

Model Name: bert_political_leaning_italian_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: it
Size: 414.9 MB

References

https://huggingface.co/MattiaSangermano/bert-political-leaning-it

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification