Run this model with HF Jobs
Run RyyDer/MobileBERT_SQuAD 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/RyyDer/MobileBERT_SQuAD. 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/RyyDer/MobileBERT_SQuAD 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 RyyDer/MobileBERT_SQuAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyyDer/MobileBERT_SQuAD with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="RyyDer/MobileBERT_SQuAD")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("RyyDer/MobileBERT_SQuAD") model = AutoModelForQuestionAnswering.from_pretrained("RyyDer/MobileBERT_SQuAD", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (8)
- config.jsonAdded+33
- model.safetensorsAdded+3
- runs/Feb26_14-58-39_dfdfd3138192/events.out.tfevents.1740582458.dfdfd3138192.164.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+56
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233{ "_name_or_path": "google/mobilebert-uncased", "architectures": [ "MobileBertForQuestionAnswering" ], "attention_probs_dropout_prob": 0.1, "classifier_activation": false, "classifier_dropout": null, "embedding_size": 128, "hidden_act": "relu", "hidden_dropout_prob": 0.0, "hidden_size": 512, "initializer_range": 0.02, "intermediate_size": 512, "intra_bottleneck_size": 128, "key_query_shared_bottleneck": true, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "mobilebert", "normalization_type": "no_norm", "num_attention_heads": 4, "num_feedforward_networks": 4, "num_hidden_layers": 24, "pad_token_id": 0, "torch_dtype": "float32", "transformers_version": "4.48.3", "trigram_input": true, "true_hidden_size": 128, "type_vocab_size": 2, "use_bottleneck": true, "use_bottleneck_attention": false, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:4f953dc5d9731f7e890d9d8aa3b40ffb9c466a39667f7ed962050edd9406262bsize 98470136123version https://git-lfs.github.com/spec/v1oid sha256:cf39421548400024f35db53cf4bfa54b0260ceb864c08d6634902cd9fead16ccsize 57651234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": false, "cls_token": "[CLS]", "do_lower_case": true, "extra_special_tokens": {}, "mask_token": "[MASK]", "model_max_length": 1000000000000000019884624838656, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "MobileBertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:478336680d99343d067c540bb0fcfdbf4711dc78f79a248930c85aedddd524b8size 5304config.jsonAdded+33
model.safetensorsAdded+3
runs/Feb26_14-58-39_dfdfd3138192/events.out.tfevents.1740582458.dfdfd3138192.164.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+56
training_args.binAdded+3
vocab.txtAdded