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

masahiroid
/
pythia-160m-mlx

Text Generation
MLX
Safetensors
English
Japanese
gpt_neox
pythia
gpt-neox
Model card Files Files and versions
xet
Community

Instructions to use masahiroid/pythia-160m-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use masahiroid/pythia-160m-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("masahiroid/pythia-160m-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 masahiroid/pythia-160m-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 "masahiroid/pythia-160m-mlx" --prompt "Once upon a time"
  • Atomic Chat
pythia-160m-mlx
328 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
masahiroid's picture
masahiroid
SECURITY.md: add model-audit-lite DOI (Zenodo)
423ac1e verified 16 days ago
  • .gitattributes
    1.52 kB
    initial commit 19 days ago
  • README.md
    3.41 kB
    Update links: masahirocom -> masahiroid; install via PyPI (pip install model-audit-lite) 16 days ago
  • SECURITY.md
    4.5 kB
    SECURITY.md: add model-audit-lite DOI (Zenodo) 16 days ago
  • bom.json
    4.46 kB
    Security: bilingual SECURITY.md with verified-conversion audit (model-audit-lite 0.5.2), ML-BOM, README link 16 days ago
  • config.json
    614 Bytes
    Add files using upload-large-folder tool 19 days ago
  • model.safetensors
    325 MB
    xet
    Add files using upload-large-folder tool 19 days ago
  • model.safetensors.index.json
    10.1 kB
    Add files using upload-large-folder tool 19 days ago
  • tokenizer.json
    3.56 MB
    Add files using upload-large-folder tool 19 days ago
  • tokenizer_config.json
    377 Bytes
    Add files using upload-large-folder tool 19 days ago