Instructions to use samanehs/bert_base_en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samanehs/bert_base_en with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("samanehs/bert_base_en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "module": "keras_nlp.src.models.bert.bert_backbone", | |
| "class_name": "BertBackbone", | |
| "config": { | |
| "name": "bert_backbone", | |
| "trainable": true, | |
| "vocabulary_size": 30522, | |
| "num_layers": 2, | |
| "num_heads": 2, | |
| "hidden_dim": 128, | |
| "intermediate_dim": 512, | |
| "dropout": 0.1, | |
| "max_sequence_length": 512, | |
| "num_segments": 2 | |
| }, | |
| "registered_name": "keras_nlp>BertBackbone", | |
| "assets": [], | |
| "weights": "model.weights.h5" | |
| } |