Skip to content

2024-10-10-gemma_2_2b_it_iq3_m_en #14432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ff79e18
Add model 2024-10-10-gemma_2_2b_it_iq3_m_en
ahmedlone127 Oct 10, 2024
a71ca50
Add model 2024-10-10-gemma_2_2b_it_iq4_xs_en
ahmedlone127 Oct 10, 2024
15667e9
Add model 2024-10-10-gemma_2_2b_it_q3_k_l_en
ahmedlone127 Oct 10, 2024
0fcc23f
Add model 2024-10-10-gemma_2_2b_it_q4_k_m_en
ahmedlone127 Oct 10, 2024
4252d0f
Add model 2024-10-10-gemma_2_2b_it_q5_k_m_en
ahmedlone127 Oct 10, 2024
be142d0
Add model 2024-10-10-gemma_2_2b_it_q6_k_en
ahmedlone127 Oct 10, 2024
f0146f2
Add model 2024-10-10-gemma_2_2b_it_q8_0_en
ahmedlone127 Oct 10, 2024
9c5691b
Add model 2024-10-10-llama_3.2_3b_instruct_q3_k_l_xx
ahmedlone127 Oct 10, 2024
4055930
Add model 2024-10-10-llama_3.2_3b_instruct_q4_k_m_xx
ahmedlone127 Oct 10, 2024
faff705
Add model 2024-10-11-sent_roberta_base_en
ahmedlone127 Oct 11, 2024
8a180b0
Add model 2024-10-11-snowflake_artic_m_en
ahmedlone127 Oct 11, 2024
86ce664
Add model 2024-10-13-uae_large_v1_en
ahmedlone127 Oct 13, 2024
70e4f62
Add model 2024-10-14-sent_xlm_roberta_base_xx
ahmedlone127 Oct 14, 2024
87d562f
Add model 2024-10-16-asr_hubert_large_ls960_en
ahmedlone127 Oct 16, 2024
712cc2f
Add model 2024-10-17-asr_wav2vec2_base_960h_en
ahmedlone127 Oct 17, 2024
e3d6ef3
Add model 2024-10-18-zero_shot_classifier_clip_vit_base_patch32_en
ahmedlone127 Oct 18, 2024
90b43aa
Add model 2024-10-19-image_classifier_vit_base_patch16_224_en
ahmedlone127 Oct 19, 2024
00857d9
Add model 2024-10-19-image_classifier_swin_base_patch4_window7_224_en
ahmedlone127 Oct 19, 2024
2e9a9b4
Add model 2024-10-19-image_classifier_convnext_tiny_224_local_en
ahmedlone127 Oct 19, 2024
2f38d11
Add model 2024-10-20-image_captioning_vit_gpt2_en
ahmedlone127 Oct 20, 2024
b3488eb
Add model 2024-10-28-image_captioning_vit_gpt2_en
ahmedlone127 Oct 28, 2024
e501922
Add model 2024-10-29-gemma_2_2b_it_iq3_m_en
ahmedlone127 Oct 29, 2024
32badb9
Add model 2024-10-29-gemma_2_2b_it_iq4_xs_en
ahmedlone127 Oct 29, 2024
a69108a
Add model 2024-10-29-gemma_2_2b_it_q3_k_l_en
ahmedlone127 Oct 29, 2024
866b780
Add model 2024-10-29-gemma_2_2b_it_q4_k_m_en
ahmedlone127 Oct 29, 2024
a7ed79e
Add model 2024-10-29-llama_3.2_3b_instruct_q3_k_l_xx
ahmedlone127 Oct 29, 2024
11df928
Add model 2024-10-29-llama_3.2_3b_instruct_q4_k_m_xx
ahmedlone127 Oct 29, 2024
0fa33ca
Add model 2024-10-29-llama_3.2_3b_instruct_q6_k_xx
ahmedlone127 Oct 29, 2024
6e87934
Add model 2024-10-29-llama_3.2_3b_instruct_q8_0_xx
ahmedlone127 Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions docs/_posts/ahmedlone127/2024-10-10-gemma_2_2b_it_iq3_m_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
layout: model
title: English gemma_2_2b_it_iq3_m AutoGGUFModel from lmstudio-community
author: John Snow Labs
name: gemma_2_2b_it_iq3_m
date: 2024-10-10
tags: [en, open_source, onnx, conversational, text_generation, text_to_text, tensorflow]
task: Text Generation
language: en
edition: Spark NLP 5.5.0
spark_version: 3.0
supported: true
engine: tensorflow
annotator: AutoGGUFModel
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained AutoGGUFModel model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`gemma_2_2b_it_iq3_m` is a English model prepared by lmstudio-community.

{:.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/gemma_2_2b_it_iq3_m_en_5.5.0_3.0_1728575178358.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/gemma_2_2b_it_iq3_m_en_5.5.0_3.0_1728575178358.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

document = DocumentAssembler() \
.setInputCol("text") \
.setOutputCol("document")

autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_iq3_m","en") \
.setInputCols(["document"]) \
.setOutputCol("completions") \
.setBatchSize(4) \
.setNPredict(20) \
.setNGpuLayers(99) \
.setTemperature(0.4) \
.setTopK(40) \
.setTopP(0.9) \
.setPenalizeNl(True)

pipeline = Pipeline().setStages([document, autoGGUFModel])
data = spark.createDataFrame([["Hello, I am a"]]).toDF("text")
result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = False)

```
```scala

val document = new DocumentAssembler()
.setInputCol("text")
.setOutputCol("document")

val autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_iq3_m", "en")
.setInputCols("document")
.setOutputCol("completions")
.setBatchSize(4)
.setNPredict(20)
.setNGpuLayers(99)
.setTemperature(0.4f)
.setTopK(40)
.setTopP(0.9f)
.setPenalizeNl(true)

val pipeline = new Pipeline().setStages(Array(document, autoGGUFModel))

val data = Seq("Hello, I am a").toDF("text")
val result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = false)

```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|gemma_2_2b_it_iq3_m|
|Compatibility:|Spark NLP 5.5.0+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[document]|
|Output Labels:|[completions]|
|Language:|en|
|Size:|1.4 GB|

## References

https://huggingface.co/lmstudio-community/gemma-2-2b-it-GGUF
101 changes: 101 additions & 0 deletions docs/_posts/ahmedlone127/2024-10-10-gemma_2_2b_it_iq4_xs_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
layout: model
title: English gemma_2_2b_it_iq4_xs AutoGGUFModel from lmstudio-community
author: John Snow Labs
name: gemma_2_2b_it_iq4_xs
date: 2024-10-10
tags: [en, open_source, onnx, conversational, text_generation, text_to_text, tensorflow]
task: Text Generation
language: en
edition: Spark NLP 5.5.0
spark_version: 3.0
supported: true
engine: tensorflow
annotator: AutoGGUFModel
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained AutoGGUFModel model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`gemma_2_2b_it_iq4_xs` is a English model prepared by lmstudio-community.

{:.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/gemma_2_2b_it_iq4_xs_en_5.5.0_3.0_1728575247990.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/gemma_2_2b_it_iq4_xs_en_5.5.0_3.0_1728575247990.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

document = DocumentAssembler() \
.setInputCol("text") \
.setOutputCol("document")

autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_iq4_xs","en") \
.setInputCols(["document"]) \
.setOutputCol("completions") \
.setBatchSize(4) \
.setNPredict(20) \
.setNGpuLayers(99) \
.setTemperature(0.4) \
.setTopK(40) \
.setTopP(0.9) \
.setPenalizeNl(True)

pipeline = Pipeline().setStages([document, autoGGUFModel])
data = spark.createDataFrame([["Hello, I am a"]]).toDF("text")
result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = False)

```
```scala

val document = new DocumentAssembler()
.setInputCol("text")
.setOutputCol("document")

val autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_iq4_xs", "en")
.setInputCols("document")
.setOutputCol("completions")
.setBatchSize(4)
.setNPredict(20)
.setNGpuLayers(99)
.setTemperature(0.4f)
.setTopK(40)
.setTopP(0.9f)
.setPenalizeNl(true)

val pipeline = new Pipeline().setStages(Array(document, autoGGUFModel))

val data = Seq("Hello, I am a").toDF("text")
val result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = false)

```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|gemma_2_2b_it_iq4_xs|
|Compatibility:|Spark NLP 5.5.0+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[document]|
|Output Labels:|[completions]|
|Language:|en|
|Size:|1.5 GB|

## References

https://huggingface.co/lmstudio-community/gemma-2-2b-it-GGUF
101 changes: 101 additions & 0 deletions docs/_posts/ahmedlone127/2024-10-10-gemma_2_2b_it_q3_k_l_en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
layout: model
title: English gemma_2_2b_it_q3_k_l AutoGGUFModel from lmstudio-community
author: John Snow Labs
name: gemma_2_2b_it_q3_k_l
date: 2024-10-10
tags: [en, open_source, onnx, conversational, text_generation, text_to_text, tensorflow]
task: Text Generation
language: en
edition: Spark NLP 5.5.0
spark_version: 3.0
supported: true
engine: tensorflow
annotator: AutoGGUFModel
article_header:
type: cover
use_language_switcher: "Python-Scala-Java"
---

## Description

Pretrained AutoGGUFModel model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.`gemma_2_2b_it_q3_k_l` is a English model prepared by lmstudio-community.

{:.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/gemma_2_2b_it_q3_k_l_en_5.5.0_3.0_1728575314785.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/public/models/gemma_2_2b_it_q3_k_l_en_5.5.0_3.0_1728575314785.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

document = DocumentAssembler() \
.setInputCol("text") \
.setOutputCol("document")

autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_q3_k_l","en") \
.setInputCols(["document"]) \
.setOutputCol("completions") \
.setBatchSize(4) \
.setNPredict(20) \
.setNGpuLayers(99) \
.setTemperature(0.4) \
.setTopK(40) \
.setTopP(0.9) \
.setPenalizeNl(True)

pipeline = Pipeline().setStages([document, autoGGUFModel])
data = spark.createDataFrame([["Hello, I am a"]]).toDF("text")
result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = False)

```
```scala

val document = new DocumentAssembler()
.setInputCol("text")
.setOutputCol("document")

val autoGGUFModel = AutoGGUFModel.pretrained("gemma_2_2b_it_q3_k_l", "en")
.setInputCols("document")
.setOutputCol("completions")
.setBatchSize(4)
.setNPredict(20)
.setNGpuLayers(99)
.setTemperature(0.4f)
.setTopK(40)
.setTopP(0.9f)
.setPenalizeNl(true)

val pipeline = new Pipeline().setStages(Array(document, autoGGUFModel))

val data = Seq("Hello, I am a").toDF("text")
val result = pipeline.fit(data).transform(data)
result.select("completions").show(truncate = false)

```
</div>

{:.model-param}
## Model Information

{:.table-model}
|---|---|
|Model Name:|gemma_2_2b_it_q3_k_l|
|Compatibility:|Spark NLP 5.5.0+|
|License:|Open Source|
|Edition:|Official|
|Input Labels:|[document]|
|Output Labels:|[completions]|
|Language:|en|
|Size:|1.5 GB|

## References

https://huggingface.co/lmstudio-community/gemma-2-2b-it-GGUF
Loading