Spaces:
Runtime error
Runtime error
nsthorat-lilac
commited on
Commit
•
45c2de5
1
Parent(s):
5d6c2a4
Push to HF space
Browse files- Dockerfile +2 -0
- README.md +2 -1
- data/lilac.yml +36 -1
- dist/lilac-1337.0.0-py3-none-any.whl +2 -2
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM python:3.11-slim-bullseye
|
|
2 |
|
3 |
# Allow statements and log messages to immediately appear in the Knative logs
|
4 |
ENV PYTHONUNBUFFERED True
|
|
|
|
|
5 |
|
6 |
# Adds GCC and other build tools so we can compile hnswlib and other native/C++ deps.
|
7 |
RUN apt-get update --fix-missing && apt-get install -y --fix-missing build-essential && \
|
|
|
2 |
|
3 |
# Allow statements and log messages to immediately appear in the Knative logs
|
4 |
ENV PYTHONUNBUFFERED True
|
5 |
+
# Fixes "invalid instruction" runtime error on AMD machines (specifically HF Upgraded CPU Space).
|
6 |
+
ENV HNSWLIB_NO_NATIVE 1
|
7 |
|
8 |
# Adds GCC and other build tools so we can compile hnswlib and other native/C++ deps.
|
9 |
RUN apt-get update --fix-missing && apt-get install -y --fix-missing build-essential && \
|
README.md
CHANGED
@@ -5,6 +5,7 @@ colorFrom: purple
|
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
7 |
app_port: 5432
|
8 |
-
datasets:
|
|
|
9 |
|
10 |
---
|
|
|
5 |
colorTo: purple
|
6 |
sdk: docker
|
7 |
app_port: 5432
|
8 |
+
datasets:
|
9 |
+
- lilacai/nikhil_staging-local-Capybara
|
10 |
|
11 |
---
|
data/lilac.yml
CHANGED
@@ -1 +1,36 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
datasets:
|
2 |
+
- namespace: local
|
3 |
+
name: Capybara
|
4 |
+
source:
|
5 |
+
dataset_name: LDJnr/Capybara
|
6 |
+
source_name: huggingface
|
7 |
+
embeddings:
|
8 |
+
- path:
|
9 |
+
- conversation
|
10 |
+
- '*'
|
11 |
+
- input
|
12 |
+
embedding: gte-small
|
13 |
+
signals:
|
14 |
+
- path:
|
15 |
+
- conversation
|
16 |
+
- '*'
|
17 |
+
- input
|
18 |
+
signal:
|
19 |
+
signal_name: text_statistics
|
20 |
+
- path:
|
21 |
+
- conversation
|
22 |
+
- '*'
|
23 |
+
- input
|
24 |
+
signal:
|
25 |
+
signal_name: pii
|
26 |
+
settings:
|
27 |
+
ui:
|
28 |
+
media_paths:
|
29 |
+
- input
|
30 |
+
- - conversation
|
31 |
+
- '*'
|
32 |
+
- input
|
33 |
+
- - conversation
|
34 |
+
- '*'
|
35 |
+
- output
|
36 |
+
markdown_paths: []
|
dist/lilac-1337.0.0-py3-none-any.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddf878c05e781ba7fbcd297ef04fad7639a3af0dc08c498236b8c9e22d381c96
|
3 |
+
size 2482589
|