Instructions to use FoamoftheSea/pvt_v2_b2_linear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FoamoftheSea/pvt_v2_b2_linear with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="FoamoftheSea/pvt_v2_b2_linear") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("FoamoftheSea/pvt_v2_b2_linear") model = AutoModelForImageClassification.from_pretrained("FoamoftheSea/pvt_v2_b2_linear", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Updated model for changed module name
Verified signature55957c4 -
Delete preprocessor_config.json
Verified signatured8578b6 -
Delete model.safetensors
Verified signatureddbf516 -
Delete config.json
Verified signature3e2157d
-
Update config.json
Switched "linear_attention" to true40d262c -
Update config.json
Switched from "attn_reduce" to "linear_attention" param95f6d54
-
Update preprocessor_config.json
15a659a
-
Delete pytorch_model.bin
a5a7108 -
Updated model architecture
bb966e0 -
Update config.json
965cd28
-
Uploaded converted weights
3f4beea -
Upload config.json
e4d0b71 -
initial commit
224b733