File size: 1,013 Bytes
89373e8
db26b82
 
 
 
89373e8
 
db26b82
 
 
 
89373e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
35
36
37
---
language:
- en
- ko
- multilingual
license: apache-2.0
tags:
- vision, language
- pretrained model
- image-to-text
eos_token: </s>
---

# veld base

Pretrained Vision Encoder Text Decoder Model in Korean and English. See [Github](https://github.com/AIRC-KETI/veld) for more details.

## How to use

```python
from transformers import AutoProcessor, AutoModel

processor = AutoProcessor.from_pretrained("KETI-AIR/veld-base", trust_remote_code=True)
model = AutoModel.from_pretrained("KETI-AIR/veld-base", trust_remote_code=True)
```

You can use AutoTokenizer and AutoFeatureExtractor instead AutoProcessor.
You don't need to pass `trust_remote_code=True` for AutoTokenizer and AutoFeatureExtractor

```python
from transformers import AutoFeatureExtractor, AutoTokenizer, AutoModel

feature_extractor = AutoFeatureExtractor.from_pretrained("KETI-AIR/veld-base")
tokenizer = AutoTokenizer.from_pretrained("KETI-AIR/veld-base")
model = AutoModel.from_pretrained("KETI-AIR/veld-base", trust_remote_code=True)
```