Tagged articles
HuggingFace
16 articles · Page 1 of 1
This comprehensive guide walks through efficient LoRA/QLoRA fine-tuning of 7B and 13B language models on a single 24GB GPU, covering memory budgeting, environment setup, data preparation, training configuration, evaluation strategies, model merging, deployment verification, and production best practices with concrete code examples and benchmarks.
GPUHuggingFaceLLM
0 likes · 78 min read

The article examines recent HuggingFace experiments comparing how different harnesses affect large and small AI models, revealing that complex harnesses like Codex excel on big models while lightweight harnesses perform better on smaller ones, and discusses why future agents will demand far more compute than current setups.
AIAgentGLM
0 likes · 6 min read


SuanNiJun 12, 2026 · Artificial Intelligence
Kimi K2.7 Code, now open‑source on HuggingFace, reduces token consumption by ~30% and boosts coding benchmark scores—Kimi Code Bench v2 climbs from 50.9 to 62.0, Program‑Bench from 48.3 to 53.6, MLS Bench Lite from 26.7 to 35.1—narrowing the gap with GPT‑5.5 and Claude Opus, all built on a 1‑trillion‑parameter MoE architecture with INT4 quantization and a 256K‑token context.
HuggingFaceINT4 quantizationKimi K2.7
0 likes · 6 min read


Qborfy AIFeb 20, 2026 · Artificial Intelligence
This article explains fine‑tuning as a second‑stage training method that adapts large pre‑trained models to specific tasks, outlines the three‑phase workflow, compares it with prompt engineering and retrieval‑augmented generation, and provides four detailed case studies with complete code snippets and best‑practice tips.
HuggingFaceLoRAOpenAI
0 likes · 20 min read

This article explains what embeddings are, how LangChain’s Embeddings interface abstracts various providers, compares common models, and walks through a complete Python example that uses a Chinese‑optimized HuggingFace model to generate document and query vectors, compute cosine similarity, and identify the most relevant text.
HuggingFaceLangChainNLP
0 likes · 9 min read

This step‑by‑step tutorial shows how to create a Supabase PostgreSQL database, copy and configure an n8n space on HuggingFace, set up the host URL, verify database connectivity, test webhook functionality, and manage the deployed project.
HuggingFaceSupabaseWebhook
0 likes · 7 min read

This tutorial shows how to integrate Hugging Face's open‑source Transformers.js library into Node.js projects, covering setup, the Pipeline API, and practical code examples for sentiment analysis, zero‑shot classification, text generation, translation, and question answering, while also discussing when to prefer Python alternatives.
HuggingFaceNLPPipeline
0 likes · 15 min read

Qwen-Image-Edit, built on the 20B‑parameter Qwen‑Image foundation, introduces a dual‑path architecture that simultaneously understands semantic intent and visual details, enabling precise semantic and appearance edits, robust text manipulation, and fine‑grained region control, with open‑source weights on HuggingFace and benchmark‑proven superiority over existing models.
AI image manipulationHuggingFaceQwen-Image-Edit
0 likes · 7 min read

This tutorial walks through fine‑tuning OpenAI's CLIP ViT‑B/32 on a small image‑text dataset in a Kaggle notebook, covering environment setup, model loading, data preprocessing with CLIPProcessor, training a linear head, and observing loss convergence to align visual and textual embeddings.
CLIPHuggingFaceKaggle
0 likes · 5 min read

Black Forest Labs releases the open‑source Flux.1 Kontext Dev model, a 12‑billion‑parameter image‑editing system whose weights are publicly available; the article details its core features, benchmark‑level performance comparable to leading commercial models, access via HuggingFace, and step‑by‑step usage through Fal AI and Replicate APIs.
AI ModelFlux.1HuggingFace
0 likes · 9 min read

This article explains why generic text‑embedding models often fail in specialized retrieval tasks, then demonstrates how to fine‑tune such models using contrastive learning, curated job‑listing data, and the Sentence‑Transformers library, achieving near‑perfect accuracy on a job‑matching benchmark.
Contrastive LearningHuggingFaceSemantic Search
0 likes · 11 min read

This article demonstrates the before-and-after effects of fine‑tuning a large language model, explains the concept with analogies, details hardware setup, dataset preparation, LoRA configuration, training arguments, and provides complete Python code for a pure‑framework fine‑tuning workflow.
HuggingFaceLLM fine-tuningLoRA
0 likes · 24 min read

A recently discovered bug in popular LLM libraries shows that gradient accumulation can introduce significant accuracy loss compared to true large‑batch training, especially when sequence lengths vary, and the issue can be fixed by correcting the loss denominator scaling.
HuggingFaceLLM trainingdeep learning
0 likes · 6 min read

This tutorial walks through fine‑tuning Shanghai AI Lab’s open‑source InternLM models with XTuner, explaining chat‑format conventions, loading and inference (including multimodal InternLM‑XComposer), dataset preparation, configuration sections, DeepSpeed acceleration, and memory‑efficient QLoRA details for 7‑B‑parameter chat models.
Chat FormatDeepSpeedHuggingFace
0 likes · 22 min read


ArchitectJul 1, 2023 · Artificial Intelligence
This tutorial explores various text generation decoding methods—including greedy search, beam search, top‑k/top‑p sampling, sample‑and‑rank, and group beam search—explaining their principles, providing detailed Python code examples, and comparing their use in modern large language models.
Greedy SearchHuggingFaceTransformers
0 likes · 59 min read

This guide thoroughly explains the major decoding strategies for neural text generation in HuggingFace Transformers—including greedy, beam, diverse beam, sampling, top‑k, top‑p, sample‑and‑rank, beam sampling, and group beam search—detailing their principles, Python implementations with LogitsProcessor components, workflow diagrams, comparative analysis, and references to original research.
HuggingFaceTransformersbeam search
0 likes · 60 min read
