Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,304 Bytes
c124c27 458824d c124c27 81fd184 63858e7 81fd184 52b091e 63858e7 cb68191 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---
title: Exbert
emoji: 🌍
colorFrom: green
colorTo: green
sdk: docker
pinned: false
license: apache-2.0
base_path: /client/exBERT.html
---
# exFormer
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
## Description
This repository contains the attention visualization component from exBERT and a minimalized server that does not support corpus indexing or search by embedding.
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.
## Getting Started
### Install the environment
You can install the environment needed to run the server with conda:
`conda env create -f environment.yml`
This will create an environment named `exformer`.
### Backend
You can start the server by `conda activate exformer` followed by `python server/main.py`.
### Frontend
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:
1. `cd client/src`
2. `npm install`
3. `npm run ww`
This will allow you to change the typescript files and see the changes in your browser on refresh.
|