Skip to content

The model doesn't respond properly #625

@SudarshanShetty1796

Description

@SudarshanShetty1796

I'm using the following model:
https://www.kaggle.com/models/google/gemma-3/gemmaCpp/3.0-4b-it-sfp

When I ask a question, the model starts generating gibberish text continuously and doesn’t stop at all. I’ve tried rebuilding the project multiple times, but the issue persists right from the first prompt.

Image

Commands used:

make -j4 gemma

./gemma \     
--tokenizer tokenizer.spm \
--weights 4b-it-sfp.sbs \
--weight_type sfp \
--model 4b-it

System Details:
macOS (Apple Silicon - M4 chip)
CMake version: 3.22.0
Compiler: Apple Clang (Xcode CLT)
gemma.cpp repo from GitHub, built via standard cmake and make

Could this issue be related to the model itself, or is it likely caused by something in the build or runtime setup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions