Run this model with HF Jobs
Run Patcas/plbart-docs-v2 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/Patcas/plbart-docs-v2. 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/Patcas/plbart-docs-v2 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 Patcas/plbart-docs-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Patcas/plbart-docs-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Patcas/plbart-docs-v2") model = AutoModelForSeq2SeqLM.from_pretrained("Patcas/plbart-docs-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (7)
- config.jsonAdded+34
- model.safetensorsAdded+3
- runs/Jan31_20-10-55_37f1f7640d11/events.out.tfevents.1706731858.37f1f7640d11.1846.0Added+3
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+20
- tokenizer_config.jsonAdded+87
- training_args.binAdded+3
12345678910111213141516171819202122232425262728293031323334{ "_name_or_path": "Patcas/plbart-works", "activation_dropout": 0.0, "activation_function": "gelu", "architectures": [ "PLBartForConditionalGeneration" ], "attention_dropout": 0.1, "bos_token_id": 0, "classifier_dropout": 0.0, "d_model": 768, "decoder_attention_heads": 12, "decoder_ffn_dim": 3072, "decoder_layerdrop": 0.0, "decoder_layers": 6, "dropout": 0.1, "encoder_attention_heads": 12, "encoder_ffn_dim": 3072, "encoder_layerdrop": 0.0, "encoder_layers": 6, "eos_token_id": 2, "forced_eos_token_id": 2, "init_std": 0.02, "is_encoder_decoder": true, "max_position_embeddings": 1024, "model_type": "plbart", "num_hidden_layers": 6, "pad_token_id": 1, "scale_embedding": true, "torch_dtype": "float32", "transformers_version": "4.35.2", "use_cache": true, "vocab_size": 50005}123version https://git-lfs.github.com/spec/v1oid sha256:a9e6f02c39e61c7fd50609f8afdb4c4238dd9abf139d3b3279f345a4766add1dsize 557112860123version https://git-lfs.github.com/spec/v1oid sha256:54d6a16f0a197f3affd32fffbfeea82896a1f7b927f558e3f2edd7f9e156a8c7size 5259123version https://git-lfs.github.com/spec/v1oid sha256:f72f5d040a176945623a255484d24066f8c0da89a294359154e226efbe494b80size 9858331234567891011121314151617181920{ "additional_special_tokens": [ "__java__", "__python__", "__en_XX__" ], "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>"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50001": { "content": "__java__", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50002": { "content": "__python__", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50003": { "content": "__en_XX__", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "50004": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "__java__", "__python__", "__en_XX__" ], "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "language_codes": "base", "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "sep_token": "</s>", "sp_model_kwargs": {}, "src_lang": null, "tgt_lang": null, "tokenizer_class": "PLBartTokenizer", "unk_token": "<unk>"}123version https://git-lfs.github.com/spec/v1oid sha256:afb5c9808a337c84e8f2ad1386470ed1aa87f99cc6a4a360434d2a127f0c19b5size 4728config.jsonAdded+34
model.safetensorsAdded+3
runs/Jan31_20-10-55_37f1f7640d11/events.out.tfevents.1706731858.37f1f7640d11.1846.0Added+3
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+20
tokenizer_config.jsonAdded+87
training_args.binAdded+3