Downloads · 30 days
9
18% of all-time downloads
ParoleLM/socialjax-harvest-tokenizer-512
socialjax-harvest-tokenizer-512 is a machine learning model from ParoleLM. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Tokenizer used to produce ParoleLM/socialjax-harvest-frame-aligned-512.
Downloads · 30 days
9
18% of all-time downloads
All-time downloads
49
Public
Repo size
271 MB
Likes
0
Public
Click a slice to open those files.
.pt271 MB · 100%
From the Hugging Face model README
Tokenizer used to produce
ParoleLM/socialjax-harvest-frame-aligned-512.
ParoleLM/socialjax-harvest-tokenizer-5125,000[B,T,16,22]16 frames2x28851232270.7 MBtokenizer.pt contains the exact model_state_dict used for the published dataset, without optimizer state.
config.json and the relevant source files are included for reproducible loading.
import json
import torch
from src.architectures.genie.tokenizers.video_tokeniser import VideoTokenizer
config = json.load(open("config.json"))
model = VideoTokenizer(**config["model"], window=config["data"]["window"])
checkpoint = torch.load("tokenizer.pt", map_location="cpu")
model.load_state_dict(checkpoint["model_state_dict"])
model.eval()