madhuHuggingface commited on
Commit
4ed619a
·
verified ·
1 Parent(s): 2e62a4f

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  functiongemma-vpc-f16.gguf filter=lfs diff=lfs merge=lfs -text
37
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  functiongemma-vpc-f16.gguf filter=lfs diff=lfs merge=lfs -text
37
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ functiongemma-vpc-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,26 +1,17 @@
1
  ---
2
  license: apache-2.0
3
  base_model: google/functiongemma-270m-it
4
- tags:
5
- - function-calling
6
- - vpc
7
- - gguf
8
- - q4_k_m
9
  ---
10
 
11
  # FunctionGemma-270M VPC — GGUF Q4_K_M
12
 
13
- Fine-tuned for VPC & Routing tool-calling. Quantized to Q4_K_M GGUF for CPU inference.
14
-
15
- ## Install
16
- ```bash
17
- pip install llama-cpp-python transformers sentencepiece
18
- ```
19
 
20
  ## Quick use
21
  ```python
22
  from huggingface_hub import hf_hub_download
23
- gguf_path = hf_hub_download(repo_id='madhuHuggingface/functiongemma-vpc-gguf', filename='functiongemma-vpc-q4_k_m.gguf')
 
 
24
  ```
25
-
26
- See the companion `vpc_local_test.py` for the full 30-test evaluation.
 
1
  ---
2
  license: apache-2.0
3
  base_model: google/functiongemma-270m-it
4
+ tags: [function-calling, vpc, gguf, q4_k_m]
 
 
 
 
5
  ---
6
 
7
  # FunctionGemma-270M VPC — GGUF Q4_K_M
8
 
9
+ Fine-tuned for VPC & Routing tool-calling. Quantized to Q4_K_M GGUF for CPU inference (~253 MB).
 
 
 
 
 
10
 
11
  ## Quick use
12
  ```python
13
  from huggingface_hub import hf_hub_download
14
+ from llama_cpp import Llama
15
+ gguf = hf_hub_download(repo_id="madhuHuggingface/functiongemma-vpc-gguf", filename="functiongemma-vpc-q4_k_m.gguf")
16
+ llm = Llama(model_path=gguf, n_ctx=4096, n_gpu_layers=0)
17
  ```
 
 
config.json CHANGED
@@ -36,7 +36,7 @@
36
  "full_attention"
37
  ],
38
  "max_position_embeddings": 32768,
39
- "model_name": "unsloth/functiongemma-270m-it",
40
  "model_type": "gemma3_text",
41
  "num_attention_heads": 4,
42
  "num_hidden_layers": 18,
@@ -57,7 +57,7 @@
57
  "sliding_window": 512,
58
  "tie_word_embeddings": true,
59
  "unsloth_fixed": true,
60
- "unsloth_version": "2026.5.2",
61
  "use_bidirectional_attention": false,
62
  "use_cache": true,
63
  "vocab_size": 262144
 
36
  "full_attention"
37
  ],
38
  "max_position_embeddings": 32768,
39
+ "model_name": "unsloth/functiongemma-270m-it-unsloth-bnb-4bit",
40
  "model_type": "gemma3_text",
41
  "num_attention_heads": 4,
42
  "num_hidden_layers": 18,
 
57
  "sliding_window": 512,
58
  "tie_word_embeddings": true,
59
  "unsloth_fixed": true,
60
+ "unsloth_version": "2026.5.6",
61
  "use_bidirectional_attention": false,
62
  "use_cache": true,
63
  "vocab_size": 262144
functiongemma-vpc-q4_k_m.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f1fa2e0b79ed54ebbacf7ffbc17c050af115eea29ff38a96ec7aabb00d1eda3
3
+ size 253127040
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 1,
6
+ 50,
7
+ 106
8
+ ],
9
+ "max_length": 32768,
10
+ "pad_token_id": 0,
11
+ "top_k": 64,
12
+ "top_p": 0.95,
13
+ "transformers_version": "5.5.0"
14
+ }