Aditya Chatterjee's Blog, page 56

February 1, 2023

Discover the Revolutionary Instruct GPT

Introduction to Instruct GPTDiscover the Revolutionary Instruct GPT

Instruct GPT, or simply Instruct, is a powerful tool that allows users to fine-tune the language generation capabilities of the GPT (Generative Pre-trained Transformer) model. Developed by OpenAI, Instruct GPT allows users to train the model on specific tasks and generate text that is tailored to their specific needs. This tool has been designed to make it easy for developers and researchers to fine-tune GPT for a wide range of natural language processing (NLP) tasks...

 •  0 comments  •  flag
Share on Twitter
Published on February 01, 2023 10:27

Stopwatch Console Application in Java

We will discuss the Stopwatch Console Application in Java today. In this application, input can be taken at the same time as output is printed on the console using multithreading. Some of its basic features include stopping, pausing, restarting, and quitting.

We'll discuss:

IntroductionFeatures of applicationMultithreadingHow the Stopwatch Application works?CodeWhat are volatile variables?ExampleConclusion
Introduction

The Stopwatch Console Application is a program that helps in measu...

 •  0 comments  •  flag
Share on Twitter
Published on February 01, 2023 09:37

January 31, 2023

Radio buttons in HTML

In this article, we will explain what radio buttons are and how to include them in an HTML file.

Table of contents:
What are radio buttons in HTML?Where is the name coming from?Attributes of this input typeExamplesWhat are radio buttons in HTML?

Radio buttons are clickable circles that are a type of an input element in HTML. With an input element we can get user inputs and they can have many types, for example, text, email, number, checkbox, and radio (these are just a few which are used ...

 •  0 comments  •  flag
Share on Twitter
Published on January 31, 2023 14:30

DistilBERT: The Compact NLP Powerhouse

Introduction to DistilBERT

DistilBERT is a smaller, faster, and lighter version of the popular BERT (Bidirectional Encoder Representations from Transformers) model developed by Hugging Face. It was introduced in 2019 and since then has been a popular choice for natural language processing tasks. The main aim of DistilBERT is to achieve similar performance as BERT with fewer parameters and faster training times, making it more suitable for resource-constrained environments such as mobile devices ...

 •  0 comments  •  flag
Share on Twitter
Published on January 31, 2023 10:34

January 29, 2023

Keylogger in C++

In this article, we have developed a Keylogger in C++ Programming Language. This is a strong project for an SDE portfolio.

Key-logger, by the name itself we can derive the meaning of logging the keys. A keylogger is a type of malicious software or a hardware device that records every single keystrokes with other necessary informations made on a computer or mobile device. It's used to steal personal informations like login credentials, credit card details, and other sensitive informations which c...

 •  0 comments  •  flag
Share on Twitter
Published on January 29, 2023 10:27

January 28, 2023

Merge K Sorted Array

Merge K Sorted Array

In this article, we have explored 3 approaches to merge K sorted arrays such that the resulting array is sorted as well. This involve the concept of Min / Max Heap.

Table of contents:

Problem StatementApproach 1 : Naive ApproachApproach 2: Using mergingApproach 3: Using Min-Heap

Pre-requisite: Min/ Max Heap

Problem Statement

Given K no. of sorted arrays of size N each, merge and sort them, print the sorted output.

ExampleInput:

3 4
1 4 7 10
2 5 8 11
3 6 9 12

Output:

1 2 3 4 5 6 7 8 9 ...

 •  0 comments  •  flag
Share on Twitter
Published on January 28, 2023 19:46

Matrix Multiplication in Python

In this article, we will understand how to perform Matrix Multiplication in Python programming language. We have covered two approaches: one using Numpy library and other is a naive approach using for loop.

Table of contents:

Matrix MultiplicationMatrix Multiplication in Python using NumpyMatrix Multiplication using nested for loopsMatrix Multiplication

Matrix multiplication, also known as matrix dot product, is a binary operation that takes a pair of matrices and produces another matrix.

I...

 •  0 comments  •  flag
Share on Twitter
Published on January 28, 2023 18:36

Text Editor in JavaScript

In this article, we have implemented a complete text editor with multiple formatting features in HTML, CSS and JavaScript. This is a strong project for Web Developer Portfolio.

TABLE OF CONTENTS:-

IntroductionThe CompositionHTMLCSSJavaScript

INTRODUCTION:
The text editor is a JavaScript application that enables the user to utilize different styles, change the font color, boldness and set it as italics. The user can also capitalize, undo and redo a fuction. In general this project is a s...

 •  0 comments  •  flag
Share on Twitter
Published on January 28, 2023 10:36

January 26, 2023

Spell Checker in C

In this article, we have developed a Spell Checker tool in C Programming Language. It takes a string as input, highlight the words with wrong spelling and makes possible suggestions for each wrong word.

Softwares which fixes our lines have made our lives a lot easier right? These kinds of softwares have been used in numerous places like Google docs, Word, search engines, keyboards and after the introduction of Grammarly we can see it in every possible data entry fields on the web. It's safe to s...

 •  0 comments  •  flag
Share on Twitter
Published on January 26, 2023 02:52

Complexity analysis of Sieve of Eratosthenes

In this article, we will discuss the Sieve of Eratosthenes method for identifying prime numbers, including its implementation, computational complexity, and alternative solutions.

We'll discuss:

IntroductionBrute Force ApproachSieve of EratosthenesAdvantages and Disadvantages of AlgorithmExampleImplementation using JavaDerive its ComplexityBest, Average and Worst CaseConclusion
Introduction

The Sieve of Eratosthenes is an ancient algorithm used for finding all prime numbers up to a g...

 •  0 comments  •  flag
Share on Twitter
Published on January 26, 2023 02:42