Sometimes you need help with your crossword clues, but don't just want the answers given to you. That's what Crossword Helper is for.
This is a Spin app that can help you solve crossword puzzles. This probably won't help you get the exact answer to your puzzle, but it will help provide some background or synonyms or possibilities.
We livecoded part of this during a Spin Live Code Tuesdays
- Spin 2.0 or later
- One of the LLaMa2-Chat models. Locally, the 7b param model is best unless you have a custom-built Spin. (Fermyon Cloud uses the 13b param version)
- Your model must be stored exactly here:
$THIS_DIRECTORY/.spin/ai-models/llama2-chat
(where $THIS_DIRECTORY is the directory thespin.toml
is located)
- Your model must be stored exactly here:
- For Docker Desktop support, you need Docker Desktop version 24 or later.
You can run this app in three ways:
- You can run locally with
spin build --up
orspin up
- You can build it into a Docker image (
make build
) and run it in Docker Desktop (make run
) - You can run it in Fermyon Cloud:
npm install
npm run build
spin deploy
If you run it locally, it will use CPU for inferencing unless you have custom-built Spin with the appropriate driver.
This uses the following Spin features:
- The JS/TS SDK
- Key Value Store
- The JS/TS Router
- Fermyon Serverless AI