Talk to your documents as PDFs, txts, and even web pages
Author(s): Damian Gil Originally published on Towards AI. Complete guide to creating a web and the intelligence that allows you to ask questions to docs such as PDFs, TXTs, and even web pages using LLMs. Content Table Β· IntroductionΒ· How does it …
Enhancing E-commerce Product Search Using LLMs
Author(s): Hang Yu Originally published on Towards AI. Applying LLMs to make E-commerce search engines robust to colloquial queries Photo by Oberon Copeland @veryinformed.com on Unsplash In recent years, web search engines have been quickly embracing Large Language Models (LLMs) to increase …
Fit Your LLM in a single GPU with Gradient Checkpointing, LoRA, and Quantization.
Author(s): Jeremy Arancio Originally published on Towards AI. Fine-tune an LLM on your personal data: create a βThe Lord of the Ringsβ storyteller. This member-only story is on us. Upgrade to access all of Medium. Whoever has ever tried to fine-tune a …
Query Your DataFrames with Powerful Large Language Models using LangChain.
Author(s): Pere Martra Originally published on Towards AI. Get ready to use your own data with Large Language Models From Hugging Face Using a Vector Database and LangChain! Image By Author, generated with Dall-e 2 In the previous article, I explained how …
Is it possible to do Text Classification on unlabeled data? (Feat. Zero-Shot Classification) [Experiment]
Author(s): Ala Alam Falaki Originally published on Towards AI. Photo by Markus Spiske on Unsplash A couple of months ago, I did an experiment to answer the question: Is it possible to do sentiment analysis if we do not have the target …
Shadow Deployment of ML Models With Amazon SageMaker
Author(s): Vinayak Shanawad Originally published on Towards AI. Validate the performance of new ML models by comparing them to production models with Amazon SageMaker shadow testing AWS has announced the shadow model deployment strategy support in Amazon SageMaker in AWS re:Invent 2022. …
Diffusers: Python Library for AI-Generated Images
Author(s): Muhammad Arham Originally published on Towards AI. This article shows the basic usage of HuggingFaceβs diffuser library, which is used for AI-generated images through code. Image generated using Diffusers Pipeline with Code Introduction The Diffusers library maintained by HuggingFace is a …
HuggingFace Transformers Tools and Agents: Hands-On
Author(s): Darya Petrashka Originally published on Towards AI. Learn more Transformers version v4.29.0, building on the concept of tools and agents, provides a natural language API on top of transformers. How to use them? Letβs dive into them having language learning as …
Exploring the Power of the Transformers Library for Natural Language Processing
Author(s): Rafay Qayyum Originally published on Towards AI. Natural language processing (NLP) is a branch of Artificial Intelligence that deals with giving computers the ability to understand text and spoken words in the same way human beings can.NLP has made significant advancements …
Build Your Machine Learning Portfolio Using Hugging Face Spaces
Author(s): Serop Baghdadlian Originally published on Towards AI. In This Tutorial, I Will Show You How to Impress Potential Employers and Showcase Your ML Skills With Interactive Apps For FREE. Image from Huggingface Website In the highly competitive field of machine learning, …
Training a Language Model To Give (Non) Legal Advice
Author(s): Thomas Rochefort-Beaudoin Originally published on Towards AI. In this article, I go through the basics of finetuning large language models like BLOOM on a legal text dataset. You can try it on HuggingFace Spaces! I am currently on a quest …
Running an NLP Bert or Machine Learning Model from HuggingFace in Java
Author(s): Carlos Aguayo Originally published on Towards AI. This member-only story is on us. Upgrade to access all of Medium. HuggingFace has made it extremely easy to run Machine Learning models in Python. But what if you need to run these models …
Deploy HuggingFace NLP Models in Java With Deep Java Library
Author(s): Kexin Feng Originally published on Towards AI. A step-by-step demonstration with HuggingFace question answering model. Authors: Kexin Feng, Cheng-Che Lee HuggingFace is one of the most popular natural language processing (NLP) toolkits built on top of PyTorch and TensorFlow. It has …