Skip to content

Fluffel/IdiomsForBert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project for Computational Linguistics

An analysis of idiom sentence similarities for different transformer models

This project investigates on cosine similarities of sentence embeddings. The whole dataset can be found in data/sentences.txt
In model_experiments.py the code for generating all datasets can be found. It includes model-loading from the huggingface library, similarity calculations and different score extractions. Exports are saved in data_exports/
evaluations.py was used to generate plots from that data obtained in model_experiments.py. Plots are saved in evaluation_exports/

About

Project for Computational Linguistics 2023/24 Trento

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages