Skip to content

Commit

Permalink
update parse with layout example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sdddell committed Nov 5, 2024
1 parent 9e32846 commit ff25d25
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions examples/async_parse_with_layout.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import display, Markdown\n",
"from any_parser import AnyParser, ModelType"
"from any_parser import AnyParser"
]
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -32,7 +32,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -42,13 +42,14 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Waiting for response...\n",
"Waiting for response...\n",
"Waiting for response...\n",
"Waiting for response...\n"
Expand All @@ -61,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -101,9 +102,9 @@
"\n",
"5.3 TrueTime\n",
"\n",
"Two questions must be answered with respect to TrueTime: is ε truly a bound on clock uncertainty, and how bad does ε get? For the former, the most serious problem would be if a local clock’s drift were greater than 200usec/sec: that would break assumptions made by TrueTime. Our machine statistics show that bad CPUs are 6 times more likely than bad clocks. That is, clock issues are extremely infrequent, relative to much more serious hardware problems. As a result, we believe that TrueTime’s implementation is as trustworthy as any other piece of software upon which Spanner depends.\n",
"Two questions must be answered with respect to TrueTime: is ε truly a bound on clock uncertainty, and how bad does ε get? For the former, the most serious problem would be if a local clock’s drift were greater than 200us/sec: that would break assumptions made by TrueTime. Our machine statistics show that bad CPUs are 6 times more likely than bad clocks. That is, clock issues are extremely infrequent, relative to much more serious hardware problems. As a result, we believe that TrueTime’s implementation is as trustworthy as any other piece of software upon which Spanner depends.\n",
"\n",
"![<@mask_p0_e1_figure(timeout=1h)>](https://anyparser-realtime-test-j-assetsconstructfilebucke-2wg0ln280yvz.s3.amazonaws.com/result_parse_with_layout/async_S4iyw7RAEE8CTGkVgHYeI8nsTmSALI1U2HXvAN6j/2024/11/5/test_1figure_1table_9289ba0e-72c5-48bb-be48-1641b94f9a5c.png/%3C%40mask_p0_e1_figure_s3%3E.png?AWSAccessKeyId=ASIAXM24X76XPWKTWXDM&Signature=mZ0m7RjJeSzx0s9CwX4lYiQ6B08%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEIb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLXdlc3QtMiJHMEUCIGD1BvlDiDwHhnQuFgm1FwUpT7dSQvGHeLDwflymFYKvAiEAgRH9Fh7hF%2F%2BwSs0vvYSN1jAn9bsa3BkxfeLyFRvLJ5Mq3AMI%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw1MDg2MTEyNjQ0MzAiDOOkXT2GLdegRIzCISqwAzb7qh6iEu%2FJIwki%2FtLa%2FHGgbKnZ%2F%2FKbsoxnnRWHDWoliSog3oibTehZaRFdOhrQto313dWESjMqGZnC%2B5B91WxR6CWR0yNap7OpI7SVSDi%2BWZG7l2smV8NBMrFyxNIIgr7vhYa44xpfzGbVYYboMZu1u8bHeQxitWKEJlvqvGY26Y7hN23lMFf32wjLpm4pThsf%2FP2TQAQLYgF%2FCTwVoBIUZs4jOl9gkeYi60WW3OhdSCgEUKuBKqodzAMOe6dcKvt7tJz5xOau3JvA3Stq%2FzyjJxuOgn0tErdaqU1AQ1N%2FIbdOB38NVH06PgLWTq4nYAzpRDs7f8q9z3yvh8%2BRkjAFzk5pygylkCT5qsWtTvsthqhP8JialK6bRh2SfMKBV69%2BwEKgaiHZZ9s7VExsBzokoH6qWrynHeaIcViQEA2mxp1ZugfCbBEsZe%2BNNUNRc%2BWurS3cjHxZKs7wB0Zutd6shsw68ph%2Fal5ewzPeKElXfppJ7DRZL6AJzOrQ6t3cRpCvUf%2BGI9Mwkr6JAgZG%2Bgk3F4lP3XmAYVYoatzK13y%2BGOShdhfAtUXZ0cxqikb9MjCC46a5BjqeAQ%2Fv%2Fe4ogTZbLdo1UXs8Dfl%2BpoFmNL7mvRXe6IQigEoocXeXd1svTsYa181ABJxkGvOQ7Gq4wdp%2Bw2pEbOOsh0IDk%2BNCKaffpOU%2BgPVAEN61yNEMtM28f%2FjFRWpC8qQfDjiz1VM9xiqK39iJjJsYcNCB1b6x2VoxKs4rgOUtkZi27eHw%2B7fJvEnrM3aAelAW46dCI%2FYjhRno3ys4p9qm&Expires=1730789387)\n",
"![<@mask_p0_e1_figure(timeout=1h)>](https://anyparser-realtime-test-j-assetsconstructfilebucke-2wg0ln280yvz.s3.amazonaws.com/result_parse_with_layout/async_S4iyw7RAEE8CTGkVgHYeI8nsTmSALI1U2HXvAN6j/2024/11/5/test_1figure_1table_d9b3dc10-ac4f-4528-b259-53ef3c6d09d9.png/%3C%40mask_p0_e1_figure_s3%3E.png?AWSAccessKeyId=ASIAXM24X76XEYQKKGEI&Signature=uUu5fIOWpCAjXVPqlga1%2Bh8I3XM%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLXdlc3QtMiJGMEQCIHxChuqwVJ0iFXuWuQLlC29CcCSPJeqA2ttJbTFkugapAiBgRNF5G4USu9E%2F3B4WQ0HEgrWqxFpma3yKBVsWGriZ4SrTAwgbEAAaDDUwODYxMTI2NDQzMCIMrYarh7jskTIknIX4KrADzwVwlO670C50i1y5Br65dHMfJWKuDJtn%2BEuVXe%2BygIbvJKJJ9DDbf%2FTF88x0hj%2F4WwltXauZwy%2FPdeqyP1qSD7tRJHvv8yTTuEOB31UhVefNE0AOjPyAJcbzL360MYuPTNIShseS6hAHa0q4eL%2BEIxSanSRmCzC8X9DQRoj64y6lke%2FJIej2IfLRW%2B8B6bRvNf9eQWb%2FBF%2BV92Q%2Bl6G%2BxlENa7xQJm1Yp%2Bqkj2ysZOSs6REI0YAeLYusZ069VDyI%2BCrb%2F8%2FOKtOJBzlH7A8IM5u2FZFfPDZYUYX2YVq%2FLk1tmBTV8Pzca2gKAl6df0ouSB%2FZQ5Mzxom9ZwnWUZvCdx6weH8AupbbHO60GmwBBDJGMmcir3AwlTUZu8VbRCYH0huYIGpOCK7CzkVEt0zskstILpWi6QyYRvEFjhVUBbQagZXYMSDpMeH%2ByC%2BNEIqHk%2BEbj0JYX7Vq1bWmwlGt0bQ%2Fa2i0flAHuo4egqE3Li6QzufUWbKLQNRRPw%2F8Bh1eLT2EtP%2FyJ7J3HOWQjeUY6ejcyHQthIRJT%2FI0j%2BTHDXbpqedcrepT%2FQwptiACXOjaMNm6qbkGOp8BQ6u%2B2O05C0YMQYEKlxNnNfi%2BY1w0CTpR2udC6Jpo8r3cnaeVviSoJ2GLb6Q2WQ%2FWMJVi1OmtjgpKTRBzNOabujdnhvOwSwSpM%2BgdIRvakt%2BGo2evcO9nyYyv75fNu%2FFOmSTtrznnryZgfaU7arWoClaU0ydCVtq0JwYDIaytcRdRc9phxzqj%2BKGo1ilegNod4LtgvOGXiuv9S5aoS0sR&Expires=1730833293)\n",
"\n",
"Figure 5: Effect of killing servers on throughput.\n"
],
Expand Down

0 comments on commit ff25d25

Please sign in to comment.