Atome-FE / llama-node

Believe in AI democratization. llama for nodejs backed by llama-rs, llama.cpp and rwkv.cpp, work locally on your laptop CPU. support llama/alpaca/gpt4all/vicuna/rwkv model.
https://llama-node.vercel.app/
Apache License 2.0
865 stars 63 forks source link

Expand on install/usage instructions #26

Closed bakman2 closed 1 year ago

bakman2 commented 1 year ago

readme states, install:

npm install llama-node and provides some usage examples, which don't actually work, it is typescript, so there are more requirements.

Please provide all prerequisite installation instructions that actually provides a working example.

It might all be second nature to experts, but for the less fortunate it is not as straight forward. (ie. don't redirect someone to some examples directory with a config file as that still requires prerequisite steps).

hlhr202 commented 1 year ago

@bakman2 Thanks for your feedback. will maintain more examples for pure javascript.

hlhr202 commented 1 year ago

served a doc site here. https://llama-node.vercel.app/docs/start provide pure javascript(ES Module) examples. (But be careful about the es module type)