Summarization
Transformers
PyTorch
TensorBoard
Safetensors
English
bart
text2text-generation
Eval Results (legacy)
Instructions to use JustinDu/BARTxiv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JustinDu/BARTxiv 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="JustinDu/BARTxiv")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("JustinDu/BARTxiv") model = AutoModelForSeq2SeqLM.from_pretrained("JustinDu/BARTxiv", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Justin Du commited on
Commit ·
fa6a6a2
1
Parent(s): 1ef4371
Training completed (202 examples, 4 epochs)
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1625537293
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a7e90d1d58cc26df48ecc0c8d58155166655631cfa9a024aa39fa1d5e0b1433
|
| 3 |
size 1625537293
|
runs/Feb05_18-13-57_DESKTOP-4P0HGA6/events.out.tfevents.1675649637.DESKTOP-4P0HGA6.23812.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f5997e4c98a2773fafdb285689a1d2cd51b0c30abbbe6b7d1d2da87301b8d83
|
| 3 |
+
size 1018
|
runs/Jan29_19-19-17_DESKTOP-4P0HGA6/events.out.tfevents.1675048757.DESKTOP-4P0HGA6.32616.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5601effe0ce3a2d4d07e7f4aaa070d8cf4339d2089281fbe82deecf676e742e4
|
| 3 |
+
size 1265
|