Create new Python Virtual environment

0 Comments 0 tags

Create a new virtual environment  Python 3 allows you to manage separate package installations for different projects. It creates a “virtual” isolated Python installation. When you switch projects, you can

What are Large Language Models

0 Comments 0 tags

LLM stands for Large Language Model in the context of artificial intelligence. It refers to a type of AI model designed to understand, generate, and manipulate human language on a

Explain about Hugging Face Transformers

0 Comments 0 tags

Hugging Face Transformers is a powerful library designed for natural language processing (NLP), computer vision, and audio tasks. It provides state-of-the-art pretrained models and tools for fine-tuning and deploying these

AI Roadmap using Python

0 Comments 0 tags

Python is a great foundation for diving into AI! To take the next step in your AI learning journey, here’s a roadmap to guide you. 1. Strengthen Your Math Skills

Python 10 Programs for Beginners

0 Comments 0 tags

Program 1:Write a program to create a 2D array using NumPy. Output: Program 2: Write a program to convert a python list to a NumPy array. Output: Program 3: Write a program to create matrix of 3×3 from 11 to 30. Output: Program 4: Write a program to create a data frame to store data of candidates who appeared in

Find index of first occurrence when an unsorted array is sorted

0 Comments 0 tags

Find index of first occurrence when an unsorted an array is sorted Given an unsorted an array and a number x, find an index of first occurrence of x when

Find sum non repeating distinct elements array

0 Comments 0 tags

Find sum of non-repeating (distinct) elements in an array Given an integer an array with repeated elements, the task is to find the sum of all distinct elements in the

Find the only different element in an array

0 Comments 0 tags

Find the just distinct element in an array Given an array of integers where all elements are same except one element, find the just distinct element in the array. It

Queries to find first occurrence of a character in a given range

0 Comments 0 tags

Queries to find first occurrence of a character in a given range Given a string S of length N and an array Q[][] of dimension M X 3 consisting of

Program count occurrences of given character in string

0 Comments 0 tags

Program to count occurrence of a given character in a string Given a string S and a character ‘c’, the task is to count the occurrence of the given character