Skip to content

victorbrandaoa/thread-python-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thread-python-example

How to run this code?

You'll need docker installed, then you can run the following commands.

docker build . --tag=thread-example

docker run thread-example

Example explanation

In this example, I'm using the Bert pretrained model from huggingface for Portuguese to create embeddings for some texts.

The goal here is to optimize the creation of embeddings by using python threads to parallelize the process.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published