Wednesday, 20 December 2023

ABOUT LLMS TECHNOLOGY

 An LLM is a machine-learning neuro network trained through data input/output sets; frequently, the text is unlabeled or uncategorized, and the model is using self supervised or semi-supervised learning methodology. Information is ingested, or content entered, into the LLM, and the output is what that algorithm predicts the next word will be. The input can be proprietary corporate data or, as in the case of ChatGPT, whatever data it’s fed and scraped directly from the internet.

Training LLMs: 

to use the right data requires the use of massive, expensive server farms that act as supercomputers.

LLMs:

Those are controlled by parameters, as in millions, billions, and even trillions of them. if the information an LLM has ingested. is biased, incomplete, or otherwise undesirable, then the response it gives could be equally unreliable, bizarre, or even offensive. When a response goes off the rails, data analysts refer to it as “hallucinations,” because they can be so far off track. 

"ChatGPT for biases that are implicit — that is, the gender of the person is not obviously mentioned, but only included as information about their pronouns,” Kapoor said. “That is, if we replace “she” in the sentence with “he," ChatGPT would be three times less likely to make an error.”

ABOUT LARGE LANGUAGE MODEL(LLMS)

If you need to write down an email or chat thread into a concise summary with a chatbot such as OpenAI’s ChatGPT or Google’s Bard, gemini AI, can do that. If you need to spruce up your resume with more eloquent language and impressive with bullet points, AI can help this.

Want some ideas for a new marketing or ad campaign? Generative AI to the rescue. ChatGPT stands for chatbot generative pre-trained transformer. The chatbot’s foundation is the GPT large language model (LLM), a computer algorithm that processes natural language inputs and predicts the next word based on what it’s already seen. Then it predicts the next word, and the next word, and so on until its answer is complete.

Open-source LLMs, in particular, are gaining traction, enabling a cadre of developers to create more customizable models at a lower cost. 

LLMs are a type of AI that are currently trained on a massive trove of articles, like Wikipedia entries, books, internet-based resources and other input to produce human-like responses to natural language queries. That's an immense amount of data. But LLMs are poised to shrink, not grow, as vendors seek to customize them for specific uses that don’t need the massive data sets used by today’s most popular  models.

Saturday, 16 December 2023

ABOUT PROGRAMING LANGUAGES

  A programming language is a way to code the program for programmers (developers) to communicate with computers. Programming languages consist of a set of rules that allows string values to be converted into various ways of generating machine code, or, in the case of visual programming languages, graphical elements.

Generally, a program is a set of instructions written in a particular language (C, C++, Java, Python) to achieve a particular task.

The synergy of programming languages used to give power for digital landscapes.

From Python to C++, equip yourself with the tools to detect vulnerabilities and fortify systems against cyber threats. Join us in building a solid foundation in both programming and cyber security to stand strong in the ever-evolving digital world.

 

Major Types of Programing Languages

 Procedural Programming Languages: 

A programming paradigm that uses procedures or functions to abbreviate and categorize the code into reusable blocks is a procedural programming language. C, Pascal and FORTRAN are the most in-demand programming languages supporting this paradigm. 

In this programming, the program is divided into functions or procedures. They are primarily insular sub-programs that perform a specific task. These procedures can be called from other program parts, allowing for flexible programming and code reuse. The priority is the systematic execution of a program. Further, it emphasizes the series of instructions and influences data stored in variables.

These are the best programming languages to learn as they are widely used in the fields like engineering, gaming and finance. Procedural programming can be less flexible though this does not stop it from being one of the most significant programming paradigms taught in high-ranking computer science courses.  

 Functional ProgrammingLanguages: 

Unlike procedural languages, functional programming languages are more flexible. It is composed of a series of functions. This programming paradigm stresses the use of model computations and data transformation. Haskell, Clojure, Lisp and Scala are the languages supporting this paradigm. 

Functional programming makes programs easier to reason with and increases their reliability. The functions solely operate on their input arguments. They are less popular, but they have experienced a colossal boom from the educational point of view. They are assigned to variables, passed as arguments to other functions and return results from other functions. 

Functional programming is efficient parallel programming. They have no mutable state. You can program functions and parallel work as instructions. These codes support nested functions and consist of independent units that run coherently. Hence, this is more efficient.

 Object-oriented Programming Languages 

In an object-oriented programming language, objects define the data and the behavior of objects. These objects typically include data attributes representing the object's state and method. This language enables users to make a complex system with interconnected objects.

This language hides implementation components from the outside world through encapsulation. This makes it possible to build large intricate systems without stressing about the internal workings of respective objects. The other benefit that makes this language so in demand is the feature of inheritance. It creates a ranking of classes that share common features while still allowing customization. 

Some popular object-oriented programming languages are Java, Python, C++, and Ruby. All these languages are top programming languages, but they share the principle of being object-oriented. 

 Scripting Languages: 

Simple to learn with easy syntax and dynamic typing, the scripting language is the type of language that is interpreted rather than compiled. The two types of this language are server-side scripting languages and client-side scripting languages. These languages make communication possible with other programming languages.

·         Python - The easiest programming language used among developers is Python. It is an object-oriented programming language. The language has a high-Level data structure, and built-in libraries, that make it easy to use and suitable for rapid application development. It is easy, decoded and has a dynamic semantic language. 

·         Perl - The language is dynamic with innovative features that make it popular and different from what is available on Linux and Windows Server. Websites with high traffic usually use Perl, including IMDB, as it helps in text manipulation tasks. 

·         Bash-Bourne shell programming:-

Again, Shell is a scripting language that is the default command interpreter on most Linux/GNU operating systems. This language is easier than most of the other programming languages. Bash makes it easier to create script store documentation for others and provides useful reusable scripts.

 Logical Programing Language:

As the name suggests, this is computer programming based on formal logic. This programming language program consists of a cluster of logical statements or rules that determine relationships among objects. It allows the system to extrapolate new information. 

Artificial intelligence and expert systems commonly use this language where reasoning and conjecture are required. This language allows a concise and expressive program which is easier to reason about and maintain than programs that return to other paradigms. 

To summarize, logical programming is a secure and flexible approach to solving problems in computer programming. It is suitable for every type of problem. It is a valuable tool for a few applications as well. One of the most popular logical languages is Prolog which consists of a set of facts and rules to describe a problem and reason about it. 

Imperative Programming: 

In imperative programming, the programmer provides a set of instructions that the computer follows to manipulate the state of the program and the information structure within it. This paradigm describes the steps that a computer needs to take to solve a program rather than defining the mathematical function. C, C++, Java, and Python are some of the imperative programming languages.

The Imperative is the most popular programming language in software development for system programming and low-level programming tasks, which includes direct level control over hardware resources.

About GITHUB Version Control


About Version Control with github:

Version Control called as “version control” software repository.

About Repositories:

When you start a new project, you should make a folder to contain just the stuff for that project. 

When you want to back your work up on another computer, there are websites that specialize in git. The most popular is GitHub, acquired by Microsoft in 2018. In these notes, we’ll teach you how to use GitHub and assume that’s where you’re publishing your work.

If you want git to start tracking a folder and keeping snapshots, to enable the features listed above, you have to turn the folder into what is called a git repository, or for short, a repo.

By default, a folder on your computer is not tracked by git

about Tracking changes in the repository:

As you work on the project, inevitably you have ups and downs. May be it goes like this:

You start by downloading a dataset from the instructor and starting a new blank Python script or Jupyter notebook in your repo folder. 

Everything’s fine so far. You try to load the dataset but keep getting errors. 

A friend at dinner reminded you about setting the text encoding, and that fixed the problem. 

You get the dataset loading before bed. You get the data cleaned without a problem. 

During class, the instructor asks your team to make progress on a hypothesis test, but you run out of time in class before you can figure out all the details. The last few lines of code still give errors. 

Sharing online:

The git term for a site on which you back up or publish a repository is called a remote. This is in contrast to the repo folder on your computer, which is called your local copy.

There are three important terms to know regarding dealing with remotes in git; I’ll phrase each of them in terms of using GitHub, but the same terms apply to any remote:

  • For repositories you created:

    • Sending my most recent commits to GitHub is called pushing my changes (that is, my commits).

  • For repositories someone else created:

    • Getting a copy of a repository is called cloning the repository. It’s not the same as downloading. A download contains just the latest version; a clone contains all past snapshots, too.

    • If the original author updates the repository with new content and I want to update my clone, that’s called pulling the changes (opposite of push, obviously).

Although technically it’s possible to pull and push to the same repository.

ads

portfolio page website

   Some important topics in portfolio webpage Portfolio Sections: ✔ ️ Summary and About me: Information yourself in brief. ✔ ️ Skil...