This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Fixed `Eval` on platforms < dotnet 5
tags/v0.7.0^2
Martin Evans
2 years ago
parent
09bc688b3c
commit
dcc82e582e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
LLama/LLamaContext.cs
+ 1
- 1
LLama/LLamaContext.cs
View File
@@ -364,7 +364,7 @@ namespace LLama
try
{
tokens.CopyTo(rented, 0);
return Eval(rented, pastTokensCount);
return Eval(rented
.AsSpan(0, tokens.Count)
, pastTokensCount);
}
finally
{
Write
Preview
Loading…
Cancel
Save