This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
scisharp
/
LLamaSharp
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
17
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
One last `TokenToString` case
tags/v0.5.1
Martin Evans
2 years ago
parent
0e5e00e300
commit
7fabcc1849
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
LLama/LLamaStatelessExecutor.cs
+ 1
- 1
LLama/LLamaStatelessExecutor.cs
View File
@@ -76,7 +76,7 @@ namespace LLama
lastTokens.Add(id);
string response =
Utils.TokenToString(id, _model.NativeHandle
, _model.Encoding);
string response =
_model.NativeHandle.TokenToString(id
, _model.Encoding);
yield return response;
tokens.Clear();
Write
Preview
Loading…
Cancel
Save