Skip to content

frost-beta/llama3-torch.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Llama with ExecuTorch.js

This is an example showing how to run Llama 3.2 with ExecuTorch.js, the code is not production ready.

How to use

Download model:

$ npm install -g @frost-beta/huggingface
$ huggingface download frost-beta/llama3.2-instruct-executorch-kv-xnnpack-bf16

Run this script:

$ npm install
$ node chat.mjs llama3.2-instruct-executorch-kv-xnnpack-bf16
You> Who are you?
Assistant> I'm an artificial intelligence model known as Llama. Llama stands for "Large Language Model Meta AI."
You>

About

Llama with ExecuTorch.js

Resources

Stars

Watchers

Forks