Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unknownrori/llm-wrapper

Rust LLM GGML Crate Wrapper
https://github.com/unknownrori/llm-wrapper

Last synced: about 4 hours ago
JSON representation

Rust LLM GGML Crate Wrapper

Awesome Lists containing this project

README

        

# LLM Wrapper

A simple wrapper of [LLM Crate](https://crates.io/crates/llm) to simplify text generation, prompts and other stuff

## 🛠️ Development

```bash
# Clone the repository and enter the directory
git clone https://github.com/UnknownRori/llm-wrapper
cd llm-wrapper

# Build the project
cargo build --release

# Download the ggml model from https://github.com/rustformers/llm#getting-models
# or using the ./scripts using instruction from https://github.com/ggerganov/ggml/tree/master/examples
```

## 🚀 Usage on other project

```bash
# Add this package to your project
cargo add --git https://github.com/UnknownRori/llm-wrapper
```

## 🌟 Contribution

Feel free to contribute, send pull request or issue and i will take a look