Run this model with HF Jobs
Run usakha/Prophetnet_GovReport_model 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/usakha/Prophetnet_GovReport_model. 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/usakha/Prophetnet_GovReport_model 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 usakha/Prophetnet_GovReport_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Prophetnet_GovReport_model 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="usakha/Prophetnet_GovReport_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Prophetnet_GovReport_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Prophetnet_GovReport_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files5 unmodified lines67891011125 unmodified lines- rougepipeline_tag: summarization---# Training Results5 unmodified lines67891011121314151617181920212223242526272829305 unmodified lines- rougepipeline_tag: summarization---# Hyperparameterslearning_rate=2e-5per_device_train_batch_size=14per_device_eval_batch_size=14weight_decay=0.01save_total_limit=3num_train_epochs=3predict_with_generate=Truefp16=True# Training Outputglobal_step=3003,training_loss=2.5178213735600132,metrics={'train_runtime': 8703.174,'train_samples_per_second': 4.83,'train_steps_per_second': 0.345,'total_flos': 9.272950245870797e+16,'train_loss': 2.5178213735600132,'epoch': 3.0}# Training Results
README.md+18