Crates.io | llm-chain-llama-sys |
lib.rs | llm-chain-llama-sys |
version | 0.13.0 |
source | src |
created_at | 2023-04-09 13:32:07.006467 |
updated_at | 2023-11-15 20:56:35.683811 |
description | A library with bindings based on bindgen for LLaMA.cpp |
homepage | |
repository | https://github.com/sobelio/llm-chain/ |
max_upload_size | |
id | 834218 |
size | 2,152,149 |
llama-sys is a set of bindgen generated wrappers for llama.cpp. This crate provides a low-level interface to llama.cpp, allowing you to use it in your Rust projects. To use llama-sys, simply add the following to your Cargo.toml file:
[dependencies]
llama-sys = "0.1.0"
use llama_sys::\*;
Note that llama-sys provides a lower-level interface than llm-chain-llama, and may be more difficult to use. However, if you need fine-grained control over llama.cpp, llama-sys is the way to go.