Views
No views yet
| Property | Value |
|---|---|
| Base model | google/gemma-3-4b-it |
| Parameters | 4B |
| Quantization | Q4_K_M (4-bit, medium-high quality) |
| Approximate size | ~2.4 GB |
| Quantization tool | llama.cpp |
| Primary use case | On-device Android CV analysis (CVPilot) |
1from llama_cpp import Llama
2
3llm = Llama.from_pretrained(
4 repo_id="alefalab/gemma-3-4b-it-Q4_K_M-GGUF",
5 filename="gemma-3-4b-it-Q4_K_M.gguf",
6 n_ctx=4096,
7)
8
9response = llm.create_chat_completion(messages=[
10 {"role": "user", "content": "Analyze this CV for a Software Engineer role: ..."}
11])
12print(response["choices"][0]["message"]["content"])