HN user

AMICABoard

649 karma
Posts31
Comments141
View on HN
github.com 1mo ago

Makefile based build for Shrike-lite and Renesas SLG47910V FPGA

AMICABoard
2pts1
github.com 1y ago

LLM Running on Commodore C64

AMICABoard
3pts0
github.com 1y ago

Show HN: Llama2.c on a Commodore C64

AMICABoard
10pts7
twitter.com 1y ago

Llama2.c (early alpha) on Sharp X68030

AMICABoard
2pts0
twitter.com 1y ago

Llama2.c LLM on Vintage Sega Dreamcast Cluster

AMICABoard
4pts1
twitter.com 1y ago

L2E llama2.c is running on those ancient-ass Amigas

AMICABoard
3pts1
twitter.com 1y ago

L2E Llama2.c in a PDF in a ZIP in a PNG in a X post / tweet

AMICABoard
3pts0
github.com 1y ago

Llama2.c Running in a PDF

AMICABoard
6pts1
github.com 1y ago

L2E llama2.c running in a PDF in a Shroedinger PNG [pdf]

AMICABoard
6pts2
twitter.com 1y ago

Show HN: L2E Llama2.c in a PDF in a Polyglot PNG

AMICABoard
1pts1
twitter.com 1y ago

Reviving Retro Computing: Running Modern LLMs on Amiga, Atari ST and Classic Mac

AMICABoard
2pts2
old.reddit.com 1y ago

The first LLM OS ever had a StarTrek GUI and told silly stories

AMICABoard
2pts0
github.com 1y ago

Llama 3.1 in C

AMICABoard
212pts36
github.com 1y ago

Single C file Llama 3.1 Support in Llama 2 Everywhere

AMICABoard
1pts1
en.wikipedia.org 2y ago

Juma the Jaguar

AMICABoard
1pts0
github.com 2y ago

Micrograd in C

AMICABoard
2pts0
github.com 2y ago

Play a hidden framebuffer Doom on TempleDOS

AMICABoard
1pts1
github.com 2y ago

Show HN: Tiny OS that boots to LLAMA2, has DOOM and easter eggs

AMICABoard
2pts0
github.com 2y ago

A Linux OS that boots to LLAMA2 and has a startrek like UI

AMICABoard
73pts35
github.com 2y ago

LLAMA2 Running as a Unikraft Unikernel

AMICABoard
2pts0
twitter.com 2y ago

OS that boots to LLAMA2 also runs LLAMA2 as kernel module

AMICABoard
34pts6
github.com 2y ago

I made an OS that boots into an LLM!

AMICABoard
1pts1
github.com 2y ago

Llama2.c L2E LLM – Multi OS Binary and Unikernel Release

AMICABoard
76pts29
github.com 3y ago

Cosmopolitan Supports Cross Platform GUI Sort Of. Good Progress so far.

AMICABoard
5pts0
github.com 3y ago

Printout contains coded info about the source device, such as the serial number

AMICABoard
2pts0
electronics.stackexchange.com 3y ago

STM Nerd Sniping or CubeMX bug or mythical feature?

AMICABoard
1pts0
waviot.com 3y ago

NB-Fi, a Better and Open Lora, SigFox, NB-IoT Alternative?

AMICABoard
2pts1
codeberg.org 3y ago

Featherwiki.com – 2.1MB Compact Multi OS Single Binary Wiki Server

AMICABoard
118pts27
hackaday.com 3y ago

Redbean – Server that runs on 6 OSes

AMICABoard
8pts1
feather.wiki 4y ago

Feather Wiki: app for creating personal non-linear notebooks, databases, wikis

AMICABoard
310pts73

Damn Good stuff, bot the doom and this linux of your! Kudos.

I had done LLM in PDF sometime Nov last year but it wasn't released. Since the doom in pdf uptick, I had released a demo here:

https://x.com/VulcanIgnis/status/1879649889178837025

Actually you don't need an old version of emscripten, hit me up for the Makefile and pdf templates or wait till offical release. My build script will make the pdf work both on chrome and firefox, adobe support is pending.

One super upvote!I used used this cray ack to some demo code. I really admire kej715 for adding a backend to ack just from reading specification and limited access to hardware as there are no loving cray 1's anymore. I had to try it! Did't build at first so I even contributed a tiny fix to make it work on my sys.

This is also the guy who wrote a DtCyber that emulates many vintage super computers and stuff. Pretty cool! Thank you man!

L2E Llama2.c in a PDF in a Shroedinger PNG

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

Download the header image from my repo, which is a Polyglot PNG (both a PNG and a PDF). Rename the extension from .png to .pdf and open it in Firefox to run llama2.c inside the PDF! Note that this doesn't work in Chrome.

The PDF contains a version of Karpathy's llama2.c running the tiny 260k model. For more details, check: https://twitter.com/VulcanIgnis/status/1879649889178837025.Y... can find the image here: https://github.com/trholding/llama2.c/blob/master/assets/l2e....

Pure PDF versions of the smaller and smol models are compatible with both Chrome and Firefox, but Adobe Acrobat is not yet supported. I created the PDF part back in November, planning to turn it into a self-regenerating comic demo and add Acrobat support. If Adobe doesn't update their JS engine or improve documentation, I might fork my own reader with WASM for better performance and AI capabilities in PDFs.

Emscripten was used to compile this to something between ASM.JS and JS. Enjoy experimenting with this, though remember it's a tiny 260k model, not super intelligent.

I am passionate about PDFs and frustrated with Adobe's JS engine, which isn't true JS 1.3. This project represents running LLMs inside documents, turning documents into LLM OS. If Adobe doesn't fix JS in PDF, I'm motivated to enhance PDF capabilities myself. This is not the thermodynamic god, just pee/acc where we accelerate peedf :)

Okay its a tiny 260k model that is running in it. I had made the pdf part back in in Nov, I thought I'd share since stuff inside PDF is a trend. I'll upload the pure PDF larger and small models which work both on chrome and firefox pdf readers.

I am pretty angry at Adobe as their JS Engine is not JS 1.3 as claimed. It is something in between... So we invented LLM inside Documents. And Documents becoming LLM OS. So Adobe, if you are not going to fix JS in PDF, I'll fork my own reader with WASM and all the bells and whistles!

This is not the thermodynamic god, just pee/acc where we accelerate peedf :)

Llama 3.1 in C 2 years ago

Thank you :) The open source community is great, the core is a confluence of the awesome work of others. I'm just a orchestrator. I wish I had more time to make it into something like llama.cpp and an OS around it.

Llama 3.1 in C 2 years ago

Likely, cos other langs too. The fault may be my incomplete implementation.

Llama 3.1 in C 2 years ago

My bad, I directly linked to the C file instead of the project here:

It is a program that given a model file, tokenizer file and a prompt, it continues to generate text.

To get it to work, you need to clone and build this: https://github.com/trholding/llama2.c

So the steps are like this:

First you'll need to obtain approval from Meta to download llama3 models on hugging face.

Go to https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct, fill the form and then go to https://huggingface.co/settings/gated-repos see acceptance status. Once accepted, do the following to download model, export and run.

huggingface-cli download meta-llama/Meta-Llama-3.1-8B-Instruct --include "original/*" --local-dir Meta-Llama-3.1-8B-Instruct

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

cd llama2.c/

# Export Quantized 8bit

python3 export.py ../llama3.1_8b_instruct_q8.bin --version 2 --meta-llama ../Meta-Llama-3.1-8B-Instruct/original/

# Fastest Quantized Inference build

make runq_cc_openmp

# Test Llama 3.1 inference, it should generate sensible text

./run ../llama3.1_8b_instruct_q8.bin -z tokenizer_l3.bin -l 3 -i " My cat"

Llama 3.1 in C 2 years ago

Hmm yeah, it started as fork of karpathy's llama2.c and some experiments. So it is an abomination I agree.

Llama 3.1 in C 2 years ago

Actually "My cat is funny" was the prompt it continued that. I got to fix some stuff to reflect meta's implementation and also fix the chat mode, then it would be usable. Will take a few days to do that.

Llama 3.1 in C 2 years ago

To be honest your pr and these notes are super helpful cos, otherwise I'd have been too lazy to read up the original implementation, but I can't merge it. Will make the fix soonish and credit it to you. I'll tell you a secret, nobody is good at C except for a few wizards like woz, Linus, jart, Knuth, Bellard and the like. I am also a total looser at C. I just love C. And also the base of this is mostly Karpathy's work and other awesome folks who are way better at everything than me.

Llama 3.1 in C 2 years ago

Llama.cpp is the king, this is just a lowly wanna be peasant. But some day it will reach there.

Llama 3.1 in C 2 years ago

I think the non English part is mostly hit and miss in this primitive version, probably cos the implementation is not correct. I got to read up a lot and fix it.

Llama 3.1 in C 2 years ago

Maybe we should make "Brain Damage Factor" a official term to denote how much types of quantizations degrade output compared to unquantized.:)