klotz: osx* + python*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. This repository provides access to Apple's built-in large language models via Node.js and Python packages, requiring only macOS 26+ on Apple Silicon and the Xcode Command Line Tools. It offers two tiers of interaction: an on-device tier using a small sparse model (AFM 3 Core Advanced) that ensures privacy and guaranteed JSON output through constrained decoding, and a cloud tier via Apple's Private Cloud Compute which provides more powerful reasoning capabilities but sends prompts off the machine.

    - The library includes both npm (`apple-llm`) and PyPI (`apple-llm`) packages.
    - On-device models are noted to be poor at code generation and long reasoning tasks.
    - Structured JSON output is guaranteed on-device via a specific "GenerationSchema" dialect used by Apple's decoder.
    - The cloud tier uses Shortcuts as an intermediary because the direct Private Cloud Compute API requires restricted developer entitlements.
    - Users can utilize built-in tools like OCR, barcode reading, and Spotlight semantic search for local RAG (macOS 27+).
  2. Fast and easy LLM serving for the mac.
    2024-10-31 Tags: , , , , , by klotz
  3. 2024-04-26 Tags: , , , , , by klotz
  4. On Linux and macOS you can find the user base binary directory by running python -m site --user-base and adding bin to the end. F
    2019-04-23 Tags: , , , , by klotz
  5. 2019-04-23 Tags: , by klotz
  6. 2018-07-18 Tags: , , , , , by klotz
  7. You can fix the problem on Mac OS X Mavericks and Yosemite by doing the following:

    cd ~/.matplotlib/
    fc-list # Should take a couple minutes.
    After fc-list finishes running you will be able to import the package using import matplotlib.pyplot as plt.
    2017-07-29 Tags: , , , by klotz
  8. 2013-03-30 Tags: , , , , , by klotz
  9. 2012-08-21 Tags: , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: osx + python

About - Propulsed by SemanticScuttle