Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

codelion
/
malm-165m

Text Generation
MLX
memory-augmented
code-generation
retrieval-augmented
python
code-search
Model card Files Files and versions
xet
Community

Instructions to use codelion/malm-165m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use codelion/malm-165m 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("codelion/malm-165m")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use codelion/malm-165m with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "codelion/malm-165m" --prompt "Once upon a time"
malm-165m
661 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
codelion's picture
codelion
Update README.md
417fffd verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    3.89 kB
    Update README.md 3 months ago
  • config.json
    180 Bytes
    Upload folder using huggingface_hub 4 months ago
  • functions.json
    272 kB
    Upload folder using huggingface_hub 4 months ago
  • inference.py
    8.64 kB
    Upload inference.py with huggingface_hub 4 months ago
  • model.npz

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    661 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    458 kB
    Upload folder using huggingface_hub 4 months ago