-
Notifications
You must be signed in to change notification settings - Fork 734
Spark NLP 5.2.0: Introducing a Zero-Shot Image Classification by CLIP, ONNX support for T5, Marian, and CamemBERT, a new Text Splitter annotator, Over 8000 state-of-the-art Transformer Models in ONNX, bug fixes, and more! #14087
-
🎉 Celebrating 80 Million Downloads on PyPI - A Spark NLP Milestone! 🚀We are thrilled to announce that Spark NLP has reached a remarkable milestone of 80 million downloads on PyPI! This achievement is a testament to the strength and dedication of our community. A heartfelt thank you to each and every one of you who has contributed, used, and supported Spark NLP. Your invaluable feedback, contributions, and enthusiasm have played a crucial role in evolving Spark NLP into an award-winning, production-ready, and scalable open-source NLP library. As we celebrate this milestone, we're also excited to announce the release of Spark NLP 5.2.0! This new version marks another step forward in our journey, new features, improved performance, bug fixes, and extending our Models Hub to 30,000 open-source and forever free models with 8000 new state-of-the-art language models in 5.2.0 release. Here's to many more milestones, breakthroughs, and advancements! 🌟 🔥 New Features & Enhancements
As always, we made this feature super easy and scalable: image_assembler = ImageAssembler() \ .setInputCol("image") \ .setOutputCol("image_assembler") labels = [ "a photo of a bird", "a photo of a cat", "a photo of a dog", "a photo of a hen", "a photo of a hippo", "a photo of a room", "a photo of a tractor", "a photo of an ostrich", "a photo of an ox", ] image_captioning = CLIPForZeroShotClassification \ .pretrained() \ .setInputCols(["image_assembler"]) \ .setOutputCol("label") \ .setCandidateLabels(labels)
🐛 Bug Fixes
i️ Known Issues
💾 ModelsSpark NLP 5.2.0 comes with more than 8000+ new state-of-the-art pretrained transformer models in multi-languages. The complete list of all 30000+ models & pipelines in 230+ languages is available on Models Hub📓 New Notebooks
📖 Documentation
❤️ Community support
InstallationPython #PyPI
pip install spark-nlp==5.2.0Spark Packages spark-nlp on Apache Spark 3.0.x, 3.1.x, 3.2.x, 3.3.x, and 3.4.x (Scala 2.12): spark-shell --packages com.johnsnowlabs.nlp:spark-nlp_2.12:5.2.0 pyspark --packages com.johnsnowlabs.nlp:spark-nlp_2.12:5.2.0 GPU spark-shell --packages com.johnsnowlabs.nlp:spark-nlp-gpu_2.12:5.2.0 pyspark --packages com.johnsnowlabs.nlp:spark-nlp-gpu_2.12:5.2.0 Apple Silicon (M1 & M2) spark-shell --packages com.johnsnowlabs.nlp:spark-nlp-silicon_2.12:5.2.0 pyspark --packages com.johnsnowlabs.nlp:spark-nlp-silicon_2.12:5.2.0 AArch64 spark-shell --packages com.johnsnowlabs.nlp:spark-nlp-aarch64_2.12:5.2.0 pyspark --packages com.johnsnowlabs.nlp:spark-nlp-aarch64_2.12:5.2.0 Maven spark-nlp on Apache Spark 3.0.x, 3.1.x, 3.2.x, 3.3.x, and 3.4.x: <dependency> <groupId>com.johnsnowlabs.nlp</groupId> <artifactId>spark-nlp_2.12</artifactId> <version>5.2.0</version> </dependency> spark-nlp-gpu: <dependency> <groupId>com.johnsnowlabs.nlp</groupId> <artifactId>spark-nlp-gpu_2.12</artifactId> <version>5.2.0</version> </dependency> spark-nlp-silicon: <dependency> <groupId>com.johnsnowlabs.nlp</groupId> <artifactId>spark-nlp-silicon_2.12</artifactId> <version>5.2.0</version> </dependency> spark-nlp-aarch64: <dependency> <groupId>com.johnsnowlabs.nlp</groupId> <artifactId>spark-nlp-aarch64_2.12</artifactId> <version>5.2.0</version> </dependency> FAT JARs
What's Changed
New Contributors
Full Changelog: 5.1.4...5.2.0 |
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 2