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

wzebrowski
/
OpenSML-150M

Text Generation
MLX
Safetensors
English
pretraining
from-scratch
small-language-model
post-training
silicon
Model card Files Files and versions
xet
Community

Instructions to use wzebrowski/OpenSML-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use wzebrowski/OpenSML-150M 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("wzebrowski/OpenSML-150M")
    
    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 wzebrowski/OpenSML-150M with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "wzebrowski/OpenSML-150M" --prompt "Once upon a time"
  • Atomic Chat
OpenSML-150M / tokenizer
2.29 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
wzebrowski's picture
wzebrowski
Replace legacy family card with private OpenSML V2 pretraining preview
d746116 verified 18 days ago
  • corpus.json
    1.55 kB
    Replace legacy family card with private OpenSML V2 pretraining preview 18 days ago
  • manifest.json
    988 Bytes
    Replace legacy family card with private OpenSML V2 pretraining preview 18 days ago
  • report.json
    889 Bytes
    Replace legacy family card with private OpenSML V2 pretraining preview 18 days ago
  • tokenizer.json
    2.29 MB
    Replace legacy family card with private OpenSML V2 pretraining preview 18 days ago
  • tokenizer_config.json
    200 Bytes
    Replace legacy family card with private OpenSML V2 pretraining preview 18 days ago