saddam213 / llamastack Goto Github PK
View Code? Open in Web Editor NEWASP.NET Core Web, WebApi & WPF implementations for LLama.cpp & LLamaSharp
Home Page: https://www.llama-stack.com
ASP.NET Core Web, WebApi & WPF implementations for LLama.cpp & LLamaSharp
Home Page: https://www.llama-stack.com
I took a screen capture and it shows how the instruct never finishes - it just keeps going on and on.
To recreate:
I tried to run the example but encountered this error in LlamaStackContext.cs. I've installed everything and I'm using the latest version of LlamaSharp.
'IInferenceParams' does not contain a definition for 'MinP' and no accessible extension method 'MinP' accepting a first argument of type 'IInferenceParams' could be found (are you missing a using directive or an assembly reference?) LLamaStack.Core C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.Core\LLamaStackContext.cs 143 Active
public int Sample(LLamaTokenDataArray tokenDataArray, IInferenceParams inferenceParams, ref float? mirostatMu)
{
return _context.Sample
(
tokenDataArray,
ref mirostatMu,
inferenceParams.Temperature,
inferenceParams.Mirostat,
inferenceParams.MirostatTau,
inferenceParams.MirostatEta,
inferenceParams.TopK,
inferenceParams.TopP,
inferenceParams.TfsZ,
inferenceParams.TypicalP,
inferenceParams.Grammar,
inferenceParams.MinP
);
}
I also get the following errors when trying to start the WPF example.
The type reference cannot find a public type named 'SessionHistoryModel'. Line 116 Position 90. LLamaStack.WPF C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.WPF\Views\InferenceView.xaml 116
The type reference cannot find a public type named 'ModelSessionState`1'. Line 34 Position 82. LLamaStack.WPF C:\Users\Me\source\repos\LLamaStack-master\LLamaStack.WPF\Views\SessionLoadView.xaml 34
implement openai style webapi,so can be used by various openai client
openai doc:
https://platform.openai.com/docs/api-reference/chat
Hello,
I am getting the below issue. Could you please help me fix it?
Here are the details:
Log:
[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Application started. Press Ctrl+C to shut down.
[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Hosting environment: Production
[12/16/2023 3:51:18 PM] [Information] [LLamaStack] - Content root path: C:\Users\imran\source\repos\LLamaStack\LLamaStack.WPF\bin\Debug\net8.0-windows
[12/16/2023 3:52:42 PM] [Error] [LLamaStack] - [CreateSession] - Method not found: 'Void LLama.Common.ModelParams.set_ContextSize(UInt32)'.
To recreate:
when upgrade llamasharp 0.7.0,error occurs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.