An open API service indexing awesome lists of open source software.

https://github.com/haormj/llama2.go

Inference Llama 2 in one file of pure go
https://github.com/haormj/llama2.go

inference large-language-models llama llama2 llm

Last synced: 5 months ago
JSON representation

Inference Llama 2 in one file of pure go

Awesome Lists containing this project

README

        

# llama2.go

ref [llama2.c](https://github.com/karpathy/llama2.c), golang version

## Usage

```bash
make
# download model.bin and tokenizer.bin to _output from https://github.com/karpathy/llama2.c
cd _output
./llama2 run
```