Add files using upload-large-folder tool
Browse files- README.md +8 -7
- model-00001-of-00011.safetensors +2 -2
- model-00002-of-00011.safetensors +2 -2
- model-00003-of-00011.safetensors +2 -2
- model-00004-of-00011.safetensors +2 -2
- model-00005-of-00011.safetensors +2 -2
- model-00006-of-00011.safetensors +2 -2
- model-00007-of-00011.safetensors +2 -2
- model-00008-of-00011.safetensors +2 -2
- model-00009-of-00011.safetensors +2 -2
- model-00010-of-00011.safetensors +2 -2
- model-00011-of-00011.safetensors +2 -2
README.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
license: other
|
3 |
license_name: health-ai-developer-foundations
|
4 |
license_link: https://developers.google.com/health-ai-developer-foundations/terms
|
5 |
-
library_name:
|
6 |
-
pipeline_tag:
|
7 |
extra_gated_heading: Access MedGemma on Hugging Face
|
8 |
extra_gated_prompt: To access MedGemma on Hugging Face, you're required to review
|
9 |
and agree to [Health AI Developer Foundation's terms of use](https://developers.google.com/health-ai-developer-foundations/terms).
|
@@ -16,12 +16,13 @@ tags:
|
|
16 |
- clinical-reasoning
|
17 |
- thinking
|
18 |
- mlx
|
19 |
-
- mlx-my-repo
|
20 |
---
|
21 |
|
22 |
# mlx-community/medgemma-27b-text-it-bf16
|
23 |
|
24 |
-
|
|
|
|
|
25 |
|
26 |
## Use with mlx
|
27 |
|
@@ -34,12 +35,12 @@ from mlx_lm import load, generate
|
|
34 |
|
35 |
model, tokenizer = load("mlx-community/medgemma-27b-text-it-bf16")
|
36 |
|
37 |
-
prompt="hello"
|
38 |
|
39 |
-
if
|
40 |
messages = [{"role": "user", "content": prompt}]
|
41 |
prompt = tokenizer.apply_chat_template(
|
42 |
-
messages,
|
43 |
)
|
44 |
|
45 |
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
|
|
2 |
license: other
|
3 |
license_name: health-ai-developer-foundations
|
4 |
license_link: https://developers.google.com/health-ai-developer-foundations/terms
|
5 |
+
library_name: mlx
|
6 |
+
pipeline_tag: text-generation
|
7 |
extra_gated_heading: Access MedGemma on Hugging Face
|
8 |
extra_gated_prompt: To access MedGemma on Hugging Face, you're required to review
|
9 |
and agree to [Health AI Developer Foundation's terms of use](https://developers.google.com/health-ai-developer-foundations/terms).
|
|
|
16 |
- clinical-reasoning
|
17 |
- thinking
|
18 |
- mlx
|
|
|
19 |
---
|
20 |
|
21 |
# mlx-community/medgemma-27b-text-it-bf16
|
22 |
|
23 |
+
This model [mlx-community/medgemma-27b-text-it-bf16](https://huggingface.co/mlx-community/medgemma-27b-text-it-bf16) was
|
24 |
+
converted to MLX format from [google/medgemma-27b-text-it](https://huggingface.co/google/medgemma-27b-text-it)
|
25 |
+
using mlx-lm version **0.24.1**.
|
26 |
|
27 |
## Use with mlx
|
28 |
|
|
|
35 |
|
36 |
model, tokenizer = load("mlx-community/medgemma-27b-text-it-bf16")
|
37 |
|
38 |
+
prompt = "hello"
|
39 |
|
40 |
+
if tokenizer.chat_template is not None:
|
41 |
messages = [{"role": "user", "content": prompt}]
|
42 |
prompt = tokenizer.apply_chat_template(
|
43 |
+
messages, add_generation_prompt=True
|
44 |
)
|
45 |
|
46 |
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
model-00001-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:378646fc12f73360caf3fd33c489e76a2bc6fd468a76ffd2da36209fe69bb076
|
3 |
+
size 5362028795
|
model-00002-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:964e164fe43cc442b6026c2304f8d7e1eeb09c9a4eb69a6ae2dd55683192a335
|
3 |
+
size 5252064127
|
model-00003-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1d237408f8d721400eb2399c1ff2a77288e3a000cef8b2b5aaed9dac525c383
|
3 |
+
size 5186002970
|
model-00004-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb18f08493eaee2a508716122271c40bf52d02e4003c16d457b0e126dc0a2e7b
|
3 |
+
size 5318168196
|
model-00005-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:076ae3ae60f0430dad40a3e336606c5efe14f81551445214351751bda98e2da5
|
3 |
+
size 5186002962
|
model-00006-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60072ed76bbd35d4d9e5b24348ca1d4ad1bcb23c2cefdea0b604b717a1a8e5fd
|
3 |
+
size 5186002932
|
model-00007-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b07b8f537893820a5604b0daa3114d71e0f53fded25075dc628a40ae07df141
|
3 |
+
size 5318168232
|
model-00008-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2f2546d9c11d50e7cb88e935b5c9d740433570441fa54de754ebf9692267bd2
|
3 |
+
size 5186002954
|
model-00009-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:990b5e728415e37d72c869b52e0c15d201ea7252509e556978264fd658921534
|
3 |
+
size 5186002930
|
model-00010-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4da9f74aba1d3321d2d279f54c2f3718125ee55be4802418677bf3bc7889d46
|
3 |
+
size 5318168220
|
model-00011-of-00011.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08710763bbc08ac0d7173cb16cfe9a2724267197841055ac60f3a2e46c63093b
|
3 |
+
size 4338058706
|