Text Generation
Transformers.js
ONNX
Safetensors
gemma3_text
function-calling
prism-os
webgpu
conversational
Instructions to use AppleLampsX/prism-os-functiongemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use AppleLampsX/prism-os-functiongemma with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'AppleLampsX/prism-os-functiongemma');
Download config.json from AppleLampsX/prism-os-functiongemma: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/AppleLampsX/prism-os-functiongemma/resolve/main/config.json
- Command line
-
hf download hf://AppleLampsX/prism-os-functiongemma/config.json
-
curl -L -o config.json https://huggingface.co/AppleLampsX/prism-os-functiongemma/resolve/main/config.json
1.63 kB
| { | |
| "_sliding_window_pattern": 6, | |
| "architectures": [ | |
| "Gemma3ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_logit_softcapping": null, | |
| "bos_token_id": 2, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 1, | |
| "final_logit_softcapping": null, | |
| "head_dim": 256, | |
| "hidden_activation": "gelu_pytorch_tanh", | |
| "hidden_size": 640, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 2048, | |
| "layer_types": [ | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 32768, | |
| "model_type": "gemma3_text", | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 18, | |
| "num_key_value_heads": 1, | |
| "pad_token_id": 0, | |
| "query_pre_attn_scalar": 256, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "full_attention": { | |
| "rope_theta": 1000000.0, | |
| "rope_type": "default" | |
| }, | |
| "sliding_attention": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| } | |
| }, | |
| "sliding_window": 512, | |
| "transformers_version": "5.0.0.dev0", | |
| "use_bidirectional_attention": false, | |
| "use_cache": true, | |
| "vocab_size": 262144, | |
| "transformers.js_config": { | |
| "use_external_data_format": { | |
| "model_q4f16.onnx": 1 | |
| }, | |
| "kv_cache_dtype": { | |
| "q4f16": "float16" | |
| } | |
| } | |
| } |