bhoov commited on
Commit
cb68191
1 Parent(s): 4a48eda

Add getting started

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -5,4 +5,25 @@
5
  ## Description
6
  This repository contains the attention visualization component from exBERT and a minimalized server that does not support corpus indexing or search by embedding.
7
 
8
- The performance of this app will exceed that of exBERT on a slower internet connection as signifcantly less information (like that of the embeddings and results from FAISS searches) is needed to be sent over the REST API.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ## Description
6
  This repository contains the attention visualization component from exBERT and a minimalized server that does not support corpus indexing or search by embedding.
7
 
8
+ The performance of this app will exceed that of exBERT on a slower internet connection as signifcantly less information (like that of the embeddings and results from FAISS searches) is needed to be sent over the REST API.
9
+
10
+
11
+ ## Getting Started
12
+ ### Install the environment
13
+ You can install the environment needed to run the server with conda:
14
+
15
+ `conda env create -f environment.yml`
16
+
17
+ This will create an environment named `exformer`.
18
+
19
+ ### Backend
20
+ You can start the server by `conda activate exformer` followed by `python server/main.py`.
21
+
22
+ ### Frontend
23
+ The compiled versions of the frontend are already included in the `client/dist` folder. You can get setup to develop on the frontend by the following:
24
+
25
+ 1. `cd client/src`
26
+ 2. `npm install`
27
+ 3. `npm run ww`
28
+
29
+ This will allow you to change the typescript files and see the changes in your browser on refresh.