Update README.md with new model card content
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ Weights are released under the [Gemma License](https://www.kaggle.com/models/goo
|
|
17 |
|
18 |
## Links
|
19 |
|
20 |
-
* [Gemma Quickstart Notebook](https://www.kaggle.com/code/
|
21 |
* [Gemma API Documentation](https://keras.io/api/keras_hub/models/gemma/)
|
22 |
* [Gemma Model Card](https://www.kaggle.com/models/google/gemma)
|
23 |
* [KerasHub Beginner Guide](https://keras.io/guides/keras_hub/getting_started/)
|
@@ -90,7 +90,7 @@ gemma_lm = keras_hub.models.GemmaCausalLM.from_preset("gemma_instruct_7b_en")
|
|
90 |
gemma_lm.compile(sampler="top_k")
|
91 |
gemma_lm.generate("I want to say", max_length=30)
|
92 |
|
93 |
-
gemma_lm.compile(sampler=keras_hub.samplers.BeamSampler(num_beams=2))
|
94 |
gemma_lm.generate("I want to say", max_length=30)
|
95 |
```
|
96 |
|
@@ -161,7 +161,7 @@ gemma_lm = keras_hub.models.GemmaCausalLM.from_preset("hf://keras/gemma_instruct
|
|
161 |
gemma_lm.compile(sampler="top_k")
|
162 |
gemma_lm.generate("I want to say", max_length=30)
|
163 |
|
164 |
-
gemma_lm.compile(sampler=keras_hub.samplers.BeamSampler(num_beams=2))
|
165 |
gemma_lm.generate("I want to say", max_length=30)
|
166 |
```
|
167 |
|
|
|
17 |
|
18 |
## Links
|
19 |
|
20 |
+
* [Gemma Quickstart Notebook](https://www.kaggle.com/code/laxmareddypatlolla/get-started-with-gemma-using-keras-hub)
|
21 |
* [Gemma API Documentation](https://keras.io/api/keras_hub/models/gemma/)
|
22 |
* [Gemma Model Card](https://www.kaggle.com/models/google/gemma)
|
23 |
* [KerasHub Beginner Guide](https://keras.io/guides/keras_hub/getting_started/)
|
|
|
90 |
gemma_lm.compile(sampler="top_k")
|
91 |
gemma_lm.generate("I want to say", max_length=30)
|
92 |
|
93 |
+
gemma_lm.compile(sampler= keras_hub.samplers.BeamSampler(num_beams=2))
|
94 |
gemma_lm.generate("I want to say", max_length=30)
|
95 |
```
|
96 |
|
|
|
161 |
gemma_lm.compile(sampler="top_k")
|
162 |
gemma_lm.generate("I want to say", max_length=30)
|
163 |
|
164 |
+
gemma_lm.compile(sampler= keras_hub.samplers.BeamSampler(num_beams=2))
|
165 |
gemma_lm.generate("I want to say", max_length=30)
|
166 |
```
|
167 |
|