Feature Extraction
Transformers
Safetensors
videojev
video
video-question-answering
temporal-grounding
custom_code
Instructions to use ZhuYuhan/VideoJev-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZhuYuhan/VideoJev-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ZhuYuhan/VideoJev-4B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ZhuYuhan/VideoJev-4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download validation.json from ZhuYuhan/VideoJev-4B: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/ZhuYuhan/VideoJev-4B/resolve/main/validation.json
- Command line
-
hf download hf://ZhuYuhan/VideoJev-4B/validation.json
-
curl -L -o validation.json https://huggingface.co/ZhuYuhan/VideoJev-4B/resolve/main/validation.json
2.01 kB
| { | |
| "size": "4B", | |
| "checkpoint_id": "c423395c-4193-4295-bb59-64673acefb11", | |
| "missing_keys": [], | |
| "unexpected_keys": [], | |
| "source_cast_dtype": "bfloat16", | |
| "questions": 4, | |
| "input_tokens": 273, | |
| "max_abs_logit_difference": 0.0, | |
| "source_logits": [ | |
| [ | |
| 4.415262222290039, | |
| 1.426879644393921, | |
| -3.542144298553467, | |
| -4.529165744781494 | |
| ], | |
| [ | |
| -2.222770929336548, | |
| -2.5467586517333984, | |
| -2.5534911155700684, | |
| -3.588559627532959 | |
| ], | |
| [ | |
| -4.0646257400512695, | |
| -0.5988587141036987, | |
| 2.448892831802368, | |
| -0.6281204223632812 | |
| ], | |
| [ | |
| -1.3047915697097778, | |
| -1.546255350112915, | |
| -1.252180576324463, | |
| -3.559253215789795 | |
| ] | |
| ], | |
| "hf_logits": [ | |
| [ | |
| 4.415262222290039, | |
| 1.426879644393921, | |
| -3.542144298553467, | |
| -4.529165744781494 | |
| ], | |
| [ | |
| -2.222770929336548, | |
| -2.5467586517333984, | |
| -2.5534911155700684, | |
| -3.588559627532959 | |
| ], | |
| [ | |
| -4.0646257400512695, | |
| -0.5988587141036987, | |
| 2.448892831802368, | |
| -0.6281204223632812 | |
| ], | |
| [ | |
| -1.3047915697097778, | |
| -1.546255350112915, | |
| -1.252180576324463, | |
| -3.559253215789795 | |
| ] | |
| ], | |
| "raw_video_predictions": [ | |
| { | |
| "id": "v/0", | |
| "task": "grounding", | |
| "logits": [ | |
| 2.989095449447632, | |
| 1.6585416793823242, | |
| 0.6531305313110352, | |
| -0.6125274896621704 | |
| ], | |
| "probabilities": [ | |
| 0.9520791172981262, | |
| 0.8400421738624573, | |
| 0.6577155590057373, | |
| 0.3514828681945801 | |
| ], | |
| "interval": [ | |
| 0.0, | |
| 2.0 | |
| ] | |
| }, | |
| { | |
| "id": "v/1", | |
| "task": "choice", | |
| "logits": [ | |
| -1.542423963546753, | |
| -1.5689796209335327, | |
| -2.3758580684661865 | |
| ], | |
| "probabilities": [ | |
| 0.41522231698036194, | |
| 0.4043409526348114, | |
| 0.18043670058250427 | |
| ], | |
| "answer_index": 0, | |
| "answer": "A. A person walks." | |
| } | |
| ], | |
| "passed": true | |
| } | |