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
Have weights generate context
tags/v0.5.1
Tim Miller
2 years ago
parent
a81edacbfb
commit
326c802be7
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
LLama/LLamaEmbedder.cs
+ 2
- 2
LLama/LLamaEmbedder.cs
View File
@@ -29,9 +29,9 @@ namespace LLama
_ctx = weights.CreateContext(@params);
}
public LLamaEmbedder(LLama
Context ctx
)
public LLamaEmbedder(LLama
Weights weights, IModelParams @params
)
{
_ctx =
ctx
;
_ctx =
weights.CreateContext(@params)
;
}
/// <summary>
Write
Preview
Loading…
Cancel
Save