Spaces:
Sleeping
Sleeping
Jakub Werner
commited on
Commit
·
b382a96
1
Parent(s):
5d1c1ea
copying delft files
Browse files- Dockerfile +1 -0
- delft/resources-registry.json +11 -0
Dockerfile
CHANGED
|
@@ -155,6 +155,7 @@ ENTRYPOINT ["/tini", "-s", "--"]
|
|
| 155 |
# to be done: mechanism to download GROBID fine-tuned models based on SciBERT if selected (but not good enough for the moment)
|
| 156 |
COPY --chown=user --from=builder /opt/grobid-source/grobid-home/scripts/preload_embeddings.py .
|
| 157 |
COPY --chown=user --from=builder /opt/grobid-source/grobid-home/config/resources-registry.json .
|
|
|
|
| 158 |
RUN python3 preload_embeddings.py --registry ./resources-registry.json
|
| 159 |
|
| 160 |
RUN mkdir delft && \
|
|
|
|
| 155 |
# to be done: mechanism to download GROBID fine-tuned models based on SciBERT if selected (but not good enough for the moment)
|
| 156 |
COPY --chown=user --from=builder /opt/grobid-source/grobid-home/scripts/preload_embeddings.py .
|
| 157 |
COPY --chown=user --from=builder /opt/grobid-source/grobid-home/config/resources-registry.json .
|
| 158 |
+
COPY delft/ delft/
|
| 159 |
RUN python3 preload_embeddings.py --registry ./resources-registry.json
|
| 160 |
|
| 161 |
RUN mkdir delft && \
|
delft/resources-registry.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"resources": [
|
| 3 |
+
{
|
| 4 |
+
"name": "delft-embeddings",
|
| 5 |
+
"url": "https://grobid.s3.amazonaws.com/delft/glove-840B.zip",
|
| 6 |
+
"license": "public domain",
|
| 7 |
+
"type": "embeddings",
|
| 8 |
+
"path": "glove-840B"
|
| 9 |
+
}
|
| 10 |
+
]
|
| 11 |
+
}
|