Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
shmelev
/
test_custom_model
like
0
Transformers
PyTorch
bert
custom_code
Inference Endpoints
Model card
Files
Files and versions
Community
Train
Deploy
Use this model
47eb0d8
test_custom_model
/
configuration_bert.py
shmelev
commit from alex
6bf47d6
almost 2 years ago
raw
Copy download link
history
blame
223 Bytes
from
transformers
import
PretrainedConfig
from
typing
import
List
class
BertConfig
(
PretrainedConfig
):
model_type=
"bert"
def
__init__
(
self,
**kwargs,
):
super
().__init__(**kwargs)