When I heard the Ellon Musk Bitcoin news, the first word that came to my mind was “awesome”. The second word was “hedging”.

Hedging is offsetting your risk by taking a new position that will (hopefully) move in a different direction from your current position. For example, say I want to buy ten tones of rice from China in 6 months. I will be buying the rice in Yuan and I will be selling it in US dollars. If I am smart, I should be worried about the Foreign Exchange rate between USD and Yuan.

To ensure that I will…

(when launching from snapshots)

Here is what I want. I want an AMI that I can launch into an Amazon EC2 instance (with GPU) to run a model every Tuesday morning. The instance has to load the model, do the work, and then die. I want everything to execute as fast as possible, and I want to be 100% sure the image will die to avoid a large AWS bill.

This article suggests one way to implement the above. I also discuss a mistake that I made, namely, storing my ML model in EBS, and what to do instead.

If you just want to…

The Story, i.e. the WHY

One month before the US elections, while working on an NLP project, I thought it would be cool to create a bot clone of Donald Trump — dialogue style, wits and voice included.

Why on Earth would I Do That?

The answer is to learn, to be entertained, and to promote MasterBot. It turned out, I was successful in the first two, and not quite as successful at the third for two reasons.

First, TrumpBot turned out to be kind of dumb, even after training for a few hours in AWS’s 256GB GPU monster. …

How about setting up a scalable semantic similarity search engine for your website or app, and pay only for the capacity consumed?

What are we making?

By the end of this tutorial, you will be able to search your DynamoDB text entries semantically using a distilled version of Bert. The semantic index will be updated automatically by a microservice to reflect new additions to your DynamoDB table. A second microservice will be responsible for querying the index.

Whether you want your users to search with/for text, image, or audio, the index building/search process is roughly the same. …

Ioannis Tsiokos

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store