ydshieh / clip-vit-base-patch32

huggingface.co
Total runs: 11
24-hour runs: -1
7-day runs: -1
30-day runs: 3
Model's Last Updated: June 29 2022
summarization

Introduction of clip-vit-base-patch32

Model Details of clip-vit-base-patch32

BigBirdPegasus model (large)

BigBird, is a sparse-attention based transformer which extends Transformer based models, such as BERT to much longer sequences. Moreover, BigBird comes along with a theoretical understanding of the capabilities of a complete transformer that the sparse model can handle.

BigBird was introduced in this paper and first released in this repository .

Disclaimer: The team releasing BigBird did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

BigBird relies on block sparse attention instead of normal attention (i.e. BERT's attention) and can handle sequences up to a length of 4096 at a much lower compute cost compared to BERT. It has achieved SOTA on various tasks involving very long sequences such as long documents summarization, question-answering with long contexts.

How to use

Here is how to use this model to get the features of a given text in PyTorch:

from transformers import BigBirdPegasusForConditionalGeneration, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("google/bigbird-pegasus-large-pubmed")

# by default encoder-attention is `block_sparse` with num_random_blocks=3, block_size=64
model = BigBirdPegasusForConditionalGeneration.from_pretrained("google/bigbird-pegasus-large-pubmed")

# decoder attention type can't be changed & will be "original_full"
# you can change `attention_type` (encoder only) to full attention like this:
model = BigBirdPegasusForConditionalGeneration.from_pretrained("google/bigbird-pegasus-large-pubmed", attention_type="original_full")

# you can change `block_size` & `num_random_blocks` like this:
model = BigBirdPegasusForConditionalGeneration.from_pretrained("google/bigbird-pegasus-large-pubmed", block_size=16, num_random_blocks=2)

text = "Replace me by any text you'd like."
inputs = tokenizer(text, return_tensors='pt')
prediction = model.generate(**inputs)
prediction = tokenizer.batch_decode(prediction)
Training Procedure

This checkpoint is obtained after fine-tuning BigBirdPegasusForConditionalGeneration for summarization on pubmed dataset from scientific_papers .

BibTeX entry and citation info
@misc{zaheer2021big,
      title={Big Bird: Transformers for Longer Sequences}, 
      author={Manzil Zaheer and Guru Guruganesh and Avinava Dubey and Joshua Ainslie and Chris Alberti and Santiago Ontanon and Philip Pham and Anirudh Ravula and Qifan Wang and Li Yang and Amr Ahmed},
      year={2021},
      eprint={2007.14062},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Runs of ydshieh clip-vit-base-patch32 on huggingface.co

11
Total runs
-1
24-hour runs
-1
3-day runs
-1
7-day runs
3
30-day runs

More Information About clip-vit-base-patch32 huggingface.co Model

More clip-vit-base-patch32 license Visit here:

https://choosealicense.com/licenses/apache-2.0

clip-vit-base-patch32 huggingface.co

clip-vit-base-patch32 huggingface.co is an AI model on huggingface.co that provides clip-vit-base-patch32's model effect (), which can be used instantly with this ydshieh clip-vit-base-patch32 model. huggingface.co supports a free trial of the clip-vit-base-patch32 model, and also provides paid use of the clip-vit-base-patch32. Support call clip-vit-base-patch32 model through api, including Node.js, Python, http.

clip-vit-base-patch32 huggingface.co Url

https://huggingface.co/ydshieh/clip-vit-base-patch32

ydshieh clip-vit-base-patch32 online free

clip-vit-base-patch32 huggingface.co is an online trial and call api platform, which integrates clip-vit-base-patch32's modeling effects, including api services, and provides a free online trial of clip-vit-base-patch32, you can try clip-vit-base-patch32 online for free by clicking the link below.

ydshieh clip-vit-base-patch32 online free url in huggingface.co:

https://huggingface.co/ydshieh/clip-vit-base-patch32

clip-vit-base-patch32 install

clip-vit-base-patch32 is an open source model from GitHub that offers a free installation service, and any user can find clip-vit-base-patch32 on GitHub to install. At the same time, huggingface.co provides the effect of clip-vit-base-patch32 install, users can directly use clip-vit-base-patch32 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

clip-vit-base-patch32 install url in huggingface.co:

https://huggingface.co/ydshieh/clip-vit-base-patch32

Url of clip-vit-base-patch32

clip-vit-base-patch32 huggingface.co Url

Provider of clip-vit-base-patch32 huggingface.co

ydshieh
ORGANIZATIONS

Other API from ydshieh

huggingface.co

Total runs: 340
Run Growth: 187
Growth Rate: 55.00%
Updated:August 19 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 28 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 23 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 18 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 28 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 06 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 13 2024