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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

yaycute
/
gemma3-270m-artificial-widget

Text Generation
Transformers.js
ONNX
Safetensors
MLX
gemma3_text
gemma3
gemma
google
Model card Files Files and versions
xet
Community

Instructions to use yaycute/gemma3-270m-artificial-widget with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use yaycute/gemma3-270m-artificial-widget with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('text-generation', 'yaycute/gemma3-270m-artificial-widget');
  • MLX

    How to use yaycute/gemma3-270m-artificial-widget 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("yaycute/gemma3-270m-artificial-widget")
    
    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 yaycute/gemma3-270m-artificial-widget with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "yaycute/gemma3-270m-artificial-widget" --prompt "Once upon a time"
gemma3-270m-artificial-widget
6.67 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
chee rabbits
Upload folder using huggingface_hub
61b61d7 verified about 1 month ago
  • onnx
    Upload folder using huggingface_hub about 1 month ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub about 1 month ago
  • README.md
    1.04 kB
    Upload folder using huggingface_hub about 1 month ago
  • config.json
    1.34 kB
    Upload folder using huggingface_hub about 1 month ago
  • generation_config.json
    128 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • model.safetensors
    536 MB
    xet
    Upload folder using huggingface_hub about 1 month ago
  • model.safetensors.index.json
    17.2 kB
    Upload folder using huggingface_hub about 1 month ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer.json
    33.4 MB
    xet
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer_config.json
    1.16 MB
    Upload folder using huggingface_hub about 1 month ago