Instructions to use DeepNeural/Pubmed_Summarizer_Model_Trained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepNeural/Pubmed_Summarizer_Model_Trained with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DeepNeural/Pubmed_Summarizer_Model_Trained") model = AutoModelForSeq2SeqLM.from_pretrained("DeepNeural/Pubmed_Summarizer_Model_Trained", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from DeepNeural/Pubmed_Summarizer_Model_Trained: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/DeepNeural/Pubmed_Summarizer_Model_Trained/resolve/main/README.md
- Command line
-
hf download hf://DeepNeural/Pubmed_Summarizer_Model_Trained/README.md
-
curl -L -o README.md https://huggingface.co/DeepNeural/Pubmed_Summarizer_Model_Trained/resolve/main/README.md
1.53 kB
| library_name: transformers | |
| license: mit | |
| base_model: facebook/bart-large-cnn | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: Pubmed_Summarizer_Model_Trained | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Pubmed_Summarizer_Model_Trained | |
| This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 2.0925 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 5e-05 | |
| - train_batch_size: 1 | |
| - eval_batch_size: 1 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 16 | |
| - total_train_batch_size: 16 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 400 | |
| - num_epochs: 1 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 2.2535 | 0.6572 | 400 | 2.0925 | | |
| ### Framework versions | |
| - Transformers 4.55.2 | |
| - Pytorch 2.8.0+cu126 | |
| - Datasets 4.0.0 | |
| - Tokenizers 0.21.4 | |