gabrielsantosrv
commited on
Commit
•
ce250ad
1
Parent(s):
8d61017
Update README.md
Browse files
README.md
CHANGED
@@ -20,6 +20,15 @@ datasets:
|
|
20 |
CAPIVARA is a cost-efficient framework designed to enhance the performance of multilingual CLIP models in low-resource languages.
|
21 |
This model holds the state of the art in many zero-shot tasks involving images and Portuguese texts.
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
## Model Details
|
24 |
|
25 |
### Model Description
|
|
|
20 |
CAPIVARA is a cost-efficient framework designed to enhance the performance of multilingual CLIP models in low-resource languages.
|
21 |
This model holds the state of the art in many zero-shot tasks involving images and Portuguese texts.
|
22 |
|
23 |
+
|
24 |
+
## How to use
|
25 |
+
```python
|
26 |
+
from utils.capivara_utils import download_pretrained_from_hf
|
27 |
+
|
28 |
+
model_path = download_pretrained_from_hf(model_id="hiaac-nlp/CAPIVARA")
|
29 |
+
model = OpenCLIPWrapper.load_from_checkpoint(model_path, strict=False).model
|
30 |
+
```
|
31 |
+
|
32 |
## Model Details
|
33 |
|
34 |
### Model Description
|