Legal NLP Releases Law Stack Exchange Classifier, Subpoena NER and more
John Snow Labs
AUGUST 9, 2023
To use the model, simply download it from Spark NLP Models Hub on your pipeline: sequenceClassifier = ( legal.BertForSequenceClassification.pretrained( "legclf_law_stack_exchange", "en", "legal/models" ).setInputCols(["document", setOutputCol("class") ) With the model, questions can be categorized.
Let's personalize your content