Downloads · 30 days
17
3% of all-time downloads
mireillfares/BERTIS
BERTIS is a text classification model from mireillfares. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as afl-3.0.
This README provides an overview of BERTIS, its purpose and usage. BERTIS is presented in the paper "META4: Semantically-Aligned Generation of metaphoric gestures using self-supervised text and speech representations".
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
639
Public
Repo size
867 MB
Likes
1
Public
Click a slice to open those files.
.bin433 MB · 100%
From the Hugging Face model README
This README provides an overview of BERTIS, its purpose and usage. BERTIS is presented in the paper "META4: Semantically-Aligned Generation of metaphoric gestures using self-supervised text and speech representations".
If you found this work helpful, please consider citing our paper.
Bibtex:
@article{fares2023META4,
title={META4: Semantically-Aligned Generation of metaphoric gestures using self-supervised text and speech representations},
author={Fares, Mireille and Pelachaud, Catherine and Obin, Nicolas},
journal={arXiv preprint arXiv:2311.05481},
year={2023}
}
BERTIS (BERT-based Image Schema) is a computational model designed to classify input texts into specific Image Schema classes. Image Schemas are cognitive patterns that play a fundamental role in shaping the way humans conceptualize and reason about various concepts present in language. BERTIS is built upon the BERT architecture. The model is fine-tuned using a specialized corpus created by Wachowiak et al.(2022).
The main purpose of BERTIS is to automatically categorize input texts into predefined Image Schema classes. BERTIS considers 14 distinct Image Schema classes, each capturing a specific cognitive pattern. These classes and their corresponding examples (taken from Wachowiak et al. (2022)) are listed below:
The data used for training, validating and testing BERTIS is found in: https://github.com/lwachowiak/Systematic-Analysis-of-Image-Schemas-through-Explainable-Multilingual-Language-Models/blob/main/Data/Image%20Schemas%20English%20and%20German.csv;
80% of the data were used for training BERTIS, 10% for validation, and 10% for testing it.
<!-- ### Training Procedure This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. --> <!-- #### Preprocessing [optional] [More Information Needed]--> <!-- #### Training Hyperparameters - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision #### Speeds, Sizes, Times [optional] --> <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. [More Information Needed]-->| Class | Precision | Recall | F1-score |
|---|---|---|---|
| "CENTER-PERIPHERY" | 0.98 | 0.94 | 0.96 |
| "CONTACT" | 1 | 1 | 1 |
| "CONTAINMENT" | 0.74 | 0.67 | 0.7 |
| "COVERING" | 1 | 1 | 1 |
| "FORCE" | 0.8 | 0.91 | 0.85 |
| "LINK" | 1 | 1 | 1 |
| "OBJECT" | 0.81 | 0.83 | 0.82 |
| "PART-WHOLE" | 1 | 1 | 1 |
| "SCALE" | 1 | 1 | 1 |
| "SOURCE_PATH_GOAL" | 0.81 | 0.74 | 0.77 |
| "SPLITTING" | 1 | 1 | 1 |
| "SUBSTANCE" | 1 | 1 | 1 |
| "SUPPORT" | 1 | 1 | 1 |
| "VERTICALITY" | 0.88 | 0.93 | 0.90 |
Overall Accuracy : 0.93
For all Image Schema classes, F1-score is between 0.77 and 1, indicating that BERTIS performs well in terms of both accurately predicting the correct Image Schema classes (precision) and capturing many correct Image Schema classes as possible (recall). Indeed these results are also reflected in the precision and recall scores for all Image Schema classes. We observe a high precision (between 0.74 and 1) for all classes, which indicates the number of correct predicted Image Schema classes. The recall scores are above 0.74 for most of the classes, with one Image Schema class having a recall score equal to 0.67. The overall accuracy of BERTIS with respect to all Image Schema classes is equal to 0.93, indicating a high accuracy and good performance in classifying the input text into the correct Image Schema classes.
<!-- ## Technical Specifications [optional] ### Model Architecture and Objective ### Compute Infrastructure #### Hardware #### Software ## Citation [optional] **BibTeX:** **APA:** ## Glossary [optional] ## More Information [optional] ## Model Card Authors [optional] ## Model Card Contact Mireille Fares: [email protected]>Developed by: Mireille Fares
Language(s) (NLP): English, can generalize to other languages such as German
License: Academic Free License
Finetuned from model: BERT Base Cased model