Skip to content

Commit

Permalink
refactor: use org--name in artifacts-path (#912)
Browse files Browse the repository at this point in the history
use org--name in artifacts-path

Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Feb 7, 2025
1 parent 90b766e commit 02faf53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docling/models/code_formula_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CodeFormulaModel(BaseItemAndImageEnrichmentModel):
Processes the given batch of elements and enriches them with predictions.
"""

_model_repo_folder = "CodeFormula"
_model_repo_folder = "ds4sd--CodeFormula"
elements_batch_size = 5
images_scale = 1.66 # = 120 dpi, aligned with training data resolution
expansion_factor = 0.03
Expand Down
2 changes: 1 addition & 1 deletion docling/models/document_picture_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class DocumentPictureClassifier(BaseEnrichmentModel):
Processes a batch of elements and adds classification annotations.
"""

_model_repo_folder = "DocumentFigureClassifier"
_model_repo_folder = "ds4sd--DocumentFigureClassifier"
images_scale = 2

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion docling/models/layout_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


class LayoutModel(BasePageModel):
_model_repo_folder = "docling-models"
_model_repo_folder = "ds4sd--docling-models"
_model_path = "model_artifacts/layout"

TEXT_ELEM_LABELS = [
Expand Down
2 changes: 1 addition & 1 deletion docling/models/table_structure_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


class TableStructureModel(BasePageModel):
_model_repo_folder = "docling-models"
_model_repo_folder = "ds4sd--docling-models"
_model_path = "model_artifacts/tableformer"

def __init__(
Expand Down

0 comments on commit 02faf53

Please sign in to comment.