Showing 12 of 756 articles

Articles

General

Train a Model Faster with torch.compile and Gradient Accumulation

Training a language model with a deep transformer architecture is time-consuming. However, there are techniques you can use to accelerate training. In this article, you will learn about: Using torch.compile() to speed up the model Using gradient accumulation to train a model with a larger effective batch size Let’s get started! Train a Model Faster…

WordPress Dec 27, 2025
General

AI Deepfakes, Bot Networks And Digital Warfare: Pakistan-Linked Accounts Are Weaponising AI Against India To Spark Communal Tensions | Technology News

AI-Generated Deepfakes: Dozens of AI‑generated videos and images pushed by accounts linked to Pakistan’s security establishment have flooded the country's social media in recent months, aimed at inflaming communal tensions and spreading false narratives against India, according to a media report. The International Business Times report said that journalists and analysts found many viral posts…

WordPress Dec 27, 2025
General

Training a Model on Multiple GPUs with Data Parallelism

import dataclassesimport os import datasetsimport tqdmimport tokenizersimport torchimport torch.distributed as distimport torch.nn as nnimport torch.nn.functional as Fimport torch.optim.lr_scheduler as lr_schedulerfrom torch import Tensorfrom torch.nn.parallel import DistributedDataParallel as DDPfrom torch.utils.data.distributed import DistributedSampler # Build the model@dataclasses.dataclassclass LlamaConfig:    """Define Llama model hyperparameters."""    vocab_size: int = 50000  # Size of the tokenizer vocabulary    max_position_embeddings: int = 2048  # Maximum sequence length    hidden_size: int = 768  # Dimension…

WordPress Dec 27, 2025
General

Year-Ender 2025 Wake-Up Call: How Major Cyber And Data Breaches Redefined Cybersecurity Skills-Explained | Technology News

Year-Ender 2025's Wake-Up Call: As 2025 comes to an end, it leaves behind more than just headlines. The year leaves a clear warning. This year, a series of major security and data breaches shook companies, governments, and everyday users alike. What once felt like distant cyber threats suddenly became personal, with leaked data, locked systems,…

WordPress Dec 27, 2025
General

India Well Positioned To Lead AI-Driven Tech Future: Industry | Technology News

New Delhi: As we move toward 2026, India’s technology sector is entering a phase where scale, accountability, and outcomes matter more than momentum alone, according to industry leaders. According to Sindhu Gangadharan, MD, SAP Labs India and Chairperson, Nasscom, the industry has built strong foundations across AI, cloud, cybersecurity, and digital platforms, supported by deep…

WordPress Dec 27, 2025
General

5G Rollout, AI Integration & Domestic Manufacturing Drive India's Telecom Growth In 2025: Industry Leaders | Technology News

New Delhi: India's telecom sector closed 2025 on a strong footing, reinforcing its position as a central pillar of the country's digital economy, driven by rapid 5G expansion, rising data consumption, growing domestic manufacturing, and a sharper focus on resilience, security and self-reliance. According to industry data, India's overall telecom subscriber base reached 1.2 billion…

WordPress Dec 24, 2025