Run this model with HF Jobs
Run nlpie/miniALBERT-128 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/nlpie/miniALBERT-128. 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/nlpie/miniALBERT-128 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 nlpie/miniALBERT-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpie/miniALBERT-128 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nlpie/miniALBERT-128")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nlpie/miniALBERT-128") model = AutoModelForMaskedLM.from_pretrained("nlpie/miniALBERT-128", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Mojtaba aka Omid Rohanian commited on
Commit ·
e5b62b1
1
Parent(s): 2626838
MiniALBERT-128 model and tokeniser
Browse filesFiles changed (6)
- config.jsonAdded+37
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+14
- vocab.txtAdded
12345678910111213141516171819202122232425262728293031323334353637{ "_name_or_path": "/users/engs2263/compact-distilbert/models/general-miniALBERT-128/final/model", "architectures": [ "MiniAlbertForMaskedLM" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 2, "classifier_dropout": null, "classifier_dropout_prob": 0.1, "down_scale_factor": 1, "embedding_size": 128, "eos_token_id": 3, "gap_size": 0, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "inner_group_num": 1, "intermediate_size": 3072, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "net_structure_type": 0, "num_attention_heads": 12, "num_hidden_groups": 1, "num_hidden_layers": 6, "num_memory_blocks": 0, "pad_token_id": 0, "position_embedding_type": "absolute", "reduction_factor": 16, "torch_dtype": "float32", "transformers_version": "4.27.0.dev0", "type_vocab_size": 2, "use_adapter": true, "use_cache": true, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:fd6590e66d6f376b1012ed634f93ffdb903054ac64168b51d84b9acb90d445acsize 1469435371234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314{ "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "bert-base-uncased", "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}config.jsonAdded+37
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+14
vocab.txtAdded