Skip to content

Commit a61a857

Browse files
committed
fix(android): remove tfs_z param
1 parent 1ca3044 commit a61a857

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

android/src/main/java/com/rnllama/LlamaContext.java

-3
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ public WritableMap completion(ReadableMap params) {
189189
params.hasKey("xtc_threshold") ? (float) params.getDouble("xtc_threshold") : 0.00f,
190190
// float xtc_probability,
191191
params.hasKey("xtc_probability") ? (float) params.getDouble("xtc_probability") : 0.00f,
192-
// float tfs_z,
193-
params.hasKey("tfs_z") ? (float) params.getDouble("tfs_z") : 1.00f,
194192
// float typical_p,
195193
params.hasKey("typical_p") ? (float) params.getDouble("typical_p") : 1.00f,
196194
// int seed,
@@ -388,7 +386,6 @@ protected static native WritableMap doCompletion(
388386
float min_p,
389387
float xtc_threshold,
390388
float xtc_probability,
391-
float tfs_z,
392389
float typical_p,
393390
int seed,
394391
String[] stop,

0 commit comments

Comments
 (0)