@inferrlm/react-native-mlx 0.4.2-alpha.8 → 0.4.2-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -460,7 +460,7 @@ class HybridLLM: HybridLLMSpec {
|
|
|
460
460
|
["role": $0.role.rawValue, "content": $0.content]
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
let tokens: [Int] = try await container.perform { context in
|
|
463
|
+
let tokens: [Int] = try await container.perform { (context: ModelContext) in
|
|
464
464
|
do {
|
|
465
465
|
let result = try context.tokenizer.applyChatTemplate(
|
|
466
466
|
messages: messages,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inferrlm/react-native-mlx",
|
|
3
3
|
"description": "MLX Swift integration for React Native - InferrLM fork with enhanced features",
|
|
4
|
-
"version": "0.4.2-alpha.
|
|
4
|
+
"version": "0.4.2-alpha.9",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|
|
7
7
|
"types": "./lib/typescript/src/index.d.ts",
|