Skip to content

Semantics-of-Sustainability/tempo-embeddings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badges

(Customize these badges with your own links, and check https://shields.io/ or https://badgen.net/ to see which other badges are available.)

fair-software.eu recommendations
(1/5) code repository github repo badge
(2/5) license github license badge

| (4/5) citation | DOI | | (5/5) checklist | workflow cii badge | | howfairis | fair-software badge | | Other best practices |   | | Static analysis | workflow scq badge | | Coverage | workflow scc badge | | Documentation | Documentation Status | | GitHub Actions |   | | Build | build | | Citation data consistency | cffconvert | | SonarCloud | sonarcloud | | MarkDown link checker | markdown-link-check |

How to use tempo_embeddings

A library for analysing (temporal) word embeddings.

The project setup is documented in project_setup.md. Feel free to remove this document (and/or the link to this document) if you don't need it.

See the design document for more information on the design of this project.

Installation

To install tempo_embeddings from GitHub repository, do:

git clone git@github.com:Semantics-of-Sustainability/tempo-embeddings.git
cd tempo-embeddings
python3 -m pip install .

Data Analysis

The term_frequency notebook provides a sample case for investigate a set of text corpora.

How to use tempo_embeddings on SURF Research Cloud?

(outdated; you can now run the notebook on your local machine, with the processing being done by a remote database server)

SURF Research Cloud offers a ready-to-use environment for running tools without the need to install Python and other required libraries.

Here you can apply for access.

If your Research Cloud account is set up for the Semantics of Sustainability project, you can use the tempo-embeddings tool by following these steps:

  • Log in to Research cloud environment.
  • Create a new workspace using the "semantics-of-sustainability" catalog item.
  • Log in to the workspace you created in the previous step.
  • Open a new terminal and run:
/etc/miniconda/bin/conda init
  • Close the terminal, open a new one, and run:
cd /opt/tempo-embeddings/
conda activate tempo-embeddings
  • Start to play with the notebooks using:
jupyter lab notebooks/[1_compute_embeddings_nl.ipynb]

Documentation

Include a link to your project's full documentation here.

Contributing

If you want to contribute to the development of tempo_embeddings, have a look at the contribution guidelines.

Credits

This package was created with Cookiecutter and the NLeSC/python-template.

About

Tools for analysing contextual (temporal) word embeddings

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •