HNHacker News
TopNewBestAskShowJobs

AMICABoard

649 karma · joined December 29, 2021

submissionscomments
AMICABoard··on Llama 3.1 in C
Oh thanks bro, nope it uses the simple llama 2 rope with tetha changed to 50k to match llama 3's. I'll check your python PR, have a deeper look at the meta llama 3 & 3.1 implementation and hack together something soonish. Awesome!
AMICABoard··on Llama 3.1 in C
Okay but hold your horses. Still a bit buggy.

Sample output:

Meta's Llama 3.1 models can output multilingual text which is awesome. Here are some examples output of 8 bit quantized 8b model with 100 token output (-n 100)... Quantization creates some brain damage.

English

My cat is funny. "Funny cat," I say, walking up to it. "What are you up to?" It sits up straight and looks at me with a tilted head, as if to say, "What's wrong with you?" Sometimes I just have to laugh at how funny a cat can be. So I say, "Okay, you're funny. I'll give you some treats." It stretches out a little and I give it some treats. It eats them up quickly and starts

German

Besitzen Sie einen Amiga 500? Wenn nicht, werden Sie wissen, dass dies ein Computer war, der im späten 1980er und frühen 1990er Jahren für Spiele verfügbar war, die für Personen mit bestimmten Körperverletzungen gedacht waren. Manchmal müssen wir uns an frühere Zeiten erinnern, die, wie wir jetzt wissen, schwierig waren. Hier ist ein Link, der meine Geschichte bespre

French

Le vin français est, à bien des égards, un vin des origines, car il a joué un rôle important dans l'histoire de la France". La réputation des vins de France repose principalement sur leurs qualités gustatives et la gestion des vignobles contrôlée, ce qui rend le vin français un "produit d'exception". La France est donc leader mondial de la production de vin, avec 25 % des exportations mon

Thai

แมวของฉันตลกชอบเล่นบนม้วนกระดาษ และฉันก็ไม่แน่ใจว่าควรจะยินยอมที่จะให้เล่นหรือไม่

เมื่อเวลาผ่านไป ฉันเห็นว่าแมวของฉันเล่นม้วนกระดาษเป็นระยะ ๆ ฉันจึงตัดสินใจที่จะลองปรับเปลี่ยนเกมให้สนุกขึ้น

Hindi

मेरी बिल्ली बहुत मज़ाया है और वह हमेशा अपनी शारीरिक गतिविधियों से मुझे मजाक करती है। वास्तव में, जब वह अपनी खिलौनों की चपपेट में आती है तो वह विशेष रूप से क्लासिक बन जाती है। इसके अलावा, वह एक छोटी सी च

AMICABoard··on Open source AI is the path forward
Okay if anyone wants to try Llama 3.1 inference on CPU, try this: https://github.com/trholding/llama2.c (L2E)

It's a bit buggy but it is fun.

Disclaimer: I am the author of L2E

AMICABoard··on Single C file Llama 3.1 Support in Llama 2 Everywhere
Hold your horses, it's still very buggy!

Meta's Llama 3.1 models can output multilingual text which is awesome. Here are some example of 8 bit quantized 8b model with 100 token output (-n 100)...

Quantization creates some brain damage...

Sample output:

English

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -n 100 -i " My cat is funny" My cat is funny. "Funny cat," I say, walking up to it. "What are you up to?" It sits up straight and looks at me with a tilted head, as if to say, "What's wrong with you?" Sometimes I just have to laugh at how funny a cat can be. So I say, "Okay, you're funny. I'll give you some treats." It stretches out a little and I give it some treats. It eats them up quickly and starts achieved tok/s: 5.376052

German

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -n 100 -i " Besitzen Sie einen Amiga 500?" Besitzen Sie einen Amiga 500? Wenn nicht, werden Sie wissen, dass dies ein Computer war, der im späten 1980er und frühen 1990er Jahren für Spiele verfügbar war, die für Personen mit bestimmten Körperverletzungen gedacht waren. Manchmal müssen wir uns an frühere Zeiten erinnern, die, wie wir jetzt wissen, schwierig waren. Hier ist ein Link, der meine Geschichte bespre achieved tok/s: 5.367599

French

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -n 100 -i " Le vin français est" Le vin français est, à bien des égards, un vin des origines, car il a joué un rôle important dans l'histoire de la France". La réputation des vins de France repose principalement sur leurs qualités gustatives et la gestion des vignobles contrôlée, ce qui rend le vin français un "produit d'exception". La France est donc leader mondial de la production de vin, avec 25 % des exportations mon achieved tok/s: 5.43299

Thai

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -n 100 -i " แมวของฉันตลก" แมวของฉันตลกชอบเล่นบนม้วนกระดาษ และฉันก็ไม่แน่ใจว่าควรจะยินยอมที่จะให้เล่นหรือไม่

เมื่อเวลาผ่านไป ฉันเห็นว่าแมวของฉันเล่นม้วนกระดาษเป็นระยะ ๆ ฉันจึงตัดสินใจที่จะลองปรับเปลี่ยนเกมให้สนุกขึ้น achieved tok/s: 5.376052

Hindi

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -n 100 -i " मेरी बिल्ली बहुत मज़ाया है" मेरी बिल्ली बहुत मज़ाया है और वह हमेशा अपनी शारीरिक गतिविधियों से मुझे मजाक करती है। वास्तव में, जब वह अपनी खिलौनों की चपपेट में आती है तो वह विशेष रूप से क्लासिक बन जाती है। इसके अलावा, वह एक छोटी सी च achieved tok/s: 5.460864

AMICABoard··on What would an LLM OS look like? (2023)
Nice article. We did a demo for booting to LLM and also as Kernel Module: https://github.com/trholding/llama2.c The whole things was funny and buggy, but since then we have been developing in stealth, even trying to raise VC capital. Our goal is to make computers like a buddy to whom you can talk to and explain things and get work done, kinda like a Jarvis. The way we interact with computers haven't changed for decades, its time to disrupt that to get more productivity. I also believe with this approach one can avoid installing different applications, when the computer (models) emulate activities done through applications. For example, cutting and pasting a dog from a dog photo onto a banner for a dog racing competition would not require you to be a graphics artist nor use tools like photshop / gimp. You could tell the computer and it would use segment anything to cut the dog, use Text and SD for banner text and bg paste the dog, seek your approval, search for the fastest, best and cheapest banner printing service and submit it. 10 years ago this could have been sci-fi, but now it is a possibility. Just need to connect the dots, package and polish it to make it a good product.
AMICABoard··on Libreactor: High performance generic event-driven framework for Linux
https://github.com/fredrikwidlund/libreactorng
AMICABoard··on Libreactor: High performance generic event-driven framework for Linux
link please bro
AMICABoard··on Show HN: Atopile – Design circuit boards with code
Okay here is a wish list:

Chip fan out modules. A repo of all popular chips with traces to pins fanned out and variations (Chip XXXX, Fanout A, Fanout B, Fanout C, Compact Fanout D etc) Ideally the fanout modules should have required decoupling caps etc placed compactly).

Accommodate provision for chips such as i.MX 6ULL, the have so many pins that writing connection code would be daunting, maybe have pin groups and groups wired to groups syntax.

Provisions for chips where pins can be configured.

A repo of supporting circuits/modules like clock, clock distribution, PMIC / Power modules etc.

A CPU for example module should come with a list of compatible auxiliary modules such as a suitable PMIC/Power module.

The user will have to wire the relevant pin groups from module to module.

AMICABoard··on Show HN: Atopile – Design circuit boards with code
Okay here is a feature that I'd like to see.

This has a VS Code extension, but I don't use VS Code, I like to use other editors like Kate.

Having a LSP Server and xml for syntax would be a great feature.

AMICABoard··on Show HN: Atopile – Design circuit boards with code
Really love this idea! I will give it a try. I have seen code to circuit before but this seems like it has potential.
AMICABoard··on The Second Batch of the Open Source AI Grants
We are trying to create a proper OS that boots to an LLM. A toy demo is available in the releases: https://github.com/trholding/llama2.c

Can we apply?

AMICABoard··on Llamafile lets you distribute and run LLMs with a single file
Which is a smaller model, that gives good output and that works best with this. I am looking to run this on lower end systems.

I wonder if someone has already tried https://github.com/jzhang38/TinyLlama, could save me some time :)

AMICABoard··on Llamafile lets you distribute and run LLMs with a single file
This puts a super great evil happy grin on my face. I am going to add it in the next version of L2E OS! Thank you jart, thank you mozilla! Love you folks!
AMICABoard··on Cosmopolitan v3.1
Oops they did it again! Massive fan, and I use it!
AMICABoard··on Show HN: Llama Running on a Microcontroller
epic!
AMICABoard··on Cosmopolitan Third Edition
Super fast. Love of the craft! Never had an experience where wizard type of coders of projects would respond and fix so fast, even before you finish testing of the previous stuff :)
AMICABoard··on Cosmopolitan Third Edition
cloudflare and dns over https via cloudflared works for me...
AMICABoard··on Cosmopolitan Third Edition
exactly!
AMICABoard··on Cosmopolitan Third Edition
Discuss here: https://github.com/jart/cosmopolitan/discussions Add issues here: https://github.com/jart/cosmopolitan/issues
AMICABoard··on Cosmopolitan Third Edition
Yes they do!

https://github.com/jart/cosmopolitan/tree/master/third_party...

and

https://github.com/trholding/llama2.c

AMICABoard··on Cosmopolitan Third Edition
I swear this is the coolest project ever!!! I am using cosmo for our stuff too. jart & the team is super dedicated and responsive.

Kinda feels like they are super intelligent alien beings from another planet trying to save us from software bloat and fragmentation.

> POSIX even changed their rules about binary in shell scripts specifically to let us do it.

I don't know what to say.

AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
try qemu or boot from pendrive

Qemu:

qemu-system-x86_64 -display gtk,zoom-to-fit=off -m 512 -accel kvm -vga virtio -cdrom l2eos.iso

AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
the model is included
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
yes!
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
:)
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
Lol :)
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
bigger, better models soon
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
Asking repeatedly would be impractical. I have some vague idea in my mind called the fact engine. It's like a wiki where people could key in facts. Also facts based on "timeframes", ie 1800's 1900's etc (eg Moon Landing). The fact engine feeds a model that checks for hallucinations, and also rule based engines. Then a final score would be assigned based on consensus. Something like that.
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
FAKIR HAS NAILS ON BOOT SCREEN :)
AMICABoard··on Llama 2 Everywhere (L2E): Standalone, Binary Portable, Bootable Llama 2
Thank you :)
← PreviousPage 2 of 5Next →