Cgml.MistralModel
1.1.0
dotnet add package Cgml.MistralModel --version 1.1.0
NuGet\Install-Package Cgml.MistralModel -Version 1.1.0
<PackageReference Include="Cgml.MistralModel" Version="1.1.0" />
paket add Cgml.MistralModel --version 1.1.0
#r "nuget: Cgml.MistralModel, 1.1.0"
// Install Cgml.MistralModel as a Cake Addin #addin nuget:?package=Cgml.MistralModel&version=1.1.0 // Install Cgml.MistralModel as a Cake Tool #tool nuget:?package=Cgml.MistralModel&version=1.1.0
This project builds a .NET DLL which implements Mistral ML model inference.
It depends on CgmlNet for low-level GPGPU stuff, and exposes an idiomatic C# API.
That API handles following main use cases:
- Allows users to load, save and import these Mistral models.
I have only tested with the originally released models, however custom fine-tuned models might work too.
See
Mistral.ModelLoader
class for specific methods. - Allows to generate text, and implement chat UX.
See
Mistral.iModel
interface for specific methods.
To run the model on your computer, you gonna need the weights.
They can be imported from the original PyTorch format with ModelLoader.importTorch
method.
You can also downloaded compressed weights in *.cgml
format with BitTorrent, and load that file with ModelLoader.load
method.
Refer to the readme of MistralChat app for more info.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Cgml (>= 1.1.0)
- Cgml.TorchLoader (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated Cgml version to 1.1