Instructions to use twigs/pegasus-x-large-8192-arxiv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use twigs/pegasus-x-large-8192-arxiv with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("twigs/pegasus-x-large-8192-arxiv") model = AutoModelForSeq2SeqLM.from_pretrained("twigs/pegasus-x-large-8192-arxiv") - Notebooks
- Google Colab
- Kaggle
Upload PegasusXForConditionalGeneration
Browse files- config.json +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "relu",
|
| 5 |
"add_bias_logits": false,
|
|
@@ -53,7 +53,7 @@
|
|
| 53 |
"scale_embedding": true,
|
| 54 |
"stagger_local_blocks": true,
|
| 55 |
"static_position_embeddings": true,
|
| 56 |
-
"torch_dtype": "
|
| 57 |
"transformers_version": "4.25.1",
|
| 58 |
"use_cache": true,
|
| 59 |
"vocab_size": 96103
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "twigs/pegasus-x-large-8192-arxiv",
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "relu",
|
| 5 |
"add_bias_logits": false,
|
|
|
|
| 53 |
"scale_embedding": true,
|
| 54 |
"stagger_local_blocks": true,
|
| 55 |
"static_position_embeddings": true,
|
| 56 |
+
"torch_dtype": "bfloat16",
|
| 57 |
"transformers_version": "4.25.1",
|
| 58 |
"use_cache": true,
|
| 59 |
"vocab_size": 96103
|
pytorch_model.bin
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:f72f7e49f28c4c6e9ac1b0ab5576b114adadc34948a4c0cf3d19600ca7e3f959
|
| 3 |
+
size 1137504293
|