Fatima Jannetmahia.hashnode.dev·Nov 10, 2024ML Chapter 4 : ClusteringCongrats for completing regression and classification. I’m so proud of you. In this blog we will learn clustering. Clustering is similar to classification but the basis is different. In clustering we don’t know what we are looking for but we are tryi...1 like·56 readsMachine Learning (Python)cluster
Developer For College Studenttarunjoc.hashnode.dev·Oct 7, 2024MACHINE LEARNING College ProgramPractical 1:Build a model to classify emails as spam or not spam using a small, labelled dataset Link: https://colab.research.google.com/drive/1jLB6TDtXbHwfnsE1-R9HscxFz8uoRDSJ?usp=sharing import pandas as pd data= { 'email': [ 'Free money!!!!' , '...3 likes·458 readsMachine Learning
Priti Solankicuriousmind.hashnode.dev·May 26, 2024How Training and Fine-Tuning AI Models DifferThe Distinction Between Training and Fine-Tuning Models There can sometimes be confusion surrounding the terms "training a model" and "fine-tuning a model". While they may seem interchangeable, they represent distinct stages within the machine learni...ml-beginner
Priti Solankicuriousmind.hashnode.dev·May 26, 2024How to Fix ImportError: Trainer with PyTorch Needs AccelerateWhile working with Transformers in a Google Colab environment, I always encounter an ImportError related to the accelerate library. ImportError: Using the Trainer with PyTorch requires accelerate>=0.21.0: Please run pip install transformers[torch] or...236 readsml-beginner
Priti Solankicuriousmind.hashnode.dev·May 24, 2024How to work with hugging face datasetsTo effectively fine-tune a model on the GLUE SST2 dataset from Hugging Face, I'll start with an exploratory analysis to gain insights into the data's characteristics. Let's load the dataset Get detailed information about the dataset. How many rows ...datasets
Priti Solankicuriousmind.hashnode.dev·May 23, 2024Understanding "Pipeline" in transformersComing from an engineering background, my initial understanding of "pipeline" was heavily influenced by a DevOps perspective. However, I've learned that the term takes on a broader meaning in machine learning. In DevOps, pipelines often refer to auto...transformers
Priti Solankicuriousmind.hashnode.dev·May 23, 2024What Are Transformers?In the last article, we explored NLP tasks and their significance in the growing AI landscape. Now, let's delve into how a machine model performs these tasks. The answer lies in Transformers. Transformers are deep learning models that use mathematica...nlp
Priti Solankicuriousmind.hashnode.dev·May 21, 2024Key NLP Tasks That Machine Models Can HandleIn my previous article What is Natural Language Processing we understand, NLP deals with processing and understanding textual data. Let's find out some of the common NLP task which machines are helping us out. Automatic-speech-recognition (ASR): Con...1 likenlp task
Priti Solankicuriousmind.hashnode.dev·May 20, 2024What is Natural Language Processing?Training a model can be a humbling experience. I encountered some fundamental questions that sparked a deeper dive for NLP understanding. I am taking a detours for the deeper understanding and sharing with my readers. What is NLP From tutorial : "NLP...2 likesnlp