Skip to content

noizu-labs-ml/llama_cpp_ex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LlamaCpp

TODO: Add description

Installation

If available in Hex, the package can be installed by adding llama_cpp to your list of dependencies in mix.exs:

def deps do
  [
    {:llama_cpp, "~> 0.1.0"}
  ]
end

Usage

 {:ok, llama} = LLamaCpp.new("./models/mistral-7b-instruct-v0.1.Q5_K_M.gguf")
 LLamaCpp.predict(llama, "hello my name is")
 LLamaCpp.embeddings(llama, "hello my name is")
 LLamaCpp.free_model(llama)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 54.1%
  • Elixir 45.9%