prince-canuma commited on
Commit
f3359bd
·
verified ·
1 Parent(s): 0382019

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -13,7 +13,7 @@ tags:
13
  ---
14
 
15
  # mlx-community/gemma-3-27b-it-6bit
16
- This model was converted to MLX format from [`google/gemma-3-27b-it`]() using mlx-vlm version **0.1.17**.
17
  Refer to the [original model card](https://huggingface.co/google/gemma-3-27b-it) for more details on the model.
18
  ## Use with mlx
19
 
 
13
  ---
14
 
15
  # mlx-community/gemma-3-27b-it-6bit
16
+ This model was converted to MLX format from [`google/gemma-3-27b-it`]() using mlx-vlm version **0.1.18**.
17
  Refer to the [original model card](https://huggingface.co/google/gemma-3-27b-it) for more details on the model.
18
  ## Use with mlx
19
 
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{{ bos_token }}\n{%- if messages[0]['role'] == 'system' -%}\n {%- if messages[0]['content'] is string -%}\n {%- set first_user_prefix = messages[0]['content'] + '\n\n' -%}\n {%- else -%}\n {%- set first_user_prefix = messages[0]['content'][0]['text'] + '\n\n' -%}\n {%- endif -%}\n {%- set loop_messages = messages[1:] -%}\n{%- else -%}\n {%- set first_user_prefix = \"\" -%}\n {%- set loop_messages = messages -%}\n{%- endif -%}\n{%- for message in loop_messages -%}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}\n {{ raise_exception(\"Conversation roles must alternate user/assistant/user/assistant/...\") }}\n {%- endif -%}\n {%- if (message['role'] == 'assistant') -%}\n {%- set role = \"model\" -%}\n {%- else -%}\n {%- set role = message['role'] -%}\n {%- endif -%}\n {{ '<start_of_turn>' + role + '\n' + (first_user_prefix if loop.first else \"\") }}\n {%- if message['content'] is string -%}\n {{ message['content'] | trim }}\n {%- elif message['content'] is iterable -%}\n {%- for item in message['content'] -%}\n {%- if item['type'] == 'image' -%}\n {{ '<start_of_image>' }}\n {%- elif item['type'] == 'text' -%}\n {{ item['text'] | trim }}\n {%- endif -%}\n {%- endfor -%}\n {%- else -%}\n {{ raise_exception(\"Invalid content type\") }}\n {%- endif -%}\n {{ '<end_of_turn>\n' }}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n {{'<start_of_turn>model\n'}}\n{%- endif -%}\n"
3
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.50.0.dev0"
11
+ }
model-00001-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:312d489523052bdabea43b48ee6352c209b19fe94375babdcbf69887e9625f30
3
- size 5361048510
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab86f572a709c54b1bb9b53af50f5e4c8010279b96709da1dcd67dca55bf9465
3
+ size 5361049153
model-00002-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:68a64765ad699ae1a43d0e1fc25cf441d1e5ae178bb75d356b6b897880b2ca8a
3
- size 5368150642
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7f6baf4ec25efd4d57168e18eeeb5de5b37b455c0773a15fccd608013eaf1d2
3
+ size 5368150962
model-00003-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf6af6a25a97707c2a70495551503a351a0495b9e8fd96aa051421c7f6790453
3
- size 5368150662
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d1db8ca6abd3bfa0d33898eb5109227cd7d60b1742b6413b79408ea060622e
3
+ size 5368150982
model-00004-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1181dd0e5dc29dab5e23a345f930c4c68a3c10dec27b5bbaf2f7cafbc7a0c6da
3
- size 5368150622
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:906724330842008b5c864f8493db96daf58ef5c931b7b37a6e58cadf55d05727
3
+ size 5368150942
model-00005-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b97a0930faa992fa7824e7264f07fd4e4d1dabb6f352415f2a3d37c0b1d4233
3
- size 2472924520
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e71580255869b5b6c68342f0bb26b2af3c42848ac036b5b328089369dca55a
3
+ size 2472924601
model.safetensors.index.json CHANGED
The diff for this file is too large to render. See raw diff