The C#/.NET binding of llama.cpp. It provides APIs to infer the LLaMa Models and deploy it on the local environment. It works on both Windows, Linux and MAC without the requirement for compiling llama.cpp yourself. Its performance is close to llama.cpp. Furthermore, it provides integrations with other projects such as BotSharp to provide higher-level applications and UI.

Features

  • Model Inference and Chat Session
  • LLamaSharp provides two ways to run inference: LLamaExecutor and ChatSession
  • With LLamaSharp you needn't to compile c++ project and run scripts to quantize the model, instead, just run it in C#
  • We provide the integration of ASP.NET core
  • Embeddings generation, tokenization and detokenization
  • LLaMa model inference

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LLamaSharp

LLamaSharp Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LLamaSharp!

Additional Project Details

Programming Language

C#

Related Categories

C# Large Language Models (LLM), C# AI Models, C# LLM Inference Tool

Registered

2023-08-25