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

peterk2023
/
ELF-B-alpaca-mlx

Text Generation
MLX
English
elf
diffusion-language-model
continuous-diffusion
flow-matching
apple-silicon
instruction-tuning
alpaca
Model card Files Files and versions
xet
Community

Instructions to use peterk2023/ELF-B-alpaca-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use peterk2023/ELF-B-alpaca-mlx 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("peterk2023/ELF-B-alpaca-mlx")
    
    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 peterk2023/ELF-B-alpaca-mlx with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "peterk2023/ELF-B-alpaca-mlx" --prompt "Once upon a time"
ELF-B-alpaca-mlx
418 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
peterk2023's picture
peterk2023
Initial release: Alpaca fine-tune of ELF-B (MLX, 26000 steps)
aed93ee verified 21 days ago
  • .gitattributes
    1.52 kB
    initial commit 21 days ago
  • README.md
    3.61 kB
    Initial release: Alpaca fine-tune of ELF-B (MLX, 26000 steps) 21 days ago
  • checkpoint_26000_final.safetensors
    418 MB
    xet
    Initial release: Alpaca fine-tune of ELF-B (MLX, 26000 steps) 21 days ago
  • train_alpaca_ELF-B-mlx.yml
    1.58 kB
    Initial release: Alpaca fine-tune of ELF-B (MLX, 26000 steps) 21 days ago