|
24-May-24 11:02:36 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False |
|
24-May-24 11:02:36 - httpx - DEBUG - load_verify_locations cafile='/usr/local/lib/python3.10/dist-packages/certifi/cacert.pem' |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7860 local_address=None timeout=None socket_options=None |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa352002bc0> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_headers.complete |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_body.complete |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 24 May 2024 11:02:36 GMT'), (b'server', b'uvicorn'), (b'content-length', b'4'), (b'content-type', b'application/json')]) |
|
24-May-24 11:02:36 - httpx - INFO - HTTP Request: GET http: |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - receive_response_body.complete |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - response_closed.started |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - response_closed.complete |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - close.started |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - close.complete |
|
24-May-24 11:02:36 - httpx - DEBUG - load_ssl_context verify=False cert=None trust_env=True http2=False |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7860 local_address=None timeout=3 socket_options=None |
|
24-May-24 11:02:36 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa35202c7f0> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_headers.complete |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - send_request_body.complete |
|
24-May-24 11:02:36 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'date', b'Fri, 24 May 2024 11:02:36 GMT'), (b'server', b'uvicorn'), (b'content-length', b'27594'), (b'content-type', b'text/html; charset=utf-8')]) |
|
24-May-24 11:02:37 - httpx - INFO - HTTP Request: HEAD http: |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_body.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - response_closed.started |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - response_closed.complete |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - close.started |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - close.complete |
|
24-May-24 11:02:37 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False |
|
24-May-24 11:02:37 - httpx - DEBUG - load_verify_locations cafile='/usr/local/lib/python3.10/dist-packages/certifi/cacert.pem' |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - connect_tcp.started host='api.gradio.app' port=443 local_address=None timeout=30 socket_options=None |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa3520836d0> |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7aa3521971c0> server_hostname='api.gradio.app' timeout=30 |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa352083700> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_headers.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_body.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 24 May 2024 11:02:37 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'ContentType', b'application/json'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) |
|
24-May-24 11:02:37 - httpx - INFO - HTTP Request: GET https: |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_body.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - response_closed.started |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - response_closed.complete |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - close.started |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - close.complete |
|
24-May-24 11:02:37 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False |
|
24-May-24 11:02:37 - httpx - DEBUG - load_verify_locations cafile='/usr/local/lib/python3.10/dist-packages/certifi/cacert.pem' |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - connect_tcp.started host='cdn-media.huggingface.co' port=443 local_address=None timeout=30 socket_options=None |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa3520827a0> |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7aa352197140> server_hostname='cdn-media.huggingface.co' timeout=30 |
|
24-May-24 11:02:37 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa3520827d0> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_headers.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - send_request_body.complete |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Content-Type', b'binary/octet-stream'), (b'Content-Length', b'11374592'), (b'Connection', b'keep-alive'), (b'Last-Modified', b'Tue, 04 Jul 2023 12:26:37 GMT'), (b'x-amz-server-side-encryption', b'AES256'), (b'Accept-Ranges', b'bytes'), (b'Server', b'AmazonS3'), (b'Date', b'Fri, 24 May 2024 07:57:44 GMT'), (b'ETag', b'"3a6ef613fc0d9adbca1393479748524d-2"'), (b'Vary', b'Accept-Encoding'), (b'X-Cache', b'Hit from cloudfront'), (b'Via', b'1.1 aadc36bc93844687d7ba70137223bc20.cloudfront.net (CloudFront)'), (b'X-Amz-Cf-Pop', b'IAD55-P2'), (b'X-Amz-Cf-Id', b'Kkx5tjkvCRrDVmNtAppTXXW6CeRfsATF_9He9_itBZEYs4uoPTabXA=='), (b'Age', b'11138')]) |
|
24-May-24 11:02:37 - httpx - INFO - HTTP Request: GET https: |
|
24-May-24 11:02:37 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - receive_response_body.complete |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - response_closed.started |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - response_closed.complete |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - close.started |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - close.complete |
|
24-May-24 11:02:38 - httpx - DEBUG - load_ssl_context verify=False cert=None trust_env=True http2=False |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - connect_tcp.started host='a97c680c176f16dfd1.gradio.live' port=443 local_address=None timeout=3 socket_options=None |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa3520813c0> |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7aa352196ec0> server_hostname='a97c680c176f16dfd1.gradio.live' timeout=3 |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7aa3520813f0> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - send_request_headers.complete |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - send_request_body.complete |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Fri, 24 May 2024 11:02:38 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Content-Length', b'27628'), (b'Connection', b'keep-alive'), (b'Server', b'uvicorn')]) |
|
24-May-24 11:02:38 - httpx - INFO - HTTP Request: HEAD https: |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']> |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - receive_response_body.complete |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - response_closed.started |
|
24-May-24 11:02:38 - httpcore.http11 - DEBUG - response_closed.complete |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - close.started |
|
24-May-24 11:02:38 - httpcore.connection - DEBUG - close.complete |
|
24-May-24 11:02:38 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): huggingface.co:443 |
|
24-May-24 11:02:39 - urllib3.connectionpool - DEBUG - https: |
|
24-May-24 11:03:38 - matplotlib.pyplot - DEBUG - Loaded backend agg version v2.2. |
|
24-May-24 11:03:38 - root - DEBUG - Starting chat_function |
|
24-May-24 11:03:41 - root - INFO - Input details: |
|
**Input Sentence:** A sentence with 5 words |
|
|
|
**Predictions**: |
|
Token: ĠA, Entity: B-LF, Score: 0.9992 |
|
Token: Ġsentence, Entity: I-LF, Score: 0.9997 |
|
Token: Ġwith, Entity: I-LF, Score: 0.9995 |
|
Token: Ġ5, Entity: I-LF, Score: 0.9972 |
|
Token: Ġwords, Entity: I-LF, Score: 0.9982 |
|
|
|
|
|
24-May-24 11:03:41 - matplotlib.pyplot - DEBUG - Loaded backend module: |
|
24-May-24 11:03:49 - matplotlib.pyplot - DEBUG - Loaded backend agg version v2.2. |
|
24-May-24 11:03:49 - root - DEBUG - Starting chat_function |
|
24-May-24 11:03:51 - root - INFO - |
|
Input details: |
|
Received index from user: 5 Sending response to user: **Record**: |
|
Tokens: ['We', 'next', 'undertook', 'a', 'large', 'case', 'study', 'of', 'all', '88,835', 'articles', 'published', 'by', 'NIH', 'investigators', 'who', 'maintained', 'continuous', 'R01', 'funding', 'from', 'fiscal', 'year', '(', 'FY', ')', '2003', 'through', 'FY2010', 'to', 'ask', 'how', 'the', 'RCR', 'of', 'publications', 'from', 'individual', 'investigators', 'changed', 'over', 'this', '8', '-', 'y', 'interval', '.'] |
|
Ground Truth Labels: ['B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-AC', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-LF', 'I-LF', 'B-O', 'B-AC', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-AC', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O', 'B-O'] |
|
|
|
**Predictions**: |
|
Token: ĠWe, Entity: B-O, Score: 1.0000 |
|
Token: Ġnext, Entity: B-O, Score: 1.0000 |
|
Token: Ġundertook, Entity: B-O, Score: 1.0000 |
|
Token: Ġa, Entity: B-O, Score: 1.0000 |
|
Token: Ġlarge, Entity: B-O, Score: 1.0000 |
|
Token: Ġcase, Entity: B-O, Score: 1.0000 |
|
Token: Ġstudy, Entity: B-O, Score: 1.0000 |
|
Token: Ġof, Entity: B-O, Score: 1.0000 |
|
Token: Ġall, Entity: B-O, Score: 1.0000 |
|
Token: Ġ88, Entity: B-O, Score: 1.0000 |
|
Token: ,, Entity: B-O, Score: 1.0000 |
|
Token: 8, Entity: B-O, Score: 1.0000 |
|
Token: 35, Entity: B-O, Score: 1.0000 |
|
Token: Ġarticles, Entity: B-O, Score: 1.0000 |
|
Token: Ġpublished, Entity: B-O, Score: 1.0000 |
|
Token: Ġby, Entity: B-O, Score: 1.0000 |
|
Token: ĠNIH, Entity: B-AC, Score: 0.9511 |
|
Token: Ġinvestigators, Entity: B-O, Score: 1.0000 |
|
Token: Ġwho, Entity: B-O, Score: 1.0000 |
|
Token: Ġmaintained, Entity: B-O, Score: 1.0000 |
|
Token: Ġcontinuous, Entity: B-O, Score: 1.0000 |
|
Token: ĠR, Entity: B-O, Score: 0.9917 |
|
Token: 01, Entity: B-O, Score: 0.9970 |
|
Token: Ġfunding, Entity: B-O, Score: 1.0000 |
|
Token: Ġfrom, Entity: B-O, Score: 1.0000 |
|
Token: Ġfiscal, Entity: B-LF, Score: 1.0000 |
|
Token: Ġyear, Entity: I-LF, Score: 1.0000 |
|
Token: Ġ(, Entity: B-O, Score: 1.0000 |
|
Token: ĠFY, Entity: B-AC, Score: 1.0000 |
|
Token: Ġ), Entity: B-O, Score: 1.0000 |
|
Token: Ġ2003, Entity: B-O, Score: 1.0000 |
|
Token: Ġthrough, Entity: B-O, Score: 1.0000 |
|
Token: ĠFY, Entity: B-O, Score: 0.9992 |
|
Token: 2010, Entity: B-O, Score: 0.9995 |
|
Token: Ġto, Entity: B-O, Score: 1.0000 |
|
Token: Ġask, Entity: B-O, Score: 1.0000 |
|
Token: Ġhow, Entity: B-O, Score: 1.0000 |
|
Token: Ġthe, Entity: B-O, Score: 1.0000 |
|
Token: ĠR, Entity: B-AC, Score: 0.9868 |
|
Token: CR, Entity: B-AC, Score: 0.9906 |
|
Token: Ġof, Entity: B-O, Score: 1.0000 |
|
Token: Ġpublications, Entity: B-O, Score: 1.0000 |
|
Token: Ġfrom, Entity: B-O, Score: 1.0000 |
|
Token: Ġindividual, Entity: B-O, Score: 1.0000 |
|
Token: Ġinvestigators, Entity: B-O, Score: 1.0000 |
|
Token: Ġchanged, Entity: B-O, Score: 1.0000 |
|
Token: Ġover, Entity: B-O, Score: 1.0000 |
|
Token: Ġthis, Entity: B-O, Score: 1.0000 |
|
Token: Ġ8, Entity: B-O, Score: 1.0000 |
|
Token: Ġ-, Entity: B-O, Score: 1.0000 |
|
Token: Ġy, Entity: B-O, Score: 1.0000 |
|
Token: Ġinterval, Entity: B-O, Score: 1.0000 |
|
Token: Ġ., Entity: B-O, Score: 1.0000 |
|
|
|
**Metrics**: |
|
Precision: 0.7846 |
|
Recall: 0.7660 |
|
F1 Score: 0.7752 |
|
Accuracy: 0.7660 |
|
24-May-24 11:03:51 - matplotlib.pyplot - DEBUG - Loaded backend module: |
|
|