Unverified Commit 50ec4933 authored by Kola's avatar Kola Committed by GitHub
Browse files

Fix typo (determine) (#29606)



* Fix type (determine)

* ruff

* Update src/transformers/models/mamba/configuration_mamba.py
Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>

---------
Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
parent 81ec8028
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
""" MAMBA configuration""" """MAMBA configuration"""
import math import math
from ...configuration_utils import PretrainedConfig from ...configuration_utils import PretrainedConfig
...@@ -54,7 +55,7 @@ class MambaConfig(PretrainedConfig): ...@@ -54,7 +55,7 @@ class MambaConfig(PretrainedConfig):
The id of the beginning of sentence token in the vocabulary. The id of the beginning of sentence token in the vocabulary.
eos_token_id (`int`, *optional*, defaults to 0): eos_token_id (`int`, *optional*, defaults to 0):
The id of the end of sentence token in the vocabulary. The id of the end of sentence token in the vocabulary.
expand (`int`, *optional*, defaults to 2): Expanding factor used to determin the intermediate size. expand (`int`, *optional*, defaults to 2): Expanding factor used to determine the intermediate size.
conv_kernel (`int`, *optional*, defaults to 4): Size of the convolution kernel. conv_kernel (`int`, *optional*, defaults to 4): Size of the convolution kernel.
use_bias (`bool`, *optional*, defaults to `False`): use_bias (`bool`, *optional*, defaults to `False`):
Whether or not to use bias in ["in_proj", "out_proj"] of the mixer block Whether or not to use bias in ["in_proj", "out_proj"] of the mixer block
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment