logoalt Hacker News

franzetoday at 7:55 AM9 repliesview on HN

I created "apfel" https://github.com/Arthur-Ficial/apfel a CLI for the apple on-device local foundation model (Apple intelligence) yeah its super limited with its 4k context window and super common false positives guardrails (just ask it to describe a color) ... bit still ... using it in bash scripts that just work without calling home / out or incurring extra costs feels super powerful.


Replies

Multiplayertoday at 9:04 PM

this is great! Incredibly fast and is working pretty well running loads on my m4 max studio.

Weirdly though I'm getting things like this: Apple FM is fast and free but has a hard limitation — it can't process prompts with Spanish/non-English words, which is a dealbreaker for California and Southwest real estate where half the street names are Spanish.

podlptoday at 2:11 PM

Neat! I’ve actually been building with AFM, including training some LoRA adapters to help steer the model. With the right feedback mechanisms and guardrails, you can even use it for code generation! Hopefully I’ll have a few apps and tools out soon using AFM. I think embedded AI is the future, and in the next few years more platforms will come around to AI as a local API call, not an authorized HTTP request. That said, AFM is still incredibly premature and I’m experimenting with newer models that perform much better.

newman314today at 6:02 PM

This is quite interesting. I wonder if AFM is smart enough to do spam classification.

_doctor_lovetoday at 3:48 PM

Dieser apfel ist sehr lecker!

chidtoday at 1:33 PM

this is real neat. I'll give it a spin.

LeoDaVibecitoday at 9:07 AM

Honestly I can't believe Apple put that foundation model product out the door. I was so excited about it, but when I tried it, it was such a disappointment. Glad to hear you calling that out so I know it wasn't just me.

Looks like they have pivoted completely over to Gemini, thank god.

show 2 replies
AbuAssartoday at 8:37 AM

nice project, thanks for sharing.

any plans for providing it through brew for easy installation?

show 3 replies
JumpCrisscrosstoday at 10:31 AM

…is it a reference to apfelwein?

show 2 replies
3yr-i-frew-uptoday at 10:29 AM

[dead]