Run this model with HF Jobs
Run MichelNivard/GPCRBert-v0.1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MichelNivard/GPCRBert-v0.1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MichelNivard/GPCRBert-v0.1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MichelNivard/GPCRBert-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MichelNivard/GPCRBert-v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="MichelNivard/GPCRBert-v0.1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("MichelNivard/GPCRBert-v0.1") model = AutoModelForMaskedLM.from_pretrained("MichelNivard/GPCRBert-v0.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from MichelNivard/GPCRBert-v0.1: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/MichelNivard/GPCRBert-v0.1/resolve/main/config.json
- Command line
-
hf download hf://MichelNivard/GPCRBert-v0.1/config.json
-
curl -L -o config.json https://huggingface.co/MichelNivard/GPCRBert-v0.1/resolve/main/config.json
1.16 kB
| { | |
| "architectures": [ | |
| "ModernBertForMaskedLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 50281, | |
| "classifier_activation": "gelu", | |
| "classifier_bias": false, | |
| "classifier_dropout": 0.0, | |
| "classifier_pooling": "cls", | |
| "cls_token_id": 50281, | |
| "decoder_bias": true, | |
| "deterministic_flash_attn": false, | |
| "embedding_dropout": 0.0, | |
| "eos_token_id": 50282, | |
| "global_attn_every_n_layers": 3, | |
| "global_rope_theta": 160000.0, | |
| "hidden_activation": "gelu", | |
| "hidden_size": 512, | |
| "initializer_cutoff_factor": 2.0, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 512, | |
| "local_attention": 128, | |
| "local_rope_theta": 10000.0, | |
| "max_position_embeddings": 512, | |
| "mlp_bias": false, | |
| "mlp_dropout": 0.0, | |
| "model_type": "modernbert", | |
| "norm_bias": false, | |
| "norm_eps": 1e-05, | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 16, | |
| "pad_token_id": 25, | |
| "reference_compile": false, | |
| "repad_logits_with_grad": false, | |
| "sep_token_id": 50282, | |
| "sparse_pred_ignore_index": -100, | |
| "sparse_prediction": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.49.0", | |
| "type_vocab_size": 1, | |
| "vocab_size": 29 | |
| } | |