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

WannabeArchitect
/
TinyAgent-1.1B-MLX

Text Generation
MLX
Safetensors
English
llama
function calling
on-device language model
Model card Files Files and versions
xet
Community

Instructions to use WannabeArchitect/TinyAgent-1.1B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use WannabeArchitect/TinyAgent-1.1B-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("WannabeArchitect/TinyAgent-1.1B-MLX")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • MLX LM

    How to use WannabeArchitect/TinyAgent-1.1B-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 "WannabeArchitect/TinyAgent-1.1B-MLX" --prompt "Once upon a time"
  • Atomic Chat
TinyAgent-1.1B-MLX
2.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
WannabeArchitect's picture
WannabeArchitect
Add files using upload-large-folder tool
a664db9 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    1 kB
    Add files using upload-large-folder tool over 1 year ago
  • config.json
    689 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • model.safetensors
    2.2 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model.safetensors.index.json
    14.3 kB
    Add files using upload-large-folder tool over 1 year ago
  • special_tokens_map.json
    72 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer.json
    3.62 MB
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer_config.json
    906 Bytes
    Add files using upload-large-folder tool over 1 year ago