Code for experiments from the article of the same name. Include framework trans_oil_gas
for dataset of well-intervals generation and training and testing Transformer-based (with Transformer, Informer, and Performer) Siamese and Triplet models.
- Clone this repository
- Install all necessary libraries via command in terminal:
pip install transformers_for_oil_gas/
- Use our framework via importing modules with names started with
utils_*
fromtrans_oil_gas
To reproduce all our experiments from the article "Similarity learning via Transformers: representing time series from oil&gas":
- Open
notebooks
folder. - Run jupyter notebook
all_models.ipynb
. It will train all models (Siamese and Triplet Transformer, Informer, and Performer). - Run experiments in other notebooks. It will use the pretrained models obtained in step 2.
The project is distributed under MIT License.