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

LetheanNetwork
/
LEM-Gemma3-4B

Text Generation
MLX
Safetensors
GGUF
English
gemma3
lem
ethics
alignment
cymatic-linguistic-bpl
rocm
llama-cpp
conversational
Eval Results (legacy)
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use LetheanNetwork/LEM-Gemma3-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use LetheanNetwork/LEM-Gemma3-4B with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("LetheanNetwork/LEM-Gemma3-4B")
    
    prompt = "Write a story about Einstein"
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )
    
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use LetheanNetwork/LEM-Gemma3-4B with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "LetheanNetwork/LEM-Gemma3-4B"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "LetheanNetwork/LEM-Gemma3-4B"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "LetheanNetwork/LEM-Gemma3-4B",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
LEM-Gemma3-4B
2.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
lthn's picture
lthn
Upload README.md with huggingface_hub
129a6e3 verified 3 months ago
  • .gitattributes
    200 Bytes
    feat: add full GGUF range (1-bit to 16-bit, 17 quants) + updated model card 3 months ago
  • 19d-radar-chart.png
    309 kB
    xet
    fix: relabel chart axes — positive framing, spectral stability 3 months ago
  • 19d-radar-chart.svg
    8.76 kB
    feat: add full GGUF range (1-bit to 16-bit, 17 quants) + updated model card 3 months ago
  • README.md
    8.47 kB
    Upload README.md with huggingface_hub 3 months ago
  • chat_template.jinja
    1.53 kB
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • config.json
    980 Bytes
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • generation_config.json
    215 Bytes
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • model.safetensors
    2.18 GB
    xet
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • model.safetensors.index.json
    79.8 kB
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • sovereign-signature-chart.jsx
    6.87 kB
    docs: move 19D radar chart to top of model card 3 months ago
  • tokenizer.json
    33.4 MB
    xet
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago
  • tokenizer_config.json
    715 Bytes
    Initial upload: LEM-Gemma3-4B graduated model (CL-BPL P6 iter 4200) 3 months ago