Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- tiiuae/Falcon-E-3B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- CoreML
|
| 6 |
+
---
|
| 7 |
+
Falcon-Edge-3B-Instruct converted to run on Apple Neural Engine (ANe). Model conversion code [here](https://github.com/0seba/coreml-models).
|
| 8 |
+
|
| 9 |
+
To run clone this repo with the files and run this command:
|
| 10 |
+
|
| 11 |
+
`python falcon_edge_generate.py --embeddings ./falcon_edge_3b_embeddings.npy --lm_head falcon_edge_3b_lm_head.mlmodelc --model ./falcon_edge_3b.mlmodelc --cache_length 1024 --temp 0.7 --min_p 0.1`
|
| 12 |
+
|
| 13 |
+
Supported cache lengths are `512, 1024, 2048, 3072, 4096, 6144 and 8192`.
|
| 14 |
+
|
| 15 |
+
First time running with a new cache length takes a longer initialization time for model compilation.
|