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
File size: 948 Bytes
d3c4280 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | {
"_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
}
|