Downloads · 30 days
238
20% of all-time downloads
scrollprize/timesformer_GP_scroll1
timesformer_GP_scroll1 is a feature extraction model from scrollprize. Use it when you need embeddings to search or compare text. It is set up for transformers.
The grandprize winning model of the Vesuvius Challenge of 2023.
Downloads · 30 days
238
20% of all-time downloads
All-time downloads
1.2K
Public
Parameters
38M
152 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors152 MB · 100%
From the Hugging Face model README
The grandprize winning model of the Vesuvius Challenge of 2023.
The grandprize winning model of the Vesuvius Challenge of 2023.
The model features a small TimeSformer architecture trained on image segmentation task to detect ink in 3d images.
This model takes as input the 3d image and outputs a 2d map of ink detections, roughly 1/16 the size of the input.
Make sure to have the dependencies installed, namely transformers and <a href="https://github.com/lucidrains/TimeSformer-pytorch">Timesformer package</a>
pip install -U transformers timesformer-pytorch
Next you can run the model as follows:
from transformers import AutoModel
model = AutoModel.from_pretrained("YoussefMoNader/timesformer_GP_scroll1", trust_remote_code=True)
the model expects a (B,1,26,64,64) tensor
<!-- ## Training Details <!-- ### Training Data <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->The model was trained on 4xH100 for 8 hours. This model was trained for 12 epochs on total, a single epoch takes around 45 mins using the old script train_timesformer_og.py
<!-- ## Technical Specifications [optional] ### Model Architecture and Objective [More Information Needed] ### Compute Infrastructure [More Information Needed] #### Hardware [More Information Needed] --> <!-- #### Software [More Information Needed] --> <!-- ## Citation [optional] <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. --> <!-- **BibTeX:** [More Information Needed] **APA:** [More Information Needed] ## Glossary [optional] <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. --> <!-- [More Information Needed] ## More Information [optional] [More Information Needed] ## Model Card Authors [optional] [More Information Needed] ## Model Card Contact [More Information Needed] -->