Feature | SLMs (Small Language Models) | LLMs (Large Language Models) |
---|---|---|
Model size | Millions to a few billion parameters (e.g., TinyLlama 1.1B, Phi-2 2.7B) | Tens to hundreds of billions (e.g., GPT-4, Claude, Gemini, Llama 70B) |
Hardware requirements | Can run on laptops, desktops, even some mobile/edge devices |
Prompt:
A modernized version of the WOPR supercomputer from the movie WarGames, designed with a sleek matte black metal exterior with carbon fiber panels and subtle cherry red accents. In the top-center of the machine, the name 'WOPR' in bold letters (using a tech font like NASA), and "v. MMXXV" in very small letters, are embossed into the metal.
Below the name plate is a horizontal rectangular grid of random bright amber, red and black LEDs, arranged in precise rows and columns. The housing for the LEDs is recessed into the machine.
Below the grid of LEDs in the center is one inconspicuous built-in surveillance camera and a built-in high-fidelity sound bar.
Character | Description |
---|---|
© | copyright |
™ | trademark |
° | degrees |
℃ | Celsius |
℉ | Fahrenheit |
¼ ½ ¾ | fractions |
× | multiplication |
÷ | division |
Image Prompts for Sora
[Subject] + [Medium/Style] + [Details/Attributes] + [Lighting/Environment] + [Composition/Camera Angle] + [Optional: Artist or Influence]
Element | Purpose | Examples |
---|---|---|
Subject | What you're depicting | “a futuristic cityscape”, “a golden retriever wearing sunglasses” |
Medium/Style | Artistic medium or style | “digital painting”, “cyberpunk style”, “pixel art”, “oil on canvas” |
Details/Attributes | Features or traits | “tall skyscrapers with neon lights”, “realistic fur, happy expression” |
Lighting/Environment |
#!/usr/bin/env bash | |
# Usage: ./describe_diagrams.sh /path/to/folder | |
# Exit on error, treat unset variables as an error | |
set -euo pipefail | |
# Ensure folder argument is provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 /path/to/folder" |
Color | RGB | Item | RGB |
---|---|---|---|
Black |
|
Foreground |
|
Red |
|
Background |
|
Green |
|
Cursor color |
|
Yellow |
|
Selection background |
|
By default, Windows 11 shows a simplified right-click context menu, and you have to click "Show more options" (or press Shift + F10) to access the full legacy menu. You can make Windows 11 always show the full context menu by following these steps:
- Run the following command in Command Prompt (Admin):
reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{86CA1AA0-34AA-4E8B-A509-50C905BAE2A2}\InprocServer32" /f /ve
- Restart Windows Explorer by running:
#!/bin/bash | |
# Log and data files | |
LOG_FILE="distro_checker.log" | |
DATA_FILE="distro_versions.txt" | |
# Source the external distro configuration file | |
source "./distro_checker_config.sh" | |
# Function to fetch and extract version information |
Huffman coding is a lossless data compression algorithm that assigns shorter binary codes to more frequent characters and longer codes to less frequent characters. This minimizes the overall size of encoded data while ensuring perfect decompression.
- Analyze Character Frequencies
- Count how often each character appears in the text.
- Build a Huffman Tree
- Create a binary tree where characters with lower frequency are placed deeper.