MCPcopy Create free account

hub / github.com/chatdoc-com/OCRFlux / functions

Functions141 in github.com/chatdoc-com/OCRFlux

↓ 1 callersFunctionvllm_server_host
(args, semaphore)
ocrflux/pipeline.py:666
↓ 1 callersFunctionvllm_server_ready
(args)
ocrflux/pipeline.py:681
↓ 1 callersFunctionvllm_server_task
(args, semaphore)
ocrflux/pipeline.py:561
↓ 1 callersFunctionworker
(args, work_queue: WorkQueue, semaphore, worker_id)
ocrflux/pipeline.py:509
Method__init__
(self, tag, colspan=None, rowspan=None, content=None, *children)
eval/eval_table_to_html_nanonets.py:46
Method__init__
(self, structure_only=False, n_jobs=1, ignore_nodes=None)
eval/eval_table_to_html_nanonets.py:90
Method__init__
(self, tag, colspan=None, rowspan=None, content=None, *children)
eval/eval_table_to_html.py:14
Method__init__
(self, structure_only=False, n_jobs=1, ignore_nodes=None)
eval/eval_table_to_html.py:58
Method__init__
(self, tag, colspan=None, rowspan=None, content=None, *children)
eval/eval_table_to_html_olmocr.py:15
Method__init__
(self, structure_only=False, n_jobs=1, ignore_nodes=None)
eval/eval_table_to_html_olmocr.py:59
Method__init__
(self, tag, colspan=None, rowspan=None, content=None, *children)
eval/eval_html_table_merge.py:14
Method__init__
(self, structure_only=False, n_jobs=1, ignore_nodes=None)
eval/eval_html_table_merge.py:58
Method__init__
Initialize the local work queue. Args: workspace_path: Local directory path where the queue index,
ocrflux/work_queue.py:170
Method__init__
Initializes the MetricsKeeper. Args: window (int): Time window in seconds for recent metrics. Defaults to 5 minutes.
ocrflux/metrics.py:8
Method__init__
Initializes the WorkerTracker with a default dictionary. Each worker ID maps to another dictionary that holds counts for each state.
ocrflux/metrics.py:77
Method__post_init__
(self)
ocrflux/prompts.py:14
Method__str__
Returns a formatted string of metrics showing tokens/sec since start and within the window. Returns: str: Formatted metr
ocrflux/metrics.py:48
Method__str__
String representation is not directly supported. Use 'await get_status_table()' to retrieve the status table.
ocrflux/metrics.py:142
Function_kill_proc
()
ocrflux/pipeline.py:587
Methodbracket
Show tree using brackets notation
eval/eval_table_to_html_nanonets.py:53
Methodbracket
Show tree using brackets notation
eval/eval_table_to_html.py:21
Methodbracket
Show tree using brackets notation
eval/eval_table_to_html_olmocr.py:22
Methodbracket
Show tree using brackets notation
eval/eval_html_table_merge.py:21
Functiondownload_zstd_csv_local
Download a zstd-compressed CSV from a local path. If the file doesn't exist, returns an empty list.
ocrflux/work_queue.py:122
Methodget_work
Get the next available work item that isn't completed or locked. Args: worker_lock_timeout_secs: Number of seconds befor
ocrflux/work_queue.py:291
Methodinitialize_queue
Load the work queue from the relevant store (local or remote) and initialize it for processing. For example, this might remo
ocrflux/work_queue.py:41
Methodis_completed
Check if a work item has been completed. Args: work_hash: Hash of the work item to check Returns: T
ocrflux/work_queue.py:52
Methodmark_done
Mark a work item as done by removing its lock file. Args: work_item: The WorkItem to mark as done
ocrflux/work_queue.py:339
Methodpopulate_queue
Add new items to the work queue. The specifics will vary depending on whether this is a local or S3-backed queue. Args:
ocrflux/work_queue.py:29
Methodrename
Compares attributes of trees
eval/eval_table_to_html_nanonets.py:77
Methodrename
Compares attributes of trees
eval/eval_table_to_html.py:45
Methodrename
Compares attributes of trees
eval/eval_table_to_html_olmocr.py:46
Methodrename
Compares attributes of trees
eval/eval_html_table_merge.py:45
Functionreplace_with_brackets
(match)
eval/eval_table_to_html_nanonets.py:26
Functionreplace_with_brackets
(match)
eval/eval_page_to_markdown_olmocr.py:22
Functionreplace_with_brackets
(match)
eval/eval_page_to_markdown_nanonets.py:22
Methodsize
Get current size of work queue
ocrflux/work_queue.py:91
Methodsize
Get current size of local work queue
ocrflux/work_queue.py:355
Functiontable_html2matrix
(html_table)
ocrflux/table_format.py:73
Functiontrans_markdown_text
(markdown_text,trans_type)
ocrflux/table_format.py:130
Functionupload_zstd_csv_local
Upload a zstd-compressed CSV to a local path.
ocrflux/work_queue.py:140
← previous101–141 of 141, ranked by callers