Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sollimann/chatty-llama

A fullstack Rust + React chat app using open-source Llama language models
https://github.com/sollimann/chatty-llama

artificial-intelligence chatbot fullstack llama2 llm meta react rust

Last synced: 3 months ago
JSON representation

A fullstack Rust + React chat app using open-source Llama language models

Awesome Lists containing this project

README

        

Chatty Llama





A fullstack chat app utilizing Llama LLMs


minimum rustc 1.60
Maintenance
GitHub pull-requests
GitHub pull-requests closed
ViewCount
License: MIT

## How to run

#### 1. Install huggingface-cli

```sh
$ make install-huggingface-cli
```

#### 2. Export huggingface token

Create a huggingface token: https://huggingface.co/settings/tokens

, then set the token as env variable on your machine:

```sh
$ export HF_TOKEN=
```

#### 3. Download the [Llama-2-7B-Chat-GGML](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML) model

```sh
$ make download-model
```

#### 4. Run the chat app

```sh
$ make chatty-llama
```

**PS!** If you're having issues connecting to the `backend`, try running `make chatty-llama-host` instead.

In your browser, open http://localhost:80

**Enjoy!**