Update README.md
#1
by
olegshulyakov
- opened
README.md
CHANGED
@@ -4,11 +4,14 @@ 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 |
license_link: https://ai.google.dev/gemma/terms
|
|
|
|
|
12 |
---
|
13 |
|
14 |
# mlx-community/codegemma-1.1-2b-8bit
|
@@ -25,4 +28,4 @@ from mlx_lm import load, generate
|
|
25 |
|
26 |
model, tokenizer = load("mlx-community/codegemma-1.1-2b-8bit")
|
27 |
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
28 |
-
```
|
|
|
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 |
license_link: https://ai.google.dev/gemma/terms
|
13 |
+
base_model:
|
14 |
+
- google/codegemma-1.1-2b
|
15 |
---
|
16 |
|
17 |
# mlx-community/codegemma-1.1-2b-8bit
|
|
|
28 |
|
29 |
model, tokenizer = load("mlx-community/codegemma-1.1-2b-8bit")
|
30 |
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
31 |
+
```
|