Downloads · 30 days
8
30% of all-time downloads
asdc/gemma-8B-multilingual-temporal-expression-normalization
gemma-8B-multilingual-temporal-expression-normalization is a machine learning model from asdc. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This model provides a ready-to-go temporal expression normalization tool.
Downloads · 30 days
8
30% of all-time downloads
All-time downloads
27
Public
Repo size
3.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors3.3 GB · 98%
From the Hugging Face model README
This model provides a ready-to-go temporal expression normalization tool.
We present a series of multilingual temporal expression normalization models. Proposed in the {paper}.
This model has been trained over Timebank and E3C multilingual corpora with the sole objevtive of normalizing temporal expressions following the ISO TimeML schema.
A temporal expression is classified into four types: Date, Time, Duration and Set. This model predicts the value of a temporal expression. For example for the expression of type duration "8 hours" the model would predict the value PT8H.
For using the model just follow the general PEFT guide. When using the model please use the following prompt:
Given the temporal expression type the reference date, the temporal expression and the context phrase in which the temporal expression appears, generate the value according to the TIMEX3 scheme. In the context phrase the temporal expression appears, sometimes it will be neccesary to pay attention to the surrounding context in order to resolve the expression.
###Context phrase: {sentence}
###Temporal expression type: {type}
###Temporal expression: {expression}
###Reference date {dct}
###Value:
The model will then return a sequence with the predicted value. It can be extracted through a simple pattern match.
We compare our proposed models against current multilingual solutions as shown in the {paper}
We managed to get an outstanding performance on over 7 languages and a promising zero-shot performance over non-trained languages.
To be defined
BibTeX:
To be defined
APA:
To be defined