Instructions to use madhuHuggingface/functiongemma-ec2-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use madhuHuggingface/functiongemma-ec2-finetuned with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("madhuHuggingface/functiongemma-ec2-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use madhuHuggingface/functiongemma-ec2-finetuned with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0 # Run inference directly in the terminal: llama cli -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0 # Run inference directly in the terminal: llama cli -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Use Docker
docker model run hf.co/madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
- LM Studio
- Jan
- Ollama
How to use madhuHuggingface/functiongemma-ec2-finetuned with Ollama:
ollama run hf.co/madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
- Unsloth Studio
How to use madhuHuggingface/functiongemma-ec2-finetuned with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for madhuHuggingface/functiongemma-ec2-finetuned to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for madhuHuggingface/functiongemma-ec2-finetuned to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for madhuHuggingface/functiongemma-ec2-finetuned to start chatting
- Pi
How to use madhuHuggingface/functiongemma-ec2-finetuned with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "madhuHuggingface/functiongemma-ec2-finetuned:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use madhuHuggingface/functiongemma-ec2-finetuned with Docker Model Runner:
docker model run hf.co/madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
- Lemonade
How to use madhuHuggingface/functiongemma-ec2-finetuned with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Run and chat with the model
lemonade run user.functiongemma-ec2-finetuned-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use madhuHuggingface/functiongemma-ec2-finetuned with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use madhuHuggingface/functiongemma-ec2-finetuned with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf madhuHuggingface/functiongemma-ec2-finetuned:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "madhuHuggingface/functiongemma-ec2-finetuned:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Training in progress, step 4800
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 121537408
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca57d3632d3e4213a244fa5edf7742c2df77c528e642e0136fb1e73b8b343a25
|
| 3 |
size 121537408
|
last-checkpoint/adapter_config.json
CHANGED
|
@@ -33,13 +33,13 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"o_proj",
|
| 37 |
"k_proj",
|
| 38 |
-
"
|
| 39 |
-
"up_proj",
|
| 40 |
-
"down_proj",
|
| 41 |
"v_proj",
|
| 42 |
-
"gate_proj"
|
|
|
|
|
|
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
| 36 |
"k_proj",
|
| 37 |
+
"o_proj",
|
|
|
|
|
|
|
| 38 |
"v_proj",
|
| 39 |
+
"gate_proj",
|
| 40 |
+
"down_proj",
|
| 41 |
+
"up_proj",
|
| 42 |
+
"q_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
last-checkpoint/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 121537408
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aacd25a4e05082842ad71d0107cf487aace9bac3273148f257235c3fedfb2e5e
|
| 3 |
size 121537408
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 62000725
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27cafe83e00a5eabc314cc5122b14622739544afd699f319c02ec341b5a0ab9f
|
| 3 |
size 62000725
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1465
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6205bb81b2e8389ef08b4f53f6908b25ff116635d540174f271ec2b2516e7cd7
|
| 3 |
size 1465
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
"best_global_step": null,
|
| 3 |
"best_metric": null,
|
| 4 |
"best_model_checkpoint": null,
|
| 5 |
-
"epoch":
|
| 6 |
"eval_steps": 500,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -3298,6 +3298,76 @@
|
|
| 3298 |
"learning_rate": 2.602417596158868e-07,
|
| 3299 |
"loss": 0.0035,
|
| 3300 |
"step": 4700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3301 |
}
|
| 3302 |
],
|
| 3303 |
"logging_steps": 10,
|
|
@@ -3312,12 +3382,12 @@
|
|
| 3312 |
"should_evaluate": false,
|
| 3313 |
"should_log": false,
|
| 3314 |
"should_save": true,
|
| 3315 |
-
"should_training_stop":
|
| 3316 |
},
|
| 3317 |
"attributes": {}
|
| 3318 |
}
|
| 3319 |
},
|
| 3320 |
-
"total_flos": 3.
|
| 3321 |
"train_batch_size": 2,
|
| 3322 |
"trial_name": null,
|
| 3323 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": null,
|
| 3 |
"best_metric": null,
|
| 4 |
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
"eval_steps": 500,
|
| 7 |
+
"global_step": 4809,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 3298 |
"learning_rate": 2.602417596158868e-07,
|
| 3299 |
"loss": 0.0035,
|
| 3300 |
"step": 4700
|
| 3301 |
+
},
|
| 3302 |
+
{
|
| 3303 |
+
"epoch": 2.938533541341654,
|
| 3304 |
+
"grad_norm": 0.0014681172324344516,
|
| 3305 |
+
"learning_rate": 2.1509203347936934e-07,
|
| 3306 |
+
"loss": 0.005,
|
| 3307 |
+
"step": 4710
|
| 3308 |
+
},
|
| 3309 |
+
{
|
| 3310 |
+
"epoch": 2.944773790951638,
|
| 3311 |
+
"grad_norm": 0.1732673943042755,
|
| 3312 |
+
"learning_rate": 1.7423641941546332e-07,
|
| 3313 |
+
"loss": 0.003,
|
| 3314 |
+
"step": 4720
|
| 3315 |
+
},
|
| 3316 |
+
{
|
| 3317 |
+
"epoch": 2.9510140405616223,
|
| 3318 |
+
"grad_norm": 0.0007420650799758732,
|
| 3319 |
+
"learning_rate": 1.376766755916914e-07,
|
| 3320 |
+
"loss": 0.0036,
|
| 3321 |
+
"step": 4730
|
| 3322 |
+
},
|
| 3323 |
+
{
|
| 3324 |
+
"epoch": 2.957254290171607,
|
| 3325 |
+
"grad_norm": 0.0006529244128614664,
|
| 3326 |
+
"learning_rate": 1.0541437530848796e-07,
|
| 3327 |
+
"loss": 0.0035,
|
| 3328 |
+
"step": 4740
|
| 3329 |
+
},
|
| 3330 |
+
{
|
| 3331 |
+
"epoch": 2.9634945397815913,
|
| 3332 |
+
"grad_norm": 0.0012812407221645117,
|
| 3333 |
+
"learning_rate": 7.745090693143108e-08,
|
| 3334 |
+
"loss": 0.0028,
|
| 3335 |
+
"step": 4750
|
| 3336 |
+
},
|
| 3337 |
+
{
|
| 3338 |
+
"epoch": 2.9697347893915755,
|
| 3339 |
+
"grad_norm": 0.0007352688116952777,
|
| 3340 |
+
"learning_rate": 5.378747383154581e-08,
|
| 3341 |
+
"loss": 0.0024,
|
| 3342 |
+
"step": 4760
|
| 3343 |
+
},
|
| 3344 |
+
{
|
| 3345 |
+
"epoch": 2.9759750390015602,
|
| 3346 |
+
"grad_norm": 0.0036806329153478146,
|
| 3347 |
+
"learning_rate": 3.442509433352337e-08,
|
| 3348 |
+
"loss": 0.0027,
|
| 3349 |
+
"step": 4770
|
| 3350 |
+
},
|
| 3351 |
+
{
|
| 3352 |
+
"epoch": 2.9822152886115445,
|
| 3353 |
+
"grad_norm": 0.0006891420343890786,
|
| 3354 |
+
"learning_rate": 1.9364601671845173e-08,
|
| 3355 |
+
"loss": 0.0031,
|
| 3356 |
+
"step": 4780
|
| 3357 |
+
},
|
| 3358 |
+
{
|
| 3359 |
+
"epoch": 2.9884555382215288,
|
| 3360 |
+
"grad_norm": 0.062437161803245544,
|
| 3361 |
+
"learning_rate": 8.606643954978122e-09,
|
| 3362 |
+
"loss": 0.0034,
|
| 3363 |
+
"step": 4790
|
| 3364 |
+
},
|
| 3365 |
+
{
|
| 3366 |
+
"epoch": 2.994695787831513,
|
| 3367 |
+
"grad_norm": 0.12944412231445312,
|
| 3368 |
+
"learning_rate": 2.1516841374635834e-09,
|
| 3369 |
+
"loss": 0.0038,
|
| 3370 |
+
"step": 4800
|
| 3371 |
}
|
| 3372 |
],
|
| 3373 |
"logging_steps": 10,
|
|
|
|
| 3382 |
"should_evaluate": false,
|
| 3383 |
"should_log": false,
|
| 3384 |
"should_save": true,
|
| 3385 |
+
"should_training_stop": true
|
| 3386 |
},
|
| 3387 |
"attributes": {}
|
| 3388 |
}
|
| 3389 |
},
|
| 3390 |
+
"total_flos": 3.887912126726554e+16,
|
| 3391 |
"train_batch_size": 2,
|
| 3392 |
"trial_name": null,
|
| 3393 |
"trial_params": null
|
last-checkpoint/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6353
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0554d7321c506bd816e992029d18cb4e33d99d8af5ebe99c62fa15c5a1cf0043
|
| 3 |
size 6353
|