File size: 688 Bytes
90386a5
 
 
78e2a0b
90386a5
 
 
 
 
938ad44
 
 
 
 
 
 
 
 
1d99318
 
 
938ad44
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
library_name: v-jepa
tags:
- video-feature-extraction
- pytorch_model_hub_mixin
- model_hub_mixin
repo_url: https://github.com/facebookresearch/jepa
---

## V-JEPA model

This is a Vision Transformer (ViT) large model, trained using the V-JEPA method.

## Installation

First, clone and install the [JEPA package](https://github.com/facebookresearch/jepa/tree/main):

```bash
git clone -b add_hf https://github.com/nielsrogge/jepa.git
cd jepa
pip install -r requirements.txt
```

## Usage

One can instantiate the model as follows:

```python
from src.models.vision_transformer import VisionTransformer

model = VisionTransformer.from_pretrained("nielsr/vit-large-patch16-v-jepa")
```