MBZUAI / swiftformer-l1

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: 3
30-day runs: 2
Model's Last Updated: May 12 2023
image-classification

Introduction of swiftformer-l1

Model Details of swiftformer-l1

SwiftFormer (swiftformer-l1)

Model description

The SwiftFormer model was proposed in SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applications by Abdelrahman Shaker, Muhammad Maaz, Hanoona Rasheed, Salman Khan, Ming-Hsuan Yang, Fahad Shahbaz Khan.

SwiftFormer paper introduces a novel efficient additive attention mechanism that effectively replaces the quadratic matrix multiplication operations in the self-attention computation with linear element-wise multiplications. A series of models called 'SwiftFormer' is built based on this, which achieves state-of-the-art performance in terms of both accuracy and mobile inference speed. Even their small variant achieves 78.5% top-1 ImageNet1K accuracy with only 0.8 ms latency on iPhone 14, which is more accurate and 2× faster compared to MobileViT-v2.

Intended uses & limitations
How to use
import requests
from PIL import Image

url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
image = Image.open(requests.get(url, stream=True).raw)

from transformers import ViTImageProcessor
processor = ViTImageProcessor.from_pretrained('shehan97/swiftformer-l1')
inputs = processor(images=image, return_tensors="pt")


from transformers.models.swiftformer import SwiftFormerForImageClassification
new_model = SwiftFormerForImageClassification.from_pretrained('shehan97/swiftformer-l1')

output = new_model(inputs['pixel_values'], output_hidden_states=True)
logits = output.logits
predicted_class_idx = logits.argmax(-1).item()
print("Predicted class:", new_model.config.id2label[predicted_class_idx])
Limitations and bias
Training data

The classification model is trained on the ImageNet-1K dataset.

Training procedure
Evaluation results

Runs of MBZUAI swiftformer-l1 on huggingface.co

10
Total runs
0
24-hour runs
0
3-day runs
3
7-day runs
2
30-day runs

More Information About swiftformer-l1 huggingface.co Model

swiftformer-l1 huggingface.co

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

swiftformer-l1 huggingface.co Url

https://huggingface.co/MBZUAI/swiftformer-l1

MBZUAI swiftformer-l1 online free

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

MBZUAI swiftformer-l1 online free url in huggingface.co:

https://huggingface.co/MBZUAI/swiftformer-l1

swiftformer-l1 install

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

swiftformer-l1 install url in huggingface.co:

https://huggingface.co/MBZUAI/swiftformer-l1

Url of swiftformer-l1

swiftformer-l1 huggingface.co Url

Provider of swiftformer-l1 huggingface.co

MBZUAI
ORGANIZATIONS

Other API from MBZUAI

huggingface.co

Total runs: 75.8K
Run Growth: 1.8K
Growth Rate: 2.41%
Updated:February 20 2025
huggingface.co

Total runs: 5.3K
Run Growth: -1.2K
Growth Rate: -23.60%
Updated:April 08 2026
huggingface.co

Total runs: 4.9K
Run Growth: 2.3K
Growth Rate: 46.37%
Updated:March 01 2024
huggingface.co

Total runs: 4.6K
Run Growth: -1.3K
Growth Rate: -27.43%
Updated:April 08 2026
huggingface.co

Total runs: 3.0K
Run Growth: -1.0K
Growth Rate: -35.01%
Updated:April 08 2026
huggingface.co

Total runs: 2.5K
Run Growth: -424
Growth Rate: -17.00%
Updated:April 08 2026
huggingface.co

Total runs: 1.9K
Run Growth: 522
Growth Rate: 27.58%
Updated:March 13 2025
huggingface.co

Total runs: 1.2K
Run Growth: -1.2K
Growth Rate: -99.49%
Updated:April 28 2023
huggingface.co

Total runs: 1.1K
Run Growth: -1.2K
Growth Rate: -110.15%
Updated:April 28 2023
huggingface.co

Total runs: 935
Run Growth: -1.2K
Growth Rate: -125.13%
Updated:April 28 2023
huggingface.co

Total runs: 916
Run Growth: 242
Growth Rate: 26.42%
Updated:February 28 2024
huggingface.co

Total runs: 732
Run Growth: 689
Growth Rate: 94.13%
Updated:March 25 2024
huggingface.co

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

Total runs: 262
Run Growth: 78
Growth Rate: 29.77%
Updated:February 27 2026
huggingface.co

Total runs: 137
Run Growth: 31
Growth Rate: 22.63%
Updated:February 28 2024
huggingface.co

Total runs: 124
Run Growth: 112
Growth Rate: 90.32%
Updated:December 16 2024
huggingface.co

Total runs: 116
Run Growth: -179
Growth Rate: -154.31%
Updated:February 27 2026
huggingface.co

Total runs: 103
Run Growth: 59
Growth Rate: 57.28%
Updated:September 10 2025
huggingface.co

Total runs: 93
Run Growth: -112
Growth Rate: -120.43%
Updated:February 27 2026
huggingface.co

Total runs: 87
Run Growth: -158
Growth Rate: -181.61%
Updated:December 27 2023
huggingface.co

Total runs: 78
Run Growth: 56
Growth Rate: 71.79%
Updated:September 10 2025
huggingface.co

Total runs: 57
Run Growth: 51
Growth Rate: 89.47%
Updated:January 20 2026
huggingface.co

Total runs: 38
Run Growth: -26
Growth Rate: -68.42%
Updated:December 18 2024
huggingface.co

Total runs: 35
Run Growth: 17
Growth Rate: 48.57%
Updated:September 10 2025
huggingface.co

Total runs: 35
Run Growth: 17
Growth Rate: 48.57%
Updated:December 16 2024
huggingface.co

Total runs: 32
Run Growth: 17
Growth Rate: 53.13%
Updated:December 16 2024
huggingface.co

Total runs: 29
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2026
huggingface.co

Total runs: 25
Run Growth: 6
Growth Rate: 24.00%
Updated:December 27 2023
huggingface.co

Total runs: 25
Run Growth: 17
Growth Rate: 68.00%
Updated:March 16 2025
huggingface.co

Total runs: 20
Run Growth: 13
Growth Rate: 65.00%
Updated:February 28 2024
huggingface.co

Total runs: 14
Run Growth: 14
Growth Rate: 100.00%
Updated:November 28 2025
huggingface.co

Total runs: 13
Run Growth: 9
Growth Rate: 69.23%
Updated:June 12 2025
huggingface.co

Total runs: 9
Run Growth: -3
Growth Rate: -33.33%
Updated:March 25 2024
huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:April 13 2026
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 05 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025