Instructions to use nboost/pt-bert-large-msmarco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nboost/pt-bert-large-msmarco with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nboost/pt-bert-large-msmarco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nboost/pt-bert-large-msmarco: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/nboost/pt-bert-large-msmarco/resolve/main/config.json
- Command line
-
hf download hf://nboost/pt-bert-large-msmarco/config.json
-
curl -L -o config.json https://huggingface.co/nboost/pt-bert-large-msmarco/resolve/main/config.json
413 Bytes
| { | |
| "attention_probs_dropout_prob": 0.1, | |
| "eos_token_ids": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 1024, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "output_past": true, | |
| "type_vocab_size": 2, | |
| "vocab_size": 30522 | |
| } | |