Views
No views yet
| Models | Spearman's correlation |
|---|---|
| RoBERTa-base-bne | 0.827176427 |
| RoBERTa-celebA-Sp | 0.999913276 |
1from sentence_transformers import SentenceTransformer, InputExample, models, losses, util, evaluation
2model_sbert = SentenceTransformer('roberta-large-bne-celebAEs-UNI')
3caption = ['La mujer tiene pomulos altos. Su cabello es de color negro.
4 Tiene las cejas arqueadas y la boca ligeramente abierta.
5 La joven y atractiva mujer sonriente tiene mucho maquillaje.
6 Lleva aretes, collar y lapiz labial.']
7vector = model_sbert.encode(captions)
8print(vector)1>>$ print(vector)
2>>$ [0.2,0.5,0.45,........0.9]
3>>$ len(vector)
4>>$ 10241@article{YAURILOZANO2024103667,
2title = {Generative Adversarial Networks for text-to-face synthesis & generation: A quantitative–qualitative analysis of Natural Language Processing encoders for Spanish},
3journal = {Information Processing & Management},
4volume = {61},
5number = {3},
6pages = {103667},
7year = {2024},
8issn = {0306-4573},
9doi = {https://doi.org/10.1016/j.ipm.2024.103667},
10url = {https://www.sciencedirect.com/science/article/pii/S030645732400027X},
11author = {Eduardo Yauri-Lozano and Manuel Castillo-Cara and Luis Orozco-Barbosa and Raúl García-Castro}
12}

