update param
Browse files
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
|
3 |
+
#Install cron and git
|
4 |
+
RUN apt-get update
|
5 |
+
RUN apt-get -y install git
|
6 |
+
|
7 |
+
# prepare scripts
|
8 |
+
WORKDIR /app/
|
9 |
+
COPY ./ /app/
|
10 |
+
RUN pip install --no-cache-dir -r /app/requirements.txt
|
11 |
+
|
12 |
+
# start service
|
13 |
+
EXPOSE 7860
|
14 |
+
CMD ["python", "-m", "src.app.api_backend"]
|
README.md
CHANGED
@@ -3,9 +3,7 @@ title: Mirror
|
|
3 |
emoji: 🪞
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
6 |
-
sdk:
|
7 |
-
sdk_version: 4.1.2
|
8 |
-
app_file: src/app/gradio_app.py
|
9 |
pinned: true
|
10 |
license: apache-2.0
|
11 |
---
|
|
|
3 |
emoji: 🪞
|
4 |
colorFrom: blue
|
5 |
colorTo: yellow
|
6 |
+
sdk: docker
|
|
|
|
|
7 |
pinned: true
|
8 |
license: apache-2.0
|
9 |
---
|
mirror_outputs/Mirror_Pretrain_AllExcluded_2/ckpt/SchemaGuidedInstructBertModel.best.pth
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:b81f6f1eed9792bf7767c1c9bd14ade382c64f120266b9eb3dc03cbafa952703
|
3 |
+
size 1743200419
|
mirror_outputs/Mirror_Pretrain_AllExcluded_2/task_params.yaml
CHANGED
@@ -42,7 +42,7 @@ max_seq_len: 512
|
|
42 |
label_span: tag
|
43 |
mode: span
|
44 |
stream_mode: false
|
45 |
-
plm_dir: /
|
46 |
base_model_path: null
|
47 |
train_batch_size: 8
|
48 |
eval_batch_size: 8
|
|
|
42 |
label_span: tag
|
43 |
mode: span
|
44 |
stream_mode: false
|
45 |
+
plm_dir: microsoft/deberta-v3-large
|
46 |
base_model_path: null
|
47 |
train_batch_size: 8
|
48 |
eval_batch_size: 8
|
requirements.txt
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
transformers
|
9 |
-
|
|
|
10 |
git+https://github.com/Spico197/REx
|
|
|
1 |
+
fastapi==0.104.1
|
2 |
+
gradio==4.7.1
|
3 |
+
pandas==1.5.2
|
4 |
+
pydantic==1.10.7
|
5 |
+
rich==13.7.0
|
6 |
+
scikit_learn==1.1.2
|
7 |
+
torch==2.0.1
|
8 |
+
transformers==4.28.0.dev0
|
9 |
+
uvicorn==0.24.0.post1
|
10 |
+
gpu-watchmen==0.3.8
|
11 |
git+https://github.com/Spico197/REx
|