Instructions to use neverloses87/fine-tune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neverloses87/fine-tune with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="neverloses87/fine-tune")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("neverloses87/fine-tune") model = AutoModelForVideoClassification.from_pretrained("neverloses87/fine-tune", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from neverloses87/fine-tune: direct link, hf CLI and curl.
- Browser
- Download file 986 Bytes
-
https://huggingface.co/neverloses87/fine-tune/resolve/main/config.json
- Command line
-
hf download hf://neverloses87/fine-tune/config.json
-
curl -L -o config.json https://huggingface.co/neverloses87/fine-tune/resolve/main/config.json
986 Bytes
| { | |
| "_name_or_path": "sayakpaul/videomae-base-finetuned-kinetics-finetuned-ucf101-subset", | |
| "architectures": [ | |
| "VideoMAEForVideoClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "decoder_hidden_size": 384, | |
| "decoder_intermediate_size": 1536, | |
| "decoder_num_attention_heads": 6, | |
| "decoder_num_hidden_layers": 4, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Negative", | |
| "1": "Positive" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "Negative": 0, | |
| "Positive": 1 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "model_type": "videomae", | |
| "norm_pix_loss": false, | |
| "num_attention_heads": 12, | |
| "num_channels": 3, | |
| "num_frames": 16, | |
| "num_hidden_layers": 12, | |
| "patch_size": 16, | |
| "problem_type": "single_label_classification", | |
| "qkv_bias": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.31.0", | |
| "tubelet_size": 2, | |
| "use_mean_pooling": true | |
| } | |