Thai typhoon2_safety_preview_pipeline pipeline DeBertaForSequenceClassification from scb10x

Description

Pretrained DeBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.typhoon2_safety_preview_pipeline is a Thai model originally trained by scb10x.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("typhoon2_safety_preview_pipeline", lang = "th")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("typhoon2_safety_preview_pipeline", lang = "th")
val annotations = pipeline.transform(df)

Model Information

Model Name: typhoon2_safety_preview_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: th
Size: 921.6 MB

References

https://huggingface.co/scb10x/typhoon2-safety-preview

Included Models

  • DocumentAssembler
  • TokenizerModel
  • DeBertaForSequenceClassification