Spaces:
Runtime error
Runtime error
Alex Cabrera
commited on
Commit
•
d93c9d8
1
Parent(s):
6f89ae7
docker
Browse files- .dockerignore +1 -0
- .gitattributes +126 -0
- Dockerfile +24 -0
.dockerignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.git
|
.gitattributes
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.tsv filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.tsv filters=lfs diff=lfs merge=lfs -text
|
36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
.zeno_cache/OUTPUTHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
38 |
+
.zeno_cache/POSTDISTILLbleuOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
39 |
+
.zeno_cache/POSTDISTILLbleuOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
40 |
+
.zeno_cache/POSTDISTILLchrfzlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
41 |
+
.zeno_cache/PREDISTILLlength.pickle filter=lfs diff=lfs merge=lfs -text
|
42 |
+
.zeno_cache/OUTPUTTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
43 |
+
.zeno_cache/OUTPUTyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
44 |
+
.zeno_cache/POSTDISTILLbert_scoreOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
45 |
+
.zeno_cache/POSTDISTILLbleuOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
46 |
+
.zeno_cache/OUTPUTOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
47 |
+
.zeno_cache/EMBEDDINGOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
48 |
+
.zeno_cache/EMBEDDINGOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
49 |
+
.zeno_cache/EMBEDDINGWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
50 |
+
.zeno_cache/POSTDISTILLbleuWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
51 |
+
.zeno_cache/POSTDISTILLchrfTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
52 |
+
.zeno_cache/EMBEDDINGUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
53 |
+
.zeno_cache/OUTPUTWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
54 |
+
.zeno_cache/POSTDISTILLbert_scorezlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
55 |
+
.zeno_cache/POSTDISTILLbleurefb.pickle filter=lfs diff=lfs merge=lfs -text
|
56 |
+
.zeno_cache/POSTDISTILLchrfOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
57 |
+
.zeno_cache/POSTDISTILLchrfrefb.pickle filter=lfs diff=lfs merge=lfs -text
|
58 |
+
.zeno_cache/POSTDISTILLlength_ratioOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
59 |
+
.zeno_cache/POSTDISTILLlength_ratioref.pickle filter=lfs diff=lfs merge=lfs -text
|
60 |
+
.zeno_cache/OUTPUTOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
61 |
+
.zeno_cache/OUTPUTPROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
62 |
+
.zeno_cache/POSTDISTILLbert_scoreTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
63 |
+
.zeno_cache/POSTDISTILLbert_scorerefb.pickle filter=lfs diff=lfs merge=lfs -text
|
64 |
+
.zeno_cache/POSTDISTILLbleuPROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
65 |
+
.zeno_cache/POSTDISTILLchrfOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
66 |
+
.zeno_cache/POSTDISTILLchrfref.pickle filter=lfs diff=lfs merge=lfs -text
|
67 |
+
.zeno_cache/folders.pickle filter=lfs diff=lfs merge=lfs -text
|
68 |
+
.zeno_cache/reports.pickle filter=lfs diff=lfs merge=lfs -text
|
69 |
+
.zeno_cache/OUTPUTOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
70 |
+
.zeno_cache/OUTPUTzlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
71 |
+
.zeno_cache/POSTDISTILLbert_scoreOnline-A.pickle filter=lfs diff=lfs merge=lfs -text
|
72 |
+
.zeno_cache/POSTDISTILLbert_scorePROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
73 |
+
.zeno_cache/POSTDISTILLbert_scoreUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
74 |
+
.zeno_cache/POSTDISTILLbleuyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
75 |
+
.zeno_cache/POSTDISTILLchrfOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
76 |
+
.zeno_cache/POSTDISTILLlength_ratioOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
77 |
+
.zeno_cache/POSTDISTILLlength_ratioyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
78 |
+
.zeno_cache/EMBEDDINGzlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
79 |
+
.zeno_cache/POSTDISTILLbert_scoreWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
80 |
+
.zeno_cache/POSTDISTILLbleuOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
81 |
+
.zeno_cache/POSTDISTILLchrfHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
82 |
+
.zeno_cache/POSTDISTILLchrfyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
83 |
+
.zeno_cache/EMBEDDINGTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
84 |
+
.zeno_cache/EMBEDDINGrefb.pickle filter=lfs diff=lfs merge=lfs -text
|
85 |
+
.zeno_cache/OUTPUTOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
86 |
+
.zeno_cache/POSTDISTILLlength_ratioOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
87 |
+
.zeno_cache/slices.pickle filter=lfs diff=lfs merge=lfs -text
|
88 |
+
.zeno_cache/EMBEDDINGPROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
89 |
+
.zeno_cache/EMBEDDINGyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
90 |
+
.zeno_cache/POSTDISTILLbert_scoreref.pickle filter=lfs diff=lfs merge=lfs -text
|
91 |
+
.zeno_cache/POSTDISTILLchrfOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
92 |
+
.zeno_cache/EMBEDDINGHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
93 |
+
.zeno_cache/EMBEDDINGOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
94 |
+
.zeno_cache/OUTPUTOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
95 |
+
.zeno_cache/OUTPUTUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
96 |
+
.zeno_cache/OUTPUTrefb.pickle filter=lfs diff=lfs merge=lfs -text
|
97 |
+
.zeno_cache/POSTDISTILLchrfUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
98 |
+
.zeno_cache/EMBEDDINGOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
99 |
+
.zeno_cache/EMBEDDINGref.pickle filter=lfs diff=lfs merge=lfs -text
|
100 |
+
.zeno_cache/POSTDISTILLbert_scoreOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
101 |
+
.zeno_cache/OUTPUTref.pickle filter=lfs diff=lfs merge=lfs -text
|
102 |
+
.zeno_cache/POSTDISTILLlength_ratioPROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
103 |
+
.zeno_cache/POSTDISTILLlength_ratioTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
104 |
+
.zeno_cache/POSTDISTILLlength_ratioWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
105 |
+
.zeno_cache/EMBEDDINGOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
106 |
+
.zeno_cache/POSTDISTILLbert_scoreOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
107 |
+
.zeno_cache/POSTDISTILLbert_scoreyolo.pickle filter=lfs diff=lfs merge=lfs -text
|
108 |
+
.zeno_cache/POSTDISTILLbleuUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
109 |
+
.zeno_cache/POSTDISTILLbleuref.pickle filter=lfs diff=lfs merge=lfs -text
|
110 |
+
.zeno_cache/POSTDISTILLchrfWMTBiomedBaseline.pickle filter=lfs diff=lfs merge=lfs -text
|
111 |
+
.zeno_cache/POSTDISTILLlength_ratioHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
112 |
+
.zeno_cache/POSTDISTILLlength_ratioOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
113 |
+
.zeno_cache/POSTDISTILLlength_ratiozlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
114 |
+
.zeno_cache/POSTDISTILLbert_scoreHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
115 |
+
.zeno_cache/POSTDISTILLbert_scoreOnline-G.pickle filter=lfs diff=lfs merge=lfs -text
|
116 |
+
.zeno_cache/POSTDISTILLbleuOnline-B.pickle filter=lfs diff=lfs merge=lfs -text
|
117 |
+
.zeno_cache/POSTDISTILLbleuTohoku-AIP-NTT.pickle filter=lfs diff=lfs merge=lfs -text
|
118 |
+
.zeno_cache/POSTDISTILLbleuzlabs-nlp.pickle filter=lfs diff=lfs merge=lfs -text
|
119 |
+
.zeno_cache/POSTDISTILLchrfOPPO.pickle filter=lfs diff=lfs merge=lfs -text
|
120 |
+
.zeno_cache/POSTDISTILLbleuHuoshan_Translate.pickle filter=lfs diff=lfs merge=lfs -text
|
121 |
+
.zeno_cache/POSTDISTILLchrfPROMT_NMT.pickle filter=lfs diff=lfs merge=lfs -text
|
122 |
+
.zeno_cache/POSTDISTILLlength_ratioOnline-Z.pickle filter=lfs diff=lfs merge=lfs -text
|
123 |
+
.zeno_cache/POSTDISTILLlength_ratioUEDIN.pickle filter=lfs diff=lfs merge=lfs -text
|
124 |
+
.zeno_cache/POSTDISTILLlength_ratiorefb.pickle filter=lfs diff=lfs merge=lfs -text
|
125 |
+
data/data_full.tsv filter=lfs diff=lfs merge=lfs -text
|
126 |
+
data/ref_entries.tsv filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
+
# you will also find guides on how best to write your Dockerfile
|
3 |
+
|
4 |
+
FROM python:3.8
|
5 |
+
|
6 |
+
RUN useradd -m -u 1000 user
|
7 |
+
USER user
|
8 |
+
# Set home to the user's home directory
|
9 |
+
ENV HOME=/home/user \
|
10 |
+
PATH=/home/user/.local/bin:$PATH
|
11 |
+
WORKDIR $HOME/app
|
12 |
+
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
13 |
+
COPY --chown=user . $HOME/app
|
14 |
+
ADD --chown=user ./.zeno_cache $HOME/app/.zeno_cache
|
15 |
+
RUN chown user:user -R $HOME/app
|
16 |
+
|
17 |
+
# COPY ./requirements.txt /code/requirements.txt
|
18 |
+
|
19 |
+
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
20 |
+
|
21 |
+
RUN pip install .
|
22 |
+
|
23 |
+
|
24 |
+
CMD ["python" "-m" "zeno-evals-hub" "evals/evals.yaml"]
|