You can find the details about evaluation process and the evaluation results.
Metric
Value
accuracy
0.982166
f1 score
0.982166
How to Get Started with the Model
[More Information Needed]
Model Card Authors
This model card is written by following authors:
[More Information Needed]
Model Card Contact
You can contact the model card authors through following channels:
[More Information Needed]
Citation
Below you can find information related to citation.
BibTeX:
[More Information Needed]
citation_bibtex
@article{singh2022emb,
title={Emb-GAM: an Interpretable and Efficient Predictor using Pre-trained Language Models},
author={Singh, Chandan and Gao, Jianfeng},
journal={arXiv preprint arXiv:2209.11799},
year={2022}
}
get_started_code
from PIL import Image
from skops import hub_utils
import torch
from transformers import AutoFeatureExtractor, AutoModel
import pickle
import os
load embedding model
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
feature_extractor = AutoFeatureExtractor.from_pretrained('Ramos-Ramos/vicreg-resnet-50')
model = AutoModel.from_pretrained('Ramos-Ramos/vicreg-resnet-50').eval().to(device)
This model is not intended to be used in production.
model_description
This is a LogisticRegressionCV model trained on averages of patch embeddings from the Imagenette dataset. This forms the GAM of an Emb-GAM extended to images. Patch embeddings are meant to be extracted with the Ramos-Ramos/vicreg-resnet-50 ResNet checkpoint.
eval_method
The model is evaluated using test split, on accuracy and F1 score with macro average.