Description
Pretrained DistilBertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.human_vs_llm_generated_text_detection_distilbert_dima806_pipeline is a English model originally trained by dima806.
How to use
pipeline = PretrainedPipeline("human_vs_llm_generated_text_detection_distilbert_dima806_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("human_vs_llm_generated_text_detection_distilbert_dima806_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | human_vs_llm_generated_text_detection_distilbert_dima806_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.4.2+ |
| License: | Open Source |
| Edition: | Official |
| Language: | en |
| Size: | 246.2 MB |
References
https://huggingface.co/dima806/human-vs-llm-generated-text-detection-distilbert
Included Models
- DocumentAssembler
- TokenizerModel
- DistilBertForSequenceClassification