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

ntedvs
/
irex

Text Generation
MLX
Safetensors
English
regex
javascript
tiny
from-scratch
Model card Files Files and versions
xet
Community

Instructions to use ntedvs/irex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use ntedvs/irex 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("ntedvs/irex")
    
    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 ntedvs/irex with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "ntedvs/irex" --prompt "Once upon a time"
  • Atomic Chat
irex
10.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ntedvs's picture
ntedvs
Upload folder using huggingface_hub
7f13220 verified 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • LICENSE
    1.07 kB
    Upload folder using huggingface_hub 3 days ago
  • README.md
    3.37 kB
    Upload folder using huggingface_hub 2 days ago
  • bpe.json
    262 kB
    Upload folder using huggingface_hub 3 days ago
  • config.json
    179 Bytes
    Upload folder using huggingface_hub 3 days ago
  • engine.py
    1.03 kB
    Upload folder using huggingface_hub 3 days ago
  • grammar.py
    19.1 kB
    Upload folder using huggingface_hub 3 days ago
  • hints.py
    2.41 kB
    Upload folder using huggingface_hub 3 days ago
  • infer.py
    5.89 kB
    Upload folder using huggingface_hub 3 days ago
  • model.py
    5.25 kB
    Upload folder using huggingface_hub 3 days ago
  • model.safetensors
    10.4 MB
    xet
    Upload folder using huggingface_hub 3 days ago
  • requirements.txt
    29 Bytes
    Upload folder using huggingface_hub 3 days ago
  • tokenizer.py
    2.79 kB
    Upload folder using huggingface_hub 3 days ago