Uncategorized

llama.png

The cat is out of the bag

LLMs Accessible to All: LLaMA courtesy llama.cpp, revolutionize Accessibility

Large language models (LLMs) like GPT-3 are no longer exclusive to big tech companies, as the open release of Facebook’s LLaMA model and llama.cpp by Georgi Gerganov has enabled developers to run LLMs on their own hardware. This change is reminiscent of the Stable Diffusion moment in August 2022, which kick-started a new wave of interest in generative AI.

LLMs, which have primarily been developed by private organizations, are resource-intensive and expensive to operate. Consequently, they have been accessible only through APIs and web interfaces. However, the release of Facebook’s LLaMA model, a collection of foundation language models, has changed the landscape. LLaMA models range from 7B to 65B parameters, and LLaMA-13B even outperforms GPT-3 on most benchmarks.

Although LLaMA is not fully open and requires users to agree to strict terms for access, the model files have been made available via unofficial BitTorrent links. Georgi Gerganov’s llama.cpp project allows LLaMA to run on personal laptops using 4-bit quantization, which reduces model sizes and hardware requirements. This breakthrough has made GPT-3 class models accessible on consumer hardware.

Despite the potential negative uses of LLMs, such as spam generation, disinformation, and automated radicalization, there are numerous ways LLMs can be utilized for good. Generative AI tools can enhance productivity and enable users to tackle ambitious projects. The focus should be on exploring and sharing positive applications of this technology.

As the race to release the first fully open language model heats up, LLaMA serves as a proof-of-concept that LLMs can be feasibly run on consumer hardware. The era of LLMs being accessible to everyone is already here, opening up a world of possibilities for innovation and exploration.

Getting Creative with Your Zsh Prompt: A Beginner’s Guide

Level Up Your Terminal Game: Customizing Your Zsh Prompt

When you open a terminal on your Mac, you’re greeted with a prompt. This prompt is your shell telling you that it’s ready for your commands. But did you know that you can customize your prompt? In this blog post, we’ll cover the basics of shell prompts and how to customize them.

By default, the prompt on macOS Big Sur is a plain vanilla “$”. But with the PS1 variable, you can change it to display different information. PS1 stands for “Prompt String 1” and is a shell variable that holds the format string for your prompt. You can set this variable in your shell’s configuration file (~/.zshrc for zsh) or in your terminal session.

For example, here’s how you can display your current working directory, exit code, event number, and date in your prompt:

PS1='%F{white}%K{blue}%~ %K{red}%? %K{purple}%F{purple}%! %K{green}%D{%d-%b-%a} %K{yellow}>%k%f '

In this example, we’re using various escape codes to add colors and other formatting to our prompt. The %~ displays the current working directory, %? displays the exit code of the last command, %! displays the event number of the last command, and %D{%d-%b-%a} displays the date in the format of dd-mmm-day. The %F and %f escape codes are used to set the foreground color and the %K and %k codes are used to set the background color.

With this customization, your prompt will now display the PWD, exit code, event number, and date with colorful backgrounds. You can modify the prompt string to add or remove any information you want.

A note of caution for BASH users

Some of the customization techniques that are applicable to zsh prompts can also be applied to the bash shell prompt. However, there are some differences in syntax and capabilities between the two shells, so not all of the zsh customization techniques will work in bash.

For example, in bash, you can use the \e escape character followed by the ANSI color code to set the color of the text in the prompt, like this:

PS1='\[\e[44m\]\w\[\e[0m\] \[\e[41m\]$\[\e[0m\] '

This prompt displays the current working directory (\w) with a blue background (\[\e[44m\]) and the prompt symbol ($) with a red background (\[\e[41m\]). The escape sequence \[\e[0m\] is used to reset the color back to the default after each color change.

Note that the syntax for setting colors in bash is slightly different from zsh, as bash uses the \e escape character followed by the ANSI color code to set the color. Also, bash does not have the %K escape code for setting the background color or the %F escape code for setting the foreground color, so the colors are set using the escape codes directly.

In conclusion, customizing your shell prompt can make your terminal experience more enjoyable and efficient. By using the PS1 variable and escape codes, you can display different information and add colors and formatting to your prompt. Give it a try and see what works best for you!

corona, ape, drink-5116219.jpg

How to Survive if You Were Part of the Tech Layoffs

Tips for networking, upskilling, and seeking emotional support can help those impacted by tech layoffs navigate the job market and maintain their well-being.

despair, alone, to be alone-513528.jpg

Being part of a tech layoff can be a difficult and stressful experience, but there are steps that those affected can take to help them navigate the job market and maintain their well-being. One of the most important things to do is to stay connected with others in the industry, whether through professional networks, online communities, or personal contacts. This can help job seekers learn about new opportunities, get referrals, and gain insights into industry trends and developments.

Another important step is to focus on upskilling and building new skills that can make job seekers more marketable to potential employers. This may involve taking online courses, attending workshops or conferences, or seeking out mentorship opportunities. By investing in their own professional development, job seekers can position themselves as highly qualified candidates and demonstrate their commitment to the industry.

Finally, it’s important for those affected by tech layoffs to seek emotional support and take care of their mental and physical health. This can involve talking with friends and family, seeking counseling or therapy, and engaging in activities that promote stress reduction and relaxation. By prioritizing their well-being, job seekers can better cope with the challenges of job searching and remain motivated and focused on their career goals.

student, woman, startup-849821.jpg

Studies show women are less likely to apply for jobs at male-dominated startups

Studies indicate that gender bias and lack of representation in leadership roles may deter women from seeking employment opportunities in male-dominated startups.

people, business, meeting-1979261.jpg

Despite significant progress made in promoting gender equality in the workplace, studies show that women remain underrepresented in leadership positions in many industries, particularly in male-dominated startups. A number of factors may contribute to this disparity, including unconscious bias in the hiring process and a lack of diversity in leadership roles. Additionally, women may be deterred from applying to these companies due to concerns about a hostile work environment or a perceived lack of support for work-life balance.

To address these issues, startups can take proactive steps to promote diversity and inclusion within their organizations. This can include implementing policies and programs to support work-life balance, such as flexible scheduling or parental leave, and actively recruiting and promoting women and other underrepresented groups into leadership roles. Additionally, startups can prioritize building a supportive and inclusive culture by fostering open communication, providing opportunities for professional development and training, and implementing a zero-tolerance policy for discrimination and harassment.

By creating a more inclusive workplace environment, startups can not only attract more qualified women to their organizations, but also benefit from the diverse perspectives and experiences that a more diverse workforce can bring. This can ultimately lead to greater innovation and success for the company, as well as a more equitable and just workplace for all employees.

Don’t Miss the Film Festival: Top 3 movies to watch in July

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Labore et dolore magna aliqua.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.

  • Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
  • Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
  • Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Fawn Sebastian talking about the Art of Color Correction, Part One

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Labore et dolore magna aliqua.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.

  • Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
  • Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
  • Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Fawn Sebastian talking about the Art of Color Correction, Part Two

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Labore et dolore magna aliqua.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.

  • Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
  • Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
  • Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

10 super awesome illustrations to be inspired by

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Labore et dolore magna aliqua.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.

  • Tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
  • Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
  • Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Ten bone-crunching male-driven action films we love

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.