Add Llama 3.1 (#98)

* Update Mistral 7B config

* Add Mistral NeMo

* Update for Llama 3.1

* Align LlamaConfiguration with Python implementation

* Fix model configuration names

* Refine DynamicNTKScalingRoPE

* compute base only once

---------

Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
AnthonyandAwni Hannun authored and GitHub committed 2024-07-26 13:05:42 -07:00
1 parent c4fda0e036
commit ac6bdfccec
3 files changed
+200 -84

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ class LLMEvaluator {
/// this controls which model loads -- phi4bit is one of the smaller ones so this will fit on
/// more devices
let modelConfiguration = ModelConfiguration.phi34bit
let modelConfiguration = ModelConfiguration.phi3_4bit
/// parameters controlling the output
let generateParameters = GenerateParameters(temperature: 0.6)