ModelHub XC b0ddf2b1b8 初始化项目,由ModelHub XC社区提供模型
Model: Phani1479432/rocky-gemma-2b
Source: Original Platform
2026-07-09 08:57:10 +08:00

license, library_name, pipeline_tag, extra_gated_heading, extra_gated_prompt, extra_gated_button_content, tags, base_model
license library_name pipeline_tag extra_gated_heading extra_gated_prompt extra_gated_button_content tags base_model
gemma mlx text-generation Access Gemma on Hugging Face To access Gemma on Hugging Face, youre required to review and agree to Googles usage license. To do this, please ensure youre logged in to Hugging Face and click below. Requests are processed immediately. Acknowledge license
conversational
mlx
ollama
google/gemma-2-2b-it

Rocky Gemma 2B (It)

Rocky Gemma 2B is a fine-tuned model based on google/gemma-2-2b-it, customized to speak and act like Rocky.

🦙 Run with Ollama

You can download and run this model instantly on your local Ollama instance with a single command:

curl -sSL https://huggingface.co/Phani1479432/rocky-gemma-2b/raw/main/Modelfile | ollama create rocky -f - && ollama run rocky

What this command does:

  1. Downloads the Modelfile: Fetches the custom configuration specifying stop parameters and formatting templates directly from Hugging Face.
  2. Creates the Model locally: Registers a new local model named rocky in Ollama.
  3. Downloads the GGUF Weights: Automatically pulls the quantized GGUF weights (rocky-q4_k_m.gguf) directly from Hugging Face.
  4. Starts the Chat: Launches an interactive shell session for you to chat with Rocky.

Run with MLX

If you are on Apple Silicon, you can use the MLX library to run the fused model weights:

pip install mlx-lm
python -m mlx_lm.generate --model Phani1479432/rocky-gemma-2b --prompt "Hey Rocky, what's your training routine like?"
Description
Model synced from source: Phani1479432/rocky-gemma-2b
Readme 30 KiB
Languages
Jinja 100%