Downloads · 30 days
0
KhoiBui/tiktok-multimodal-fusion-classifier
tiktok-multimodal-fusion-classifier is a machine learning model from KhoiBui. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This model combines text and video features using Late Fusion with Cross-Attention to classify TikTok content as safe or harmful.
Downloads · 30 days
0
Access
Public
Updated Jan 29, 2026
Parameters
647M
7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.6 GB · 89%
From the Hugging Face model README
This model combines text and video features using Late Fusion with Cross-Attention to classify TikTok content as safe or harmful.
Text Backbone (XLM-RoBERTa) → Text Features (768-dim)
Video Backbone (VideoMAE) → Video Features (768-dim)
↓
Cross-Attention Fusion
↓
Gating Mechanism
↓
Classifier (2 classes)
This is a custom model. You need to download and use the LateFusionModel class:
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
import torch.nn as nn
# Download model weights
weights_path = hf_hub_download(repo_id="KhoiBui/tiktok-multimodal-fusion-classifier", filename="model.safetensors")
config_path = hf_hub_download(repo_id="KhoiBui/tiktok-multimodal-fusion-classifier", filename="fusion_config.json")
# Load config
import json
with open(config_path) as f:
config = json.load(f)
# Initialize and load model (using LateFusionModel class from your codebase)
# model = LateFusionModel(config)
# model.load_state_dict(load_file(weights_path))