Video Classification
Transformers
Safetensors
foliation
feature-extraction
video
video-representation-learning
self-supervised-learning
motion
vision-transformer
custom_code
Instructions to use KBlueLeaf/Foliation-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KBlueLeaf/Foliation-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="KBlueLeaf/Foliation-B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KBlueLeaf/Foliation-B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from KBlueLeaf/Foliation-B: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/KBlueLeaf/Foliation-B/resolve/main/config.json
- Command line
-
hf download hf://KBlueLeaf/Foliation-B/config.json
-
curl -L -o config.json https://huggingface.co/KBlueLeaf/Foliation-B/resolve/main/config.json
486 Bytes
| { | |
| "architectures": [ | |
| "FoliationModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_foliation.FoliationConfig", | |
| "AutoModel": "modeling_foliation.FoliationModel" | |
| }, | |
| "cell": 4, | |
| "class_tokens": 4, | |
| "depth": 12, | |
| "dim": 768, | |
| "heads": 12, | |
| "in_channels": 3, | |
| "mlp_dim": 2048, | |
| "model_type": "foliation", | |
| "motion_tokens": 8, | |
| "patch_size": 16, | |
| "register_tokens": 4, | |
| "rope_theta": 100.0, | |
| "time_max_period": 10000.0, | |
| "transformers_version": "5.17.0" | |
| } | |