first commit
Browse files
LICENSE
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_link: https://ai.meta.com/llama/license/
|
| 4 |
+
inference: false
|
| 5 |
+
tags:
|
| 6 |
+
- llama
|
| 7 |
+
- llama-2
|
| 8 |
+
- golang
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# llama2.go
|
| 12 |
+
|
| 13 |
+
this is a model for [llama2.go](https://github.com/lwch/llama2.go) project, this project can run meta LLaMA model in less memory like Raspberry Pi.
|
| 14 |
+
|
| 15 |
+
## memory usage
|
| 16 |
+
|
| 17 |
+
| Model | Precision | Memory | Memory(Cached Params) |
|
| 18 |
+
| ----- | --------- | ------ | --------------------- |
|
| 19 |
+
| 7B | bf16 | 600M+ | 25G+ |
|
| 20 |
+
| 13B | bf16 | 1G+ | 43G+ |
|
| 21 |
+
| 70B | bf16 | 3G+ | untest |
|