Instructions to use Mykes/gemma_pretrain_3_epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Mykes/gemma_pretrain_3_epoch 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 Mykes/gemma_pretrain_3_epoch:Q2_K # Run inference directly in the terminal: llama cli -hf Mykes/gemma_pretrain_3_epoch:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Mykes/gemma_pretrain_3_epoch:Q2_K # Run inference directly in the terminal: llama cli -hf Mykes/gemma_pretrain_3_epoch:Q2_K
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 Mykes/gemma_pretrain_3_epoch:Q2_K # Run inference directly in the terminal: ./llama-cli -hf Mykes/gemma_pretrain_3_epoch:Q2_K
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 Mykes/gemma_pretrain_3_epoch:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf Mykes/gemma_pretrain_3_epoch:Q2_K
Use Docker
docker model run hf.co/Mykes/gemma_pretrain_3_epoch:Q2_K
- LM Studio
- Jan
- Ollama
How to use Mykes/gemma_pretrain_3_epoch with Ollama:
ollama run hf.co/Mykes/gemma_pretrain_3_epoch:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use Mykes/gemma_pretrain_3_epoch with Docker Model Runner:
docker model run hf.co/Mykes/gemma_pretrain_3_epoch:Q2_K
- Lemonade
How to use Mykes/gemma_pretrain_3_epoch with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Mykes/gemma_pretrain_3_epoch:Q2_K
Run and chat with the model
lemonade run user.gemma_pretrain_3_epoch-Q2_K
List all available models
lemonade list
- Atomic Chat
Download config.json from Mykes/gemma_pretrain_3_epoch: direct link, hf CLI and curl.
- Browser
- Download file 948 Bytes
-
https://huggingface.co/Mykes/gemma_pretrain_3_epoch/resolve/main/config.json
- Command line
-
hf download hf://Mykes/gemma_pretrain_3_epoch/config.json
-
curl -L -o config.json https://huggingface.co/Mykes/gemma_pretrain_3_epoch/resolve/main/config.json
948 Bytes
| { | |
| "_name_or_path": "unsloth/gemma-2-2b-it-bnb-4bit", | |
| "architectures": [ | |
| "Gemma2ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_logit_softcapping": 50.0, | |
| "bos_token_id": 2, | |
| "cache_implementation": "hybrid", | |
| "eos_token_id": [ | |
| 1, | |
| 107 | |
| ], | |
| "final_logit_softcapping": 30.0, | |
| "head_dim": 256, | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_activation": "gelu_pytorch_tanh", | |
| "hidden_size": 2304, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 9216, | |
| "max_position_embeddings": 8192, | |
| "model_type": "gemma2", | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 26, | |
| "num_key_value_heads": 4, | |
| "pad_token_id": 0, | |
| "query_pre_attn_scalar": 256, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "sliding_window": 4096, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.48.3", | |
| "unsloth_version": "2025.2.4", | |
| "use_cache": true, | |
| "vocab_size": 256000 | |
| } | |