Instructions to use sangmichaelxie/randomselect-bert-scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sangmichaelxie/randomselect-bert-scratch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sangmichaelxie/randomselect-bert-scratch")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sangmichaelxie/randomselect-bert-scratch") model = AutoModel.from_pretrained("sangmichaelxie/randomselect-bert-scratch") - Notebooks
- Google Colab
- Kaggle
Commit ·
c9534cd
1
Parent(s): 4d8ed3f
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 3072,
|
| 14 |
"layer_norm_eps": 1e-12,
|
| 15 |
-
"max_position_embeddings":
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
"num_hidden_layers": 12,
|
|
|
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 3072,
|
| 14 |
"layer_norm_eps": 1e-12,
|
| 15 |
+
"max_position_embeddings": 128,
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
"num_hidden_layers": 12,
|