nsthorat commited on
Commit
f85de25
1 Parent(s): 82622cc
.gitattributes DELETED
@@ -1,2 +0,0 @@
1
- data/.cache/lilac/concept/lilac/profanity/gte-small.pkl filter=lfs diff=lfs merge=lfs -text
2
- data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl filter=lfs diff=lfs merge=lfs -text
 
 
 
Dockerfile CHANGED
@@ -13,23 +13,18 @@ ENV HOME=/home/user \
13
  # Set the working directory in the container.
14
  WORKDIR $HOME/app
15
 
16
- # Install the dependencies. This requires exporting requirements.txt from poetry first, which
17
- # happens from ./build_docker.sh.
18
  COPY --chown=user /dist ./dist/
19
  RUN python -m pip install --find-links=dist lilac
20
 
21
- #COPY --chown=user requirements.txt .
22
- #RUN pip install --no-cache-dir -r requirements.txt
23
-
24
  COPY --chown=user .env .
25
  COPY --chown=user .env.demo .
26
  # Copy the README so we can read the datasets from the HuggingFace config.
27
  COPY --chown=user README.md .
 
28
  COPY --chown=user LICENSE .
29
 
30
- # Copy python files.
31
- #COPY --chown=user /lilac ./lilac/
32
-
33
  COPY --chown=user docker_start.sh docker_start.py ./
34
 
35
  # Make a local data directory for non-persistent storage demos.
 
13
  # Set the working directory in the container.
14
  WORKDIR $HOME/app
15
 
16
+ # Install the dependencies. This will look in ./dist for any wheels that match lilac. If they are
17
+ # not found, it will use the public pip package.
18
  COPY --chown=user /dist ./dist/
19
  RUN python -m pip install --find-links=dist lilac
20
 
 
 
 
21
  COPY --chown=user .env .
22
  COPY --chown=user .env.demo .
23
  # Copy the README so we can read the datasets from the HuggingFace config.
24
  COPY --chown=user README.md .
25
+ # Copy the license just in case.
26
  COPY --chown=user LICENSE .
27
 
 
 
 
28
  COPY --chown=user docker_start.sh docker_start.py ./
29
 
30
  # Make a local data directory for non-persistent storage demos.
data/.cache/lilac/concept/lilac/legal-termination/gte-small.pkl DELETED
Binary file (60.6 kB)
 
data/.cache/lilac/concept/lilac/negative-sentiment/gte-small.pkl DELETED
Binary file (202 kB)
 
data/.cache/lilac/concept/lilac/non-english/gte-small.pkl DELETED
Binary file (331 kB)
 
data/.cache/lilac/concept/lilac/positive-sentiment/gte-small.pkl DELETED
Binary file (180 kB)
 
data/.cache/lilac/concept/lilac/profanity/gte-small.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed7340614b1dea910ddeb26bbda0167b1f4fe2479071a62a70b63c18bc6232d0
3
- size 1672960
 
 
 
 
data/.cache/lilac/concept/lilac/question/gte-small.pkl DELETED
Binary file (611 kB)
 
data/.cache/lilac/concept/lilac/source-code/gte-small.pkl DELETED
Binary file (126 kB)
 
data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2af2736f3d749391a431f9c24d3fc78cf8e58457cc4f0d1ce770185b92d879c
3
- size 1886446
 
 
 
 
dist/README.md DELETED
@@ -1,2 +0,0 @@
1
- This directory is used for locally built whl files.
2
- We write a README.md to ensure an empty folder is uploaded when there is no whl.