Cgml.MistralModel 1.1.0

dotnet add package Cgml.MistralModel --version 1.1.0                
NuGet\Install-Package Cgml.MistralModel -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cgml.MistralModel" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cgml.MistralModel --version 1.1.0                
#r "nuget: Cgml.MistralModel, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 204 1/7/2024
1.0.0 168 12/11/2023

Updated Cgml version to 1.1