diff --git a/.gitignore b/.gitignore index e10c8a3..76a1c02 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ data/* .vscode out/* +docs/.DS_Store ### Contentious file types (can be removed at user discretion) ### @@ -283,9 +284,6 @@ vignettes/*.pdf # R Environment Variables .Renviron -# pkgdown site -docs/ - # translation temp files po/*~ diff --git a/README.md b/README.md index d1d130a..82326ba 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,11 @@ This is the open-source code repository for the internal ParliAI project, allowi ## Installation -You are strongly recommended to install resources into a virtual environment. Project setup can be achieved as follows: +This demo is tested on the Gemma (1st release) model. It assumes that [Ollama](https://www.ollama.com) has been installed locally and the required model has been downloaded before using ParliAI. This is very easy to do and versions are available for Mac OS, Windows and Linux. For further information on installation and model downloads, you might like to refer to the [Ollama GitHub page](https://github.com/ollama/ollama). + +Internally, we have tended to use the Vertex AI microservice in Google Cloud Platform (GCP) to access both the Gemini and Gemma family of Large Language Models. However, Ollama gives free access to Gemma and doesn't require others to have a GCP account and architecture. We hope to add the feature back to the public repo to support developers who already have GCP access. + +You are strongly recommended to install project resources into a virtual environment. Project setup can be achieved as follows: ``` bash $ git clone https://github.com/datasciencecampus/parliai-public.git @@ -79,10 +83,8 @@ $ python scripts/theyworkforyou.py -d 2024-05-24 -n 3 Additionally, the `-w` or `--weekly` flag can be used to generate a report for the previous week e.g. a Wednesday to a Wednesday. The `-f` or `--form` flag can also be applied to specify a preferred date format (other than the default of %Y-%m-%d). -This demo is tested on the Gemma (1st version) model. It assumes that [Ollama](https://www.ollama.com) has been installed locally and the required model has been downloaded before using ParliAI. - ### Workflow -Details to follow... +![Illustrative technical workflow](docs/images/parliai-public-workflow.png) # Data Science Campus diff --git a/docs/images/parliai-public-workflow.png b/docs/images/parliai-public-workflow.png new file mode 100644 index 0000000..95b994e Binary files /dev/null and b/docs/images/parliai-public-workflow.png differ