Sunday, February 13, 2022
Development Workflow with Hugging Face Transformer Model
This tutorial explains how I do app development with Hugging Face Transformer model. Typically the flow involves model fine-tuning on Colab GPU. Fine-tuned model is downloaded to my local development workstation where I continue development and use the model for inference task. To be able to run complex library dependencies locally, my development environment is setup with a remote Python interpreter through PyCharm and Docker.
Labels:
Hugging Face,
Machine Learning,
Python
Sunday, February 6, 2022
What is Blockchain?
There is a lot of buzz around blockchain, Web3 and crypto. When studying blockchain concepts I found this demo app, it was very useful to me. This app demonstrates how blockchain works. I thought to share it with you, it really helps to understand the foundation and concepts.
Labels:
Blockchain,
Crypto,
Web3
Tuesday, February 1, 2022
Ethereum Test ETH for Web3/Blockchain Development
This is my first tutorial about Web3 and Ethereum Blockchain. I explain how to get test Ethereum token, review your wallet on Metamask and transfer tokens between accounts.
Sunday, January 23, 2022
Hugging Face Gradio App on Docker
This quick tutorial is to explain and show how to run Hugging Face model with Gradio UI on Docker.
Labels:
Hugging Face,
Machine Learning,
Python
Saturday, January 15, 2022
Running Hugging Face LayoutLM Model with PyCharm and Docker
This tutorial explains how to run Hugging Face LayoutLM model locally with PyCharm remote interpreter. This is cool, because a remote interpreter allows you to run and debug your custom logic, while running Hugging Face model and its dependencies in Docker container. I share Dockerfile, which helps to setup all dependencies. Enjoy!
Labels:
Hugging Face,
PyCharm,
Python
Sunday, January 9, 2022
Table Query with Hugging Face ML
Yes, you can do a search through a table data with Hugging Face model called TAPAS. I show how it works with sample CSV and example queries. The app runs on Hugging Face Spaces and you can play and upload your own CSV files for a test. Give it a try, maybe ML can replace SQL?
Labels:
Hugging Face,
Machine Learning,
Python
Sunday, January 2, 2022
Hugging Face Gradio Python UI and CSV Processing
Explaining how to process CSV file uploaded through Gradio UI in Python. Gradio is part of Hugging Face. You will also learn how to define inputs and outputs for Gradio, to render UI components out of the box. Towards the end of the video, I will share a tip on how to read an error message, if the error happens during app development.
Labels:
Hugging Face,
Python,
UI
Subscribe to:
Posts (Atom)