Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

simonguest
/
gemma-3-270m-it-code-hint-mlx-4bit

Text Generation
MLX
Safetensors
English
qora
fine-tuned
education
Model card Files Files and versions
xet
Community

Instructions to use simonguest/gemma-3-270m-it-code-hint-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use simonguest/gemma-3-270m-it-code-hint-mlx-4bit with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    # if on a CUDA device, also pip install mlx[cuda]
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("simonguest/gemma-3-270m-it-code-hint-mlx-4bit")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • MLX LM

    How to use simonguest/gemma-3-270m-it-code-hint-mlx-4bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "simonguest/gemma-3-270m-it-code-hint-mlx-4bit" --prompt "Once upon a time"
gemma-3-270m-it-code-hint-mlx-4bit
190 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
simonguest's picture
simonguest
Upload MLX mlx-4bit model
a009a4c verified 6 months ago
  • .gitattributes
    1.57 kB
    Upload MLX mlx-4bit model 6 months ago
  • README.md
    175 Bytes
    Upload MLX mlx-4bit model 6 months ago
  • added_tokens.json
    35 Bytes
    Upload MLX mlx-4bit model 6 months ago
  • chat_template.jinja
    1.53 kB
    Upload MLX mlx-4bit model 6 months ago
  • config.json
    1.69 kB
    Upload MLX mlx-4bit model 6 months ago
  • generation_config.json
    168 Bytes
    Upload MLX mlx-4bit model 6 months ago
  • model.safetensors
    151 MB
    xet
    Upload MLX mlx-4bit model 6 months ago
  • model.safetensors.index.json
    34.9 kB
    Upload MLX mlx-4bit model 6 months ago
  • special_tokens_map.json
    662 Bytes
    Upload MLX mlx-4bit model 6 months ago
  • tokenizer.json
    33.4 MB
    xet
    Upload MLX mlx-4bit model 6 months ago
  • tokenizer.model
    4.69 MB
    xet
    Upload MLX mlx-4bit model 6 months ago
  • tokenizer_config.json
    1.16 MB
    Upload MLX mlx-4bit model 6 months ago