File size: 14,883 Bytes
79eb771 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
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://127.0.0.1:7860/startup-events "HTTP/1.1 200 OK"
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://127.0.0.1:7860/ "HTTP/1.1 200 OK"
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://api.gradio.app/v2/tunnel-request "HTTP/1.1 200 OK"
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://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 "HTTP/1.1 200 OK"
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://a97c680c176f16dfd1.gradio.live "HTTP/1.1 200 OK"
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://huggingface.co:443 "HEAD /api/telemetry/gradio/launched HTTP/1.1" 200 0
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://matplotlib_inline.backend_inline version unknown.
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://matplotlib_inline.backend_inline version unknown.
|