Skip to content

Commit

Permalink
add default value for bin tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
HomerW committed May 20, 2024
1 parent 3918d3e commit cab0ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octo/model/components/tokenizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class BinTokenizer(nn.Module):
high (float): Upper bound for bin range.
"""

n_bins: int
n_bins: int = 256
bin_type: str = "uniform"
low: float = 0
high: float = 1
Expand Down

0 comments on commit cab0ffa

Please sign in to comment.