Better HN
topnewbestaskshowjobs
Log inSign up

lantiga

10 karma · joined Sep 9, 2011 (15y ago) · 11 submissions

Submissions

comment 3y ago · link · parent

Correct, the original is GPL 3.

To produce this implementation from the LLaMA paper we started from github.com/karpathy/nanoGPT, the LLaMA architecture is really similar to GPT. For instance we added rotary positional encoding starting from the original RoPE repo published with the paper.

We finally ran the original model to make sure the two models were numerically.

comment 3y ago · link · parent

Some form of that is very likely the future

comment 3y ago · link · parent

The AI ecosystem is almost entirely Apache 2/MIT/BSD, and GPL is just incompatible with it.

This is a blocker to mixing and matching, a simple Apache 2 rewrite fixes that problem.

Weights? It’s another issue but we’ll be looking forward to fixing that too.

comment 7y ago · link · parent

Pretty much (co-author here). You can approach the book as a developer with little or no background in ML.

The purpose is exactly to get developers up to speed so that they can start perusing the already excellent online docs.

Hope you like it :-)

comment 12y ago · link · parent

Shen is pretty amazing, it's a full fledged functional language with lots of features and lots of compilation backends. I don't think there's a lot of ground for a comparison with ki, which is much more limited in scope.

comment 12y ago · link · parent

I have ideas around providing CSP in ki, but so far I haven't implemented them. All there is in ki right now is the (letc ...) form (see http://ki-lang.org/api.html#misc), which provides very similar functionality to LiveScript's backcalls. It is no CSP but it allows to straighten up nested async calls.

comment 12y ago · link · parent

It's actually named KL (with a lower-case L), but yes, that was close.

comment 12y ago · link · parent

The main difference is structural sharing: I can update a Clojure map with a new value, which will create another map that shares the vast majority of the data with the former map. With plain JavaScript, you'd have to clone your object, update it and freeze it again. In addition Clojure/ClojureScript/mori offer a whole API designed to leverage immutable data structures.

comment 12y ago · link · parent

I agree, LispyScript is very neat, closer to a full-fledged language than ki. On the other hand, ki is focused on ClojureScript's immutable data structures and related idioms - in fact it's just a thin layer around those.

comment 12y ago · link · parent

Glad you find it interesting, looking forward to future feedback.

comment 12y ago · link · parent

[Hi, author here] Yes, that is basically the idea. ki functions are js functions, same goes for vars, which makes it easy to jump from js to ki and back, without giving up on immutability, etc. Note that ki is not really intended as a ClojureScript alternative at all. It's more a way to take advantage of its data structures and some of its expressiveness from a pure JS ecosystem.