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

leftyfeep
/
G3-4B-APE-2

Transformers
Safetensors
English
text-generation-inference
unsloth
gemma3
Model card Files Files and versions
xet
Community

Instructions to use leftyfeep/G3-4B-APE-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use leftyfeep/G3-4B-APE-2 with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("leftyfeep/G3-4B-APE-2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use leftyfeep/G3-4B-APE-2 with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for leftyfeep/G3-4B-APE-2 to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for leftyfeep/G3-4B-APE-2 to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for leftyfeep/G3-4B-APE-2 to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="leftyfeep/G3-4B-APE-2",
        max_seq_length=2048,
    )
G3-4B-APE-2
8.64 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
leftyfeep's picture
leftyfeep
(Trained with Unsloth)
56b2e03 verified about 1 year ago
  • .gitattributes
    1.57 kB
    (Trained with Unsloth) about 1 year ago
  • README.md
    604 Bytes
    Unsloth Model Card about 1 year ago
  • added_tokens.json
    35 Bytes
    (Trained with Unsloth) about 1 year ago
  • chat_template.json
    1.62 kB
    (Trained with Unsloth) about 1 year ago
  • config.json
    928 Bytes
    (Trained with Unsloth) about 1 year ago
  • generation_config.json
    168 Bytes
    (Trained with Unsloth) about 1 year ago
  • model-00001-of-00002.safetensors
    4.96 GB
    xet
    (Trained with Unsloth) about 1 year ago
  • model-00002-of-00002.safetensors
    3.64 GB
    xet
    (Trained with Unsloth) about 1 year ago
  • model.safetensors.index.json
    90.6 kB
    (Trained with Unsloth) about 1 year ago
  • preprocessor_config.json
    570 Bytes
    (Trained with Unsloth) about 1 year ago
  • processor_config.json
    70 Bytes
    (Trained with Unsloth) about 1 year ago
  • special_tokens_map.json
    670 Bytes
    (Trained with Unsloth) about 1 year ago
  • tokenizer.json
    33.4 MB
    xet
    (Trained with Unsloth) about 1 year ago
  • tokenizer.model
    4.69 MB
    xet
    (Trained with Unsloth) about 1 year ago
  • tokenizer_config.json
    1.16 MB
    (Trained with Unsloth) about 1 year ago