Description
Pretrained DistilBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert1distilbert_base_uncased_finetuned_cola_pipeline
is a English model originally trained by NereuS28.
How to use
pipeline = PretrainedPipeline("bert1distilbert_base_uncased_finetuned_cola_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("bert1distilbert_base_uncased_finetuned_cola_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
Model Name: | bert1distilbert_base_uncased_finetuned_cola_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.1+ |
License: | Open Source |
Edition: | Official |
Language: | en |
Size: | 249.5 MB |
References
https://huggingface.co/NereuS28/BERT1distilbert-base-uncased-finetuned-cola
Included Models
- DocumentAssembler
- TokenizerModel
- DistilBertForSequenceClassification