Run this model with HF Jobs
Run hf-tiny-model-private/tiny-random-XmodForTokenClassification 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-XmodForTokenClassification. 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-XmodForTokenClassification 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-XmodForTokenClassification 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-XmodForTokenClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hf-tiny-model-private/tiny-random-XmodForTokenClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-XmodForTokenClassification") model = AutoModelForTokenClassification.from_pretrained("hf-tiny-model-private/tiny-random-XmodForTokenClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
be5acc8
1
Parent(s): 46e7943
Upload tiny models for XmodForTokenClassification
Browse filesFiles changed (7)
- .gitattributes+1
- config.jsonAdded+35
- pytorch_model.binAdded+3
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+15
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+21
31 unmodified lines3233343531 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text1234567891011121314151617181920212223242526272829303132333435{ "adapter_layer_norm": false, "adapter_reduction_factor": 2, "adapter_reuse_layer_norm": true, "architectures": [ "XmodForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "default_language": "en_XX", "eos_token_id": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 32, "initializer_range": 0.02, "intermediate_size": 37, "languages": [ "en_XX" ], "layer_norm_eps": 1e-12, "ln_before_adapter": true, "max_position_embeddings": 512, "model_type": "xmod", "num_attention_heads": 4, "num_hidden_layers": 5, "pad_token_id": 1, "position_embedding_type": "absolute", "pre_norm": false, "torch_dtype": "float32", "transformers_version": "4.28.0.dev0", "type_vocab_size": 16, "use_cache": true, "vocab_size": 250002}123version https://git-lfs.github.com/spec/v1oid sha256:340549c71338ea5e19a8e8cd2e91deb4a53150f1546b7a07a6adfc155886ee58size 32264893123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 5069051123456789101112131415{ "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626size 17082660123456789101112131415161718192021{ "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "__type": "AddedToken", "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "model_max_length": 510, "pad_token": "<pad>", "sep_token": "</s>", "sp_model_kwargs": {}, "special_tokens_map_file": null, "tokenizer_class": "XLMRobertaTokenizer", "unk_token": "<unk>"}.gitattributes+1
config.jsonAdded+35
pytorch_model.binAdded+3
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+15
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+21