weblm
weblm copied to clipboard
Drive a browser with Cohere
WebLM
Drive a browser with Cohere
Derived from Nat's repo here: https://github.com/nat/natbot
Features:
- uses likelihoods instead of raw generations to guide the model's decision-making
- ability to build a reference set of examples that the LM can make reference to
- ability to fix the LM's mistakes online and add them to the reference set for future use
Set up and running instructions
- Clone this repository and
cd
into its main working directory. - Install poetry
- Install dependencies:
poetry install --no-root
- Set up playwright:
poetry run playwright install
- Run main:
poetry run python -m weblm.main
Files to add
-
specials.json
- You should store sensitive information like "Password": "password" to avoid saving it toexamples.json
.