Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.7.3-dev1
## 0.7.3-dev2

* Integration of Chipperv2 and additional Chipper functionality, which includes automatic detection of GPU,
bounding box prediction and hierarchical representation.
Expand Down
2 changes: 1 addition & 1 deletion unstructured_inference/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.3-dev1" # pragma: no cover
__version__ = "0.7.3-dev2" # pragma: no cover
4 changes: 2 additions & 2 deletions unstructured_inference/models/chipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ class UnstructuredChipperModel(UnstructuredElementExtractionModel):
def initialize(
self,
pre_trained_model_repo: str,
swap_head: bool,
swap_head_hidden_layer_size: int,
start_token_prefix: str,
prompt: str,
max_length: int,
heatmap_h: int,
heatmap_w: int,
source: Source,
swap_head: bool = False,
swap_head_hidden_layer_size: int = 0,
no_repeat_ngram_size: int = 10,
auth_token: Optional[str] = os.environ.get("UNSTRUCTURED_HF_TOKEN"),
device: Optional[str] = None,
Expand Down