Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ms-bert model not available for download offline #6

Open
clemEssien opened this issue Jul 20, 2021 · 0 comments
Open

ms-bert model not available for download offline #6

clemEssien opened this issue Jul 20, 2021 · 0 comments

Comments

@clemEssien
Copy link
Owner

Problem description

I have searched for the offline version of the model to be downloaded but I am yet to find. For now, the app uses the online method to download the model.

[+] Running 4/4
 ⠿ Network bert-phi-annotator_nlpsandbox-internal  Created                                            0.0s
 ⠿ Network bert-phi-annotator_nlpsandbox           Created                                            0.0s
 ⠿ Container phi-annotator                         Started                                            3.3s
 ⠿ Container nginx                                 Started                                           27.0s
Attaching to nginx, phi-annotator
nginx          | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx          | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx          | 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/events.conf.template to /etc/nginx/conf.d/events.conf
nginx          | 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/http.conf.template to /etc/nginx/conf.d/http.conf
nginx          | /docker-entrypoint.sh: Configuration complete; ready for start up
phi-annotator  | WSGI app 0 (mountpoint='') ready in 24 seconds on interpreter 0x5568c277d310 pid: 14 (default app)
phi-annotator  | [pid: 14|app: 0|req: 1/1] 172.22.0.3 () {54 vars in 970 bytes} [Tue Jul 20 03:52:39 2021] GET /api/v1/ui/swagger-ui.css => generated 142839 bytes in 1 msecs via sendfile() (HTTP/1.1 200) 6 headers in 244 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 2/2] 172.22.0.3 () {54 vars in 990 bytes} [Tue Jul 20 03:52:39 2021] GET /api/v1/ui/swagger-ui-standalone-preset.js => generated 311248 bytes in 0 msecs via sendfile() (HTTP/1.1 200) 6 headers in 275 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 3/3] 172.22.0.3 () {54 vars in 968 bytes} [Tue Jul 20 03:52:39 2021] GET /api/v1/ui/swagger-ui-bundle.js => generated 1067068 bytes in 2 msecs via sendfile() (HTTP/1.1 200) 6 headers in 265 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 4/4] 172.22.0.3 () {52 vars in 904 bytes} [Tue Jul 20 03:52:40 2021] GET /api/v1/openapi.json => generated 23284 bytes in 50 msecs (HTTP/1.1 200) 2 headers in 74 bytes (1 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 5/5] 172.22.0.3 () {56 vars in 1056 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/ui/ => generated 1444 bytes in 4 msecs (HTTP/1.1 200) 2 headers in 81 bytes (1 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 6/6] 172.22.0.3 () {54 vars in 970 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/ui/swagger-ui.css => generated 0 bytes in 2 msecs (HTTP/1.1 304) 3 headers in 145 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 7/7] 172.22.0.3 () {54 vars in 968 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/ui/swagger-ui-bundle.js => generated 0 bytes in 0 msecs (HTTP/1.1 304) 3 headers in 151 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 8/8] 172.22.0.3 () {54 vars in 990 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/ui/swagger-ui-standalone-preset.js => generated 0 bytes in 0 msecs (HTTP/1.1 304) 3 headers in 162 bytes (0 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 9/9] 172.22.0.3 () {52 vars in 904 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/openapi.json => generated 23284 bytes in 61 msecs (HTTP/1.1 200) 2 headers in 74 bytes (1 switches on core 0)
phi-annotator  | [pid: 14|app: 0|req: 10/10] 172.22.0.3 () {54 vars in 1022 bytes} [Tue Jul 20 03:52:45 2021] GET /api/v1/ui/favicon-32x32.png => generated 628 bytes in 0 msecs via sendfile() (HTTP/1.1 200) 6 headers in 230 bytes (0 switches on core 0)
phi-annotator  | {'identifier': 'awesome-note',
phi-annotator  |  'patient_id': 'awesome-patient',
phi-annotator  |  'text': 'On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle.',
phi-annotator  |  'type': 'loinc:LP29684-5'}
phi-annotator  | [Errno 13] Permission denied: '/var/www'
phi-annotator  | Can't load config for 'dslim/bert-base-NER'. Make sure that:
phi-annotator  | 
phi-annotator  | - 'dslim/bert-base-NER' is a correct model identifier listed on 'https://huggingface.co/models'
phi-annotator  | 
phi-annotator  | - or 'dslim/bert-base-NER' is the correct path to a directory containing a config.json file
phi-annotator  | 
phi-annotator  | 
phi-annotator  | [pid: 14|app: 0|req: 11/11] 172.22.0.3 () {58 vars in 1009 bytes} [Tue Jul 20 03:53:08 2021] POST /api/v1/textPersonNameAnnotations => generated 323 bytes in 3 msecs (HTTP/1.1 500) 2 headers in 91 bytes (1 switches on core 0)

Expected behavior

Extra information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant