Run this model with HF Jobs
Run Feluda/Final_Fine_Tuned_Legal_Led 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/Feluda/Final_Fine_Tuned_Legal_Led. 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/Feluda/Final_Fine_Tuned_Legal_Led 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 Feluda/Final_Fine_Tuned_Legal_Led with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Feluda/Final_Fine_Tuned_Legal_Led with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="Feluda/Final_Fine_Tuned_Legal_Led")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Feluda/Final_Fine_Tuned_Legal_Led") model = AutoModelForSeq2SeqLM.from_pretrained("Feluda/Final_Fine_Tuned_Legal_Led", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse filesFiles changed (3)
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "add_prefix_space": false, "added_tokens_decoder": { "0": { "content": "<s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "50264": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "errors": "replace", "mask_token": "<mask>", "model_max_length": 16384, "pad_token": "<pad>", "sep_token": "</s>", "tokenizer_class": "LEDTokenizer", "trim_offsets": true, "unk_token": "<unk>"}tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
vocab.jsonAdded