Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Llama2.c port to JavaScript
# Llamajs

This is a JavaScript version of the popular [llama2.c](https://github.com/karpathy/llama2.c) library by Andrej Karpathy.

Place the model file (e.g. [stories15M.bin]()) into the directory.
Place a model file (e.g. [stories15M.bin](https://huggingface.co/karpathy/tinyllamas/resolve/main/stories15M.bin)) into the directory.
```sh
wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories15M.bin
```
Expand All @@ -16,7 +16,7 @@ Then run the LLM.
The repo is not yet on npm, byt if you prefer to run from outside of the repo you can install it globally via npm

```sh
> npm install -g .
> npm install -g https://github.com/agershun/llamajs
> llamajs stories15M.bin -i "Tell me a story "
```

Expand Down