Instructions to use Parth673/gemma3-4b-interview-eval-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Parth673/gemma3-4b-interview-eval-quantized with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Parth673/gemma3-4b-interview-eval-quantized", filename="gemma-3-4b-it.F16-mmproj.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Parth673/gemma3-4b-interview-eval-quantized with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Parth673/gemma3-4b-interview-eval-quantized:F16 # Run inference directly in the terminal: llama-cli -hf Parth673/gemma3-4b-interview-eval-quantized:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Parth673/gemma3-4b-interview-eval-quantized:F16 # Run inference directly in the terminal: llama-cli -hf Parth673/gemma3-4b-interview-eval-quantized:F16
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 Parth673/gemma3-4b-interview-eval-quantized:F16 # Run inference directly in the terminal: ./llama-cli -hf Parth673/gemma3-4b-interview-eval-quantized:F16
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 Parth673/gemma3-4b-interview-eval-quantized:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Parth673/gemma3-4b-interview-eval-quantized:F16
Use Docker
docker model run hf.co/Parth673/gemma3-4b-interview-eval-quantized:F16
- LM Studio
- Jan
- Ollama
How to use Parth673/gemma3-4b-interview-eval-quantized with Ollama:
ollama run hf.co/Parth673/gemma3-4b-interview-eval-quantized:F16
- Unsloth Studio new
How to use Parth673/gemma3-4b-interview-eval-quantized 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 Parth673/gemma3-4b-interview-eval-quantized 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 Parth673/gemma3-4b-interview-eval-quantized to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Parth673/gemma3-4b-interview-eval-quantized to start chatting
- Docker Model Runner
How to use Parth673/gemma3-4b-interview-eval-quantized with Docker Model Runner:
docker model run hf.co/Parth673/gemma3-4b-interview-eval-quantized:F16
- Lemonade
How to use Parth673/gemma3-4b-interview-eval-quantized with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Parth673/gemma3-4b-interview-eval-quantized:F16
Run and chat with the model
lemonade run user.gemma3-4b-interview-eval-quantized-F16
List all available models
lemonade list
Trained with Unsloth - config
Browse files- config.json +101 -0
config.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma3ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"boi_token_index": 255999,
|
| 6 |
+
"bos_token_id": 2,
|
| 7 |
+
"torch_dtype": "float16",
|
| 8 |
+
"eoi_token_index": 256000,
|
| 9 |
+
"eos_token_id": 106,
|
| 10 |
+
"image_token_index": 262144,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"mm_tokens_per_image": 256,
|
| 13 |
+
"model_type": "gemma3",
|
| 14 |
+
"pad_token_id": 0,
|
| 15 |
+
"text_config": {
|
| 16 |
+
"_sliding_window_pattern": 6,
|
| 17 |
+
"attention_bias": false,
|
| 18 |
+
"attention_dropout": 0.0,
|
| 19 |
+
"attn_logit_softcapping": null,
|
| 20 |
+
"cache_implementation": "hybrid",
|
| 21 |
+
"torch_dtype": "float16",
|
| 22 |
+
"final_logit_softcapping": null,
|
| 23 |
+
"head_dim": 256,
|
| 24 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 25 |
+
"hidden_size": 2560,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 10240,
|
| 28 |
+
"layer_types": [
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"full_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention"
|
| 63 |
+
],
|
| 64 |
+
"max_position_embeddings": 131072,
|
| 65 |
+
"model_type": "gemma3_text",
|
| 66 |
+
"num_attention_heads": 8,
|
| 67 |
+
"num_hidden_layers": 34,
|
| 68 |
+
"num_key_value_heads": 4,
|
| 69 |
+
"query_pre_attn_scalar": 256,
|
| 70 |
+
"rms_norm_eps": 1e-06,
|
| 71 |
+
"rope_local_base_freq": 10000.0,
|
| 72 |
+
"rope_scaling": {
|
| 73 |
+
"factor": 8.0,
|
| 74 |
+
"rope_type": "linear"
|
| 75 |
+
},
|
| 76 |
+
"rope_theta": 1000000.0,
|
| 77 |
+
"sliding_window": 1024,
|
| 78 |
+
"sliding_window_pattern": 6,
|
| 79 |
+
"use_bidirectional_attention": false,
|
| 80 |
+
"use_cache": true,
|
| 81 |
+
"vocab_size": 262208
|
| 82 |
+
},
|
| 83 |
+
"transformers_version": "4.57.3",
|
| 84 |
+
"unsloth_fixed": true,
|
| 85 |
+
"unsloth_version": "2025.12.9",
|
| 86 |
+
"vision_config": {
|
| 87 |
+
"attention_dropout": 0.0,
|
| 88 |
+
"torch_dtype": "float16",
|
| 89 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 90 |
+
"hidden_size": 1152,
|
| 91 |
+
"image_size": 896,
|
| 92 |
+
"intermediate_size": 4304,
|
| 93 |
+
"layer_norm_eps": 1e-06,
|
| 94 |
+
"model_type": "siglip_vision_model",
|
| 95 |
+
"num_attention_heads": 16,
|
| 96 |
+
"num_channels": 3,
|
| 97 |
+
"num_hidden_layers": 27,
|
| 98 |
+
"patch_size": 14,
|
| 99 |
+
"vision_use_head": false
|
| 100 |
+
}
|
| 101 |
+
}
|