Instructions to use usakha/Bart_MedPaper_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use usakha/Bart_MedPaper_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/Bart_MedPaper_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("usakha/Bart_MedPaper_model") model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Bart_MedPaper_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
20b8a3b
-
Update README.md
7cf8b86
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (a6d7d003bf30e60a25ae48d7e2a9872cbdb3bb23) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6e8f790
-
Create README.md
2bf7c14 -
Training in progress, step 4000
8978d8c -
Training in progress, step 3000
7936f4d -
Training in progress, step 2500
a5f57a8 -
Training in progress, step 1500
a16996a -
Training in progress, step 500
0962de3 -
initial commit
d45f360