Run this model with HF Jobs
Run hf-tiny-model-private/tiny-random-SplinterForPreTraining 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/hf-tiny-model-private/tiny-random-SplinterForPreTraining. 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/hf-tiny-model-private/tiny-random-SplinterForPreTraining 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 hf-tiny-model-private/tiny-random-SplinterForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-SplinterForPreTraining with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-SplinterForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-tiny-model-private/tiny-random-SplinterForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
46c9273
1
Parent(s): b9afb52
Upload tiny models for SplinterForPreTraining
Browse filesFiles changed (6)
- config.jsonAdded+23
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+10
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+19
- vocab.txtAdded
1234567891011121314151617181920212223{ "architectures": [ "SplinterForPreTraining" ], "attention_probs_dropout_prob": 0.1, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 32, "initializer_range": 0.02, "intermediate_size": 37, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "splinter", "num_attention_heads": 4, "num_hidden_layers": 5, "pad_token_id": 0, "question_token_id": 104, "torch_dtype": "float32", "transformers_version": "4.28.0.dev0", "type_vocab_size": 16, "use_cache": true, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:fdaa12119a65ff7e4acff7cb88136ba5a4dece18e13985a2ba673dd74ad97b3fsize 397892512345678910{ "additional_special_tokens": [ "[QUESTION]" ], "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516171819{ "additional_special_tokens": [ "[QUESTION]" ], "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": "/home/runner/.cache/huggingface/hub/models--tau--splinter-base/snapshots/d6bc929405a27b7502bbab767f615c89b0e52373/special_tokens_map.json", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "SplinterTokenizer", "unk_token": "[UNK]"}config.jsonAdded+23
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+10
tokenizer.jsonAdded
tokenizer_config.jsonAdded+19
vocab.txtAdded