Update README.md
#1
by
olegshulyakov
- opened
README.md
CHANGED
|
@@ -4,20 +4,22 @@ library_name: transformers
|
|
| 4 |
tags:
|
| 5 |
- mlx
|
| 6 |
extra_gated_heading: Access CodeGemma on Hugging Face
|
| 7 |
-
extra_gated_prompt:
|
| 8 |
-
|
| 9 |
-
|
|
|
|
| 10 |
extra_gated_button_content: Acknowledge license
|
| 11 |
pipeline_tag: text-generation
|
| 12 |
widget:
|
| 13 |
-
- text:
|
|
|
|
| 14 |
number.<end_of_turn> <start_of_turn>model
|
| 15 |
-
|
| 16 |
-
'
|
| 17 |
inference:
|
| 18 |
parameters:
|
| 19 |
max_new_tokens: 200
|
| 20 |
license_link: https://ai.google.dev/gemma/terms
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
|
| 23 |
# mlx-community/codegemma-1.1-7b-it-4bit
|
|
@@ -34,4 +36,4 @@ from mlx_lm import load, generate
|
|
| 34 |
|
| 35 |
model, tokenizer = load("mlx-community/codegemma-1.1-7b-it-4bit")
|
| 36 |
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
| 37 |
-
```
|
|
|
|
| 4 |
tags:
|
| 5 |
- mlx
|
| 6 |
extra_gated_heading: Access CodeGemma on Hugging Face
|
| 7 |
+
extra_gated_prompt: >-
|
| 8 |
+
To access CodeGemma on Hugging Face, you’re required to review and agree to
|
| 9 |
+
Google’s usage license. To do this, please ensure you’re logged-in to Hugging
|
| 10 |
+
Face and click below. Requests are processed immediately.
|
| 11 |
extra_gated_button_content: Acknowledge license
|
| 12 |
pipeline_tag: text-generation
|
| 13 |
widget:
|
| 14 |
+
- text: >
|
| 15 |
+
<start_of_turn>user Write a Python function to calculate the nth fibonacci
|
| 16 |
number.<end_of_turn> <start_of_turn>model
|
|
|
|
|
|
|
| 17 |
inference:
|
| 18 |
parameters:
|
| 19 |
max_new_tokens: 200
|
| 20 |
license_link: https://ai.google.dev/gemma/terms
|
| 21 |
+
base_model:
|
| 22 |
+
- google/codegemma-1.1-7b-it
|
| 23 |
---
|
| 24 |
|
| 25 |
# mlx-community/codegemma-1.1-7b-it-4bit
|
|
|
|
| 36 |
|
| 37 |
model, tokenizer = load("mlx-community/codegemma-1.1-7b-it-4bit")
|
| 38 |
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
| 39 |
+
```
|