https://github.com/mrcsparker/camel
LLMs in Elixir
https://github.com/mrcsparker/camel
Last synced: 2 months ago
JSON representation
LLMs in Elixir
- Host: GitHub
- URL: https://github.com/mrcsparker/camel
- Owner: mrcsparker
- Created: 2023-08-31T21:11:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T00:29:12.000Z (over 1 year ago)
- Last Synced: 2025-02-14T02:22:01.761Z (4 months ago)
- Language: Rust
- Size: 51.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Camel
Prototype for LLM in Elixir.
Camel.get_accelerator
Heavily based on:
https://github.com/Atome-FE/llama-node/## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `camel` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:camel, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .## API
This is a test for llama models. It is being developed as a prototype
```elixir
Camel.new("./open_llama_3b-f16.bin") |> Camel.generate("Today is the best day to")
```