Skip to content

Commit

Permalink
2024-07-16-snowflake_artic_m_en (#14352)
Browse files Browse the repository at this point in the history
* Add model 2024-08-12-t5_small_codesearchnet_python_stripped_pipeline_en

* Add model 2024-08-12-t5_small_codesearchnet_python_stripped_en

* Add model 2024-08-12-flan_t5_large_qr_pipeline_en

* Add model 2024-08-12-t5_60m_poli_aff_2020_en

* Add model 2024-08-12-ptt5_xlsumm_temario_en

* Add model 2024-08-12-t5_base_finetuned_spanish_tonga_tonga_islands_cbv_en

* Add model 2024-08-12-t5_base_daily_dialog_finetuned_en

* Add model 2024-08-12-t5_base_daily_dialog_finetuned_pipeline_en

* Add model 2024-08-12-augmented_data_with_edge_document_level_t5_run3_sheoran95_pipeline_en

* Add model 2024-08-12-t5_base_finetuned_spanish_tonga_tonga_islands_cbv_pipeline_en

* Add model 2024-08-12-ptt5_xlsumm_temario_pipeline_en

* Add model 2024-08-12-aaa_sql_v3_en

* Add model 2024-08-12-aaa_sql_v3_pipeline_en

* Add model 2024-08-12-burmese_awesome_opus_books_model_sankn123_en

* Add model 2024-08-12-burmese_awesome_opus_books_model_sankn123_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_english_tonga_tonga_islands_romanian_singhajeet13_en

* Add model 2024-08-12-t5_small_finetuned_english_tonga_tonga_islands_romanian_singhajeet13_pipeline_en

* Add model 2024-08-12-burmese_awesome_third_model_en

* Add model 2024-08-12-burmese_awesome_third_model_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_chauhanvipul_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_chauhanvipul_en

* Add model 2024-08-12-mt5_small_esquad_qg_trimmed_spanish_10000_en

* Add model 2024-08-12-mt5_small_esquad_qg_trimmed_spanish_10000_pipeline_en

* Add model 2024-08-12-augmented_data_with_edge_document_level_t5_run3_sheoran95_en

* Add model 2024-08-12-real_prompt_100_500syn_problem_gen_t5_small_en

* Add model 2024-08-12-real_prompt_100_500syn_problem_gen_t5_small_pipeline_en

* Add model 2024-08-12-mt5_base_qg_afrikaans_oficial_en

* Add model 2024-08-12-distilled_mt5_small_b0_75_en

* Add model 2024-08-12-distilled_mt5_small_b0_75_pipeline_en

* Add model 2024-08-12-20240516_8_en

* Add model 2024-08-12-20240516_8_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_samsum_nour33_en

* Add model 2024-08-12-t5_small_finetuned_samsum_nour33_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_eamar_en

* Add model 2024-08-12-flan_t5_base_finetuned_smcp_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_eamar_pipeline_en

* Add model 2024-08-12-flan_t5_base_finetuned_smcp_pipeline_en

* Add model 2024-08-12-kltn_coqe_vit5_pasol_v5_en

* Add model 2024-08-12-kltn_coqe_vit5_pasol_v5_pipeline_en

* Add model 2024-08-12-translation_0_en

* Add model 2024-08-12-mt5_base_korquad_en

* Add model 2024-08-12-vit5_base_vietnews_summarization_finetuned_vn_anhmanucian190302_en

* Add model 2024-08-12-vit5_base_vietnews_summarization_finetuned_vn_anhmanucian190302_pipeline_en

* Add model 2024-08-12-translation_0_pipeline_en

* Add model 2024-08-12-t5_cnndm_jvelja_en

* Add model 2024-08-12-mt5_base_korquad_pipeline_en

* Add model 2024-08-12-t5_cnndm_jvelja_pipeline_en

* Add model 2024-08-12-cs505_coqe_vit5_train_instructionn4_spoal_v1_en

* Add model 2024-08-12-cs505_coqe_vit5_train_instructionn4_spoal_v1_pipeline_en

* Add model 2024-08-12-flan_t5_base_v1_en

* Add model 2024-08-12-flan_t5_base_v1_pipeline_en

* Add model 2024-08-12-t5_end2end_questions_generation_koundinya_atchyutuni_en

* Add model 2024-08-12-t5_end2end_questions_generation_koundinya_atchyutuni_pipeline_en

* Add model 2024-08-12-kurdish_t5_base_finetuned_rudaw_kurdish_512_128_en

* Add model 2024-08-12-kurdish_t5_base_finetuned_rudaw_kurdish_512_128_pipeline_en

* Add model 2024-08-12-flan_t5_base_flashcards_en

* Add model 2024-08-12-t5_base_summarization_nytkng_en

* Add model 2024-08-12-flan_t5_base_flashcards_pipeline_en

* Add model 2024-08-12-finetuned_baseline_27_unchurned_en

* Add model 2024-08-12-finetuned_baseline_27_unchurned_pipeline_en

* Add model 2024-08-12-t5_base_summarization_nytkng_pipeline_en

* Add model 2024-08-12-alqalam_en

* Add model 2024-08-12-alqalam_pipeline_en

* Add model 2024-08-12-turkmen_instruct_squad_small_4_en

* Add model 2024-08-12-turkmen_instruct_squad_small_4_pipeline_en

* Add model 2024-08-12-t5_base_bt5_khanq_eduqg_en

* Add model 2024-08-12-t5_base_bt5_khanq_eduqg_pipeline_en

* Add model 2024-08-12-astromer_v2_en

* Add model 2024-08-12-astromer_v2_pipeline_en

* Add model 2024-08-12-t5large_tweet_emotion_adv_compress_gpt3_1_en

* Add model 2024-08-12-flan_t5_large_extraction_cnndm_20000_all_en

* Add model 2024-08-12-flan_t5_large_extraction_cnndm_20000_all_pipeline_en

* Add model 2024-08-12-t5large_tweet_emotion_adv_compress_gpt3_1_pipeline_en

* Add model 2024-08-12-kltn_coqe_vit5_total_spaol_v4_en

* Add model 2024-08-12-t5_base_squadshifts_nepal_bhasa_wiki_qg_en

* Add model 2024-08-12-t5_base_squadshifts_nepal_bhasa_wiki_qg_pipeline_en

* Add model 2024-08-12-cs505_coqe_vit5_train_instructionn4_psoal_v1_en

* Add model 2024-08-12-cs505_coqe_vit5_train_instructionn4_psoal_v1_pipeline_en

* Add model 2024-08-12-preasm_large_numglue_en

* Add model 2024-08-12-paraphrase_tool_en

* Add model 2024-08-12-paraphrase_tool_pipeline_en

* Add model 2024-08-12-vit5_base_vietnews_summarization_finetuned_vn_halamdoan_en

* Add model 2024-08-12-preasm_large_numglue_pipeline_en

* Add model 2024-08-12-vit5_base_vietnews_summarization_finetuned_vn_halamdoan_pipeline_en

* Add model 2024-08-12-ai_chaperone_pipeline_en

* Add model 2024-08-12-ai_chaperone_en

* Add model 2024-08-12-flan_t5_small_asap_t5_f2_prompt_adherence_en

* Add model 2024-08-12-flan_t5_small_asap_t5_f2_prompt_adherence_pipeline_en

* Add model 2024-08-12-meetings_summaries__t5_base_en

* Add model 2024-08-12-base_nku_mgku_202_pipeline_en

* Add model 2024-08-12-base_nku_mgku_202_en

* Add model 2024-08-12-meetings_summaries__t5_base_pipeline_en

* Add model 2024-08-12-flan_t5_base_master_final_l_en

* Add model 2024-08-12-flan_t5_base_master_final_l_pipeline_en

* Add model 2024-08-12-mt5_small_trimmed_french_10000_frquad_qa_fr

* Add model 2024-08-12-mt5_small_trimmed_french_10000_frquad_qa_pipeline_fr

* Add model 2024-08-12-t5_model_sammanamgain_en

* Add model 2024-08-12-cs505_coqe_vit5_total_instruction4_pasol_v1_en

* Add model 2024-08-12-t5_model_sammanamgain_pipeline_en

* Add model 2024-08-12-cs505_coqe_vit5_total_instruction4_pasol_v1_pipeline_en

* Add model 2024-08-12-t5large_trec_coarse_rare_word_cf_2_en

* Add model 2024-08-12-t5large_trec_coarse_rare_word_cf_2_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_mt5_small_v1_en

* Add model 2024-08-12-vietnamese_t5_base_finetune_rewriter_4_epochs_en

* Add model 2024-08-12-vietnamese_t5_base_finetune_rewriter_4_epochs_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_mt5_small_v1_pipeline_en

* Add model 2024-08-12-k2t_russian_03_en

* Add model 2024-08-12-k2t_russian_03_pipeline_en

* Add model 2024-08-12-t5_generacion_titulos_en

* Add model 2024-08-12-t5_generacion_titulos_pipeline_en

* Add model 2024-08-12-bio_summary_model_en

* Add model 2024-08-12-bio_summary_model_pipeline_en

* Add model 2024-08-12-kltn_coqe_vit5_total_apsol_v3_pipeline_en

* Add model 2024-08-12-kltn_coqe_vit5_total_apsol_v3_en

* Add model 2024-08-12-semeval2023_clickbait_flan_t5_large_seed43_en

* Add model 2024-08-12-semeval2023_clickbait_flan_t5_large_seed43_pipeline_en

* Add model 2024-08-12-mt5_small_nc16_2k_enru_en

* Add model 2024-08-12-mt5_small_welsh_10k_en

* Add model 2024-08-12-mt5_small_welsh_10k_pipeline_en

* Add model 2024-08-12-mt5_small_nc16_2k_enru_pipeline_en

* Add model 2024-08-12-cs505_coqe_vit5_prompting16_aspol_check_en

* Add model 2024-08-12-cs505_coqe_vit5_prompting16_aspol_check_pipeline_en

* Add model 2024-08-12-t5_effecient_nl2_en

* Add model 2024-08-12-t5_seq2seq_quiz_pipeline_en

* Add model 2024-08-12-t5_effecient_nl2_pipeline_en

* Add model 2024-08-12-t5_seq2seq_quiz_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_nugget00_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_nugget00_pipeline_en

* Add model 2024-08-12-scores_flan_t5_large_11_12_en

* Add model 2024-08-12-scores_flan_t5_large_11_12_pipeline_en

* Add model 2024-08-12-t5_small_codesearchnet_multilang_python_java_javascript_go_en

* Add model 2024-08-12-feedbacksummarizerenterpret_en

* Add model 2024-08-12-t5_small_codesearchnet_multilang_python_java_javascript_go_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_xsum_loresanso99_en

* Add model 2024-08-12-t5_small_finetuned_xsum_loresanso99_pipeline_en

* Add model 2024-08-12-feedbacksummarizerenterpret_pipeline_en

* Add model 2024-08-12-t5_base_sft_baby_en

* Add model 2024-08-12-t5_base_sft_baby_pipeline_en

* Add model 2024-08-12-mt5_keep_training_en

* Add model 2024-08-12-awesome_flant5_en

* Add model 2024-08-12-awesome_flant5_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_english_tonga_tonga_islands_french_popottesmaster_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_english_tonga_tonga_islands_french_popottesmaster_en

* Add model 2024-08-12-t5_v1_1_base_finetuned_english_tonga_tonga_islands_german_ad_iiitd_en

* Add model 2024-08-12-mt5_keep_training_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_xsum_benagi2002_en

* Add model 2024-08-12-t5_v1_1_base_finetuned_english_tonga_tonga_islands_german_ad_iiitd_pipeline_en

* Add model 2024-08-12-t5_base_finetuned_xsum_jigglypuff77_en

* Add model 2024-08-12-t5_base_finetuned_xsum_jigglypuff77_pipeline_en

* Add model 2024-08-12-t5_60m_lm_wmt_2019_11_en

* Add model 2024-08-12-rut5_large_24_02_en

* Add model 2024-08-12-t5_60m_lm_wmt_2019_11_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_xsum_benagi2002_pipeline_en

* Add model 2024-08-12-rut5_large_24_02_pipeline_en

* Add model 2024-08-12-english_vietnamese_envit5_base_doc_train_en

* Add model 2024-08-12-english_vietnamese_envit5_base_doc_train_pipeline_en

* Add model 2024-08-12-mt5_base_itquad_qg_trimmed_50000_en

* Add model 2024-08-12-mt5_base_itquad_qg_trimmed_50000_pipeline_en

* Add model 2024-08-12-kltn_coqe_vit5_total_psoal_v3_en

* Add model 2024-08-12-t5_efficient_base_nl40_en

* Add model 2024-08-12-working_samanjoy2_en

* Add model 2024-08-12-working_samanjoy2_pipeline_en

* Add model 2024-08-12-t5small_model3_decay_001_finetuned_english_tonga_tonga_islands_german_en

* Add model 2024-08-12-mt5_multitask_en

* Add model 2024-08-12-t5small_model3_decay_001_finetuned_english_tonga_tonga_islands_german_pipeline_en

* Add model 2024-08-12-mt5_multitask_pipeline_en

* Add model 2024-08-12-t5_sequencenumber_prototype_en

* Add model 2024-08-12-t5_sequencenumber_prototype_pipeline_en

* Add model 2024-08-12-mt5_0_05_solid_en

* Add model 2024-08-12-wl_key_gen_en

* Add model 2024-08-12-mt5_0_05_solid_pipeline_en

* Add model 2024-08-12-wl_key_gen_pipeline_en

* Add model 2024-08-12-t5_finetuned_paraphrase_1024_en

* Add model 2024-08-12-t5_finetuned_paraphrase_1024_pipeline_en

* Add model 2024-08-12-rut5_base_finetuned_plenka_chatbot_en

* Add model 2024-08-12-flan_t5_small_fold_1_en

* Add model 2024-08-12-rut5_base_finetuned_plenka_chatbot_pipeline_en

* Add model 2024-08-12-t5_60m_poli_aff_2020_3_pipeline_en

* Add model 2024-08-12-t5_small_finetuned_xsum_pranav211201_en

* Add model 2024-08-12-t5_small_finetuned_xsum_pranav211201_pipeline_en

* Add model 2024-08-12-favsbot_filtersort_using_t5_summarization_en

* Add model 2024-08-12-t5_small_toirovsadi_pipeline_en

* Add model 2024-08-12-t5_base_tedxjp_0front_1body_0rear_pipeline_en

* Add model 2024-08-12-t5_small_ret_conceptnet2_pipeline_en

* Add model 2024-08-12-munna_bhai_mbbs_model_08_12_en

* Add model 2024-08-12-t5_small_toirovsadi_en

* Add model 2024-08-12-flan_t5_base_danish_multiwoz2_1_800_loss_ep100_en

* Add model 2024-08-12-finetunevit5_en

* Add model 2024-08-12-finetunevit5_pipeline_en

* Add model 2024-08-12-transience_pipeline_en

* Add model 2024-08-12-burmese_awesome_gec_en

* Add model 2024-08-12-burmese_awesome_gec_pipeline_en

* Add model 2024-08-12-flan_t5_base_danish_multiwoz2_1_800_loss_ep100_pipeline_en

* Add model 2024-08-12-flan_t5_small_fold_1_pipeline_en

* Add model 2024-08-12-t5_small_ret_conceptnet2_en

* Add model 2024-08-12-burmese_awesome_opus_books_model_taspips_en

* Add model 2024-08-12-t5_base_tedxjp_0front_1body_0rear_en

* Add model 2024-08-12-flan_t5_simplification_pipeline_en

* Add model 2024-08-12-transience_en

* Add model 2024-08-12-summarization_violetamaral_en

* Add model 2024-08-12-finetune_ttkg_t5_tiny_standard_bahasa_cased_pipeline_en

* Add model 2024-08-12-t5_60m_poli_aff_2020_3_en

* Add model 2024-08-12-vietnamese_english_mt5_base_news_train_pipeline_en

* Add model 2024-08-12-t5_60m_lm_wmt_2020_5_en

* Add model 2024-08-12-t5_60m_lm_wmt_2020_5_pipeline_en

* Add model 2024-08-12-mt5_large_norwegian_info_extraction_200_no

* Add model 2024-08-12-billsum_4500_t5_base_en

* Add model 2024-08-12-afrimt5_english_tsn_news_en

* Add model 2024-08-12-mt5_large_norwegian_info_extraction_200_pipeline_no

* Add model 2024-08-12-billsum_4500_t5_base_pipeline_en

* Add model 2024-08-12-burmese_awesome_opus_books_model_taspips_pipeline_en

* Add model 2024-08-12-salient_aiflan_t5_base_en

* Add model 2024-08-12-flan_t5_simplification_en

* Add model 2024-08-12-munna_bhai_mbbs_model_08_12_pipeline_en

* Add model 2024-08-12-summarization_violetamaral_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_miguelangelocwb_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_miguelangelocwb_pipeline_en

* Add model 2024-08-12-afrimt5_english_tsn_news_pipeline_en

* Add model 2024-08-12-finetune_ttkg_t5_tiny_standard_bahasa_cased_en

* Add model 2024-08-12-vietnamese_english_mt5_base_news_train_en

* Add model 2024-08-12-salient_aiflan_t5_base_pipeline_en

* Add model 2024-08-12-mt5_base_trimmed_japanese_120000_en

* Add model 2024-08-12-mt5_base_trimmed_japanese_120000_pipeline_en

* Add model 2024-08-12-pubmedul2_mini_nl8_en

* Add model 2024-08-12-t5_60m_lm_wmt_2018_7_en

* Add model 2024-08-12-pubmedul2_mini_nl8_pipeline_en

* Add model 2024-08-12-t5_small_few_shot_k_1024_finetuned_squad_seed_4_en

* Add model 2024-08-12-t5_small_few_shot_k_1024_finetuned_squad_seed_4_pipeline_en

* Add model 2024-08-12-t5_60m_lm_wmt_2018_7_pipeline_en

* Add model 2024-08-12-t5_base_samsumgen_xsum_conv_seed42_en

* Add model 2024-08-12-t5_small_asqa_ob_pipeline_en

* Add model 2024-08-12-t5_summarization_one_shot_base_random_en

* Add model 2024-08-12-t5_base_samsumgen_xsum_conv_seed42_pipeline_en

* Add model 2024-08-12-t5_summarization_one_shot_base_random_pipeline_en

* Add model 2024-08-12-t5base_billsum_10000_1024_256_en

* Add model 2024-08-12-t5base_billsum_10000_1024_256_pipeline_en

* Add model 2024-08-12-t5_small_asqa_ob_en

* Add model 2024-08-12-flant5_offensive_translation_german_english_wmt_en

* Add model 2024-08-12-mt5meu900_en

* Add model 2024-08-12-flant5_offensive_translation_german_english_wmt_pipeline_en

* Add model 2024-08-12-mt5meu900_pipeline_en

* Add model 2024-08-12-summarizer_google_long_t5_tglobal_base_base_background_conclusion_en

* Add model 2024-08-12-french_summary_ptt5_xsum_en

* Add model 2024-08-12-summarizer_google_long_t5_tglobal_base_base_background_conclusion_pipeline_en

* Add model 2024-08-12-doc2query_ppo_msmarco_128_4096_en

* Add model 2024-08-12-french_summary_ptt5_xsum_pipeline_en

* Add model 2024-08-12-doc2query_ppo_msmarco_128_4096_pipeline_en

* Add model 2024-08-12-preasm_large_iirc_retrieved_en

* Add model 2024-08-12-preasm_large_iirc_retrieved_pipeline_en

* Add model 2024-08-12-mt5_small_finetuned_amazon_english_spanish_ammar_amjad_en

---------

Co-authored-by: ahmedlone127 <ahmedlone127@gmail.com>
  • Loading branch information
jsl-models and ahmedlone127 authored Aug 12, 2024
1 parent 8fe1748 commit 1080c44
Show file tree
Hide file tree
Showing 6,449 changed files with 502,640 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
82 changes: 82 additions & 0 deletions docs/_posts/ahmedlone127/2024-07-16-mxbai_large_v1_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
layout: model
title: mxbai large Model
author: John Snow Labs
name: mxbai_large_v1
date: 2024-07-16
tags: [embeddings, mxbai, en, open_source, onnx]
task: Embeddings
language: en
edition: Spark NLP 5.4.2
spark_version: 3.0
supported: true
engine: onnx
annotator: MxbaiEmbeddings
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained MxbaiEmbeddings, adataped from huggingface imported to Spark-NLP to provide scalability and production-readiness.

{:.btn-box}
<button class="button button-orange" disabled>Live Demo</button>
<button class="button button-orange" disabled>Open in Colab</button>
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/mxbai_large_v1_en_5.4.2_3.0_1721143405168.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/mxbai_large_v1_en_5.4.2_3.0_1721143405168.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}

## How to use



<div class="tabs-box" markdown="1">
{% include programmingLanguageSelectScalaPythonNLU.html %}
```python

documentAssembler = DocumentAssembler() \
.setInputCol('text') \
.setOutputCol('document')

mxbai = MxbaiEmbeddings.pretrained("mxbai_large_v1","en") \
.setInputCols("document") \
.setOutputCol("embeddings") \

pipeline = Pipeline().setStages([documentAssembler, mxbai])
data = spark.createDataFrame([["I love spark-nlp"]]).toDF("text")
pipelineModel = pipeline.fit(data)
pipelineDF = pipelineModel.transform(data)

```
```scala

val documentAssembler = new DocumentAssembler()
.setInputCols("text")
.setOutputCols("document")

val mxbai = MxbaiEmbeddings.pretrained("mxbai_large_v1", "en")
.setInputCols("documents")
.setOutputCol("embeddings")

val pipeline = new Pipeline().setStages(Array(documentAssembler, mxbai))
val data = Seq("I love spark-nlp").toDS.toDF("text")
val pipelineModel = pipeline.fit(data)
val pipelineDF = pipelineModel.transform(data)

```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|mxbai_large_v1|
|Compatibility:|Spark NLP 5.4.2+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[document]|
|Output Labels:|[Mxbai]|
|Language:|en|
|Size:|793.8 MB|
82 changes: 82 additions & 0 deletions docs/_posts/ahmedlone127/2024-07-16-snowflake_artic_m_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
layout: model
title: SnowFlake Medium Model
author: John Snow Labs
name: snowflake_artic_m
date: 2024-07-16
tags: [embeddings, snowflake, en, open_source, onnx]
task: Embeddings
language: en
edition: Spark NLP 5.4.2
spark_version: 3.0
supported: true
engine: onnx
annotator: SnowFlakeEmbeddings
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained SnowFlakeEmbeddings, adataped from huggingface imported to Spark-NLP to provide scalability and production-readiness.

{:.btn-box}
<button class="button button-orange" disabled>Live Demo</button>
<button class="button button-orange" disabled>Open in Colab</button>
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/snowflake_artic_m_en_5.4.2_3.0_1721136236413.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/snowflake_artic_m_en_5.4.2_3.0_1721136236413.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}

## How to use



<div class="tabs-box" markdown="1">
{% include programmingLanguageSelectScalaPythonNLU.html %}
```python

documentAssembler = DocumentAssembler() \
.setInputCol('text') \
.setOutputCol('document')

snowflake = SnowFlakeEmbeddings.pretrained("snowflake_artic_m","en") \
.setInputCols("document") \
.setOutputCol("embeddings") \

pipeline = Pipeline().setStages([documentAssembler, snowflake])
data = spark.createDataFrame([["I love spark-nlp"]]).toDF("text")
pipelineModel = pipeline.fit(data)
pipelineDF = pipelineModel.transform(data)

```
```scala

val documentAssembler = new DocumentAssembler()
.setInputCols("text")
.setOutputCols("document")

val snowflake = SnowFlakeEmbeddings.pretrained("snowflake_artic_m", "en")
.setInputCols("documents")
.setOutputCol("embeddings")

val pipeline = new Pipeline().setStages(Array(documentAssembler, snowflake))
val data = Seq("I love spark-nlp").toDS.toDF("text")
val pipelineModel = pipeline.fit(data)
val pipelineDF = pipelineModel.transform(data)

```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|snowflake_artic_m|
|Compatibility:|Spark NLP 5.4.2+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[document]|
|Output Labels:|[snowflake]|
|Language:|en|
|Size:|405.7 MB|
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
layout: model
title: English image_classifier_vit_base_patch16_224 ViTForImageClassification from google
author: John Snow Labs
name: image_classifier_vit_base_patch16_224
date: 2024-07-19
tags: [vit, image_classification, en, open_source, onnx]
task: Image Classification
language: en
edition: Spark NLP 5.4.2
spark_version: 3.0
supported: true
engine: onnx
annotator: ViTForImageClassification
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained VIT model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.image_classifier_vit_base_patch16_224 is a English model originally trained by google.

{:.btn-box}
<button class="button button-orange" disabled>Live Demo</button>
<button class="button button-orange" disabled>Open in Colab</button>
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/image_classifier_vit_base_patch16_224_en_5.4.2_3.0_1721418812161.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/image_classifier_vit_base_patch16_224_en_5.4.2_3.0_1721418812161.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}

## How to use



<div class="tabs-box" markdown="1">
{% include programmingLanguageSelectScalaPythonNLU.html %}
```python

image_assembler = ImageAssembler() .setInputCol("image") \
.setOutputCol("image_assembler")

imageClassifier = ViTForImageClassification \
.pretrained("image_classifier_vit_base_patch16_224", "en") .setInputCols("image_assembler") \
.setOutputCol("class")

pipeline = Pipeline(stages=[
image_assembler,
imageClassifier,
])

pipelineModel = pipeline.fit(imageDF)

pipelineDF = pipelineModel.transform(imageDF)

```
```scala

val imageAssembler = new ImageAssembler()
.setInputCol("image")
.setOutputCol("image_assembler")

val imageClassifier = ViTForImageClassification
.pretrained("image_classifier_vit_base_patch16_224", "en")
.setInputCols("image_assembler")
.setOutputCol("class")

val pipeline = new Pipeline().setStages(Array(imageAssembler, imageClassifier))

val pipelineModel = pipeline.fit(imageDF)

val pipelineDF = pipelineModel.transform(imageDF)


```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|image_classifier_vit_base_patch16_224|
|Compatibility:|Spark NLP 5.4.2+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[image_assembler]|
|Output Labels:|[class]|
|Language:|en|
|Size:|324.0 MB|
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
layout: model
title: English image_classifier_convnext_tiny_224_local ConvNextForImageClassification
author: John Snow Labs
name: image_classifier_convnext_tiny_224_local
date: 2024-07-20
tags: [imagenet, image_classification, en, open_source, onnx]
task: Image Classification
language: en
edition: Spark NLP 5.4.2
spark_version: 3.0
supported: true
engine: onnx
annotator: ConvNextForImageClassification
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained ConvNext model for Image Classification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.

The ConvNeXT model was proposed in A ConvNet for the 2020s by Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, Saining Xie.

{:.btn-box}
<button class="button button-orange" disabled>Live Demo</button>
<button class="button button-orange" disabled>Open in Colab</button>
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/models/image_classifier_convnext_tiny_224_local_en_5.4.2_3.0_1721500815172.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/image_classifier_convnext_tiny_224_local_en_5.4.2_3.0_1721500815172.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}

## How to use



<div class="tabs-box" markdown="1">
{% include programmingLanguageSelectScalaPythonNLU.html %}
```python

image_assembler = ImageAssembler() .setInputCol("image") \
.setOutputCol("image_assembler")

imageClassifier = ConvNextForImageClassification \
.pretrained("image_classifier_convnext_tiny_224_local", "en") .setInputCols("image_assembler") \
.setOutputCol("class")

pipeline = Pipeline(stages=[
image_assembler,
imageClassifier,
])

pipelineModel = pipeline.fit(imageDF)

pipelineDF = pipelineModel.transform(imageDF)

```
```scala

val imageAssembler = new ImageAssembler()
.setInputCol("image")
.setOutputCol("image_assembler")

val imageClassifier = ConvNextForImageClassification
.pretrained("image_classifier_convnext_tiny_224_local", "en")
.setInputCols("image_assembler")
.setOutputCol("class")

val pipeline = new Pipeline().setStages(Array(imageAssembler, imageClassifier))

val pipelineModel = pipeline.fit(imageDF)

val pipelineDF = pipelineModel.transform(imageDF)


```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|image_classifier_convnext_tiny_224_local|
|Compatibility:|Spark NLP 5.4.2+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[image_assembler]|
|Output Labels:|[class]|
|Language:|en|
|Size:|107.2 MB|
Loading

0 comments on commit 1080c44

Please sign in to comment.