慣性聚合 関心のあるブログ、ニュース、テクノロジーを効率的に追跡
原文を読む 慣性聚合で開く

おすすめ購読元

V
V2EX
博客园 - 叶小钗
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky
G
Google Developers Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
M
MIT News - Artificial intelligence
Hugging Face - Blog
Hugging Face - Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
"Gemma 4 は私の銀行口座の明細を分析した – どうやら私にはコーヒーと深夜アプリについて「問題がある」らしい"
Abel Mhlanga · 2026-05-22 · via DEV Community
Cover image for "Gemma 4 Analyzed My Bank Statements – Apparently I 'Have a Problem' with Coffee and Late-Night Apps"

Abel Mhlanga

Gemma 4 Challenge: Gemma 4で構築するサブミット

これはGemma 4 Challenge: Gemma 4で構築する

のサブミットです。 私が構築したもの

銀行口座明細分析ツール — 3~6ヶ月の明細をアップロードし、支出パターンの分解、見逃していたサブスクリプション、異常、コスト削減のための具体的な提案を得ます.

デモ

コード

GitHub logo アベルコードキャンバス / my-bank-app

銀行口座明細分析ツール — 3–6ヶ月の明細をアップロードし、支出パターンの分解、見逃していたサブスクリプション、異常、コスト削減のための具体的な提案を得ます。

markdown

💰 銀行口座明細分析ツール

銀行の領収書を3~6ヶ月分提出し、以下の詳細な分析を受けましょう:

  • 📊 支出パターン – お金が実際にどこに行くのか
  • 🔁 見逃してしまったサブスクリプション – 必要でない定期的な料金
  • ⚠️ 異常 – 通常でないまたは予期せぬ取引
  • ✂️ 具体的提案 – コスト削減のための実行可能なアドバイス

Powered by Gemma 4 26B A4B Hugging Faceを通じて指示調整されたモデル


📋 前提条件

始める前に、ローカルマシンに以下がインストールされていることを確認してください:

  • Python 3.9 以降 (推奨: 3.10)
  • Git – リポジトリをクローンする
  • Hugging Face アカウント (無料) でユーザーアクセストークン こちらで作成
  • 最低16GBのRAM (32GBが推奨)
  • 12GB以上のVRAMを備えたGPU (オプションですが高速推論のために強く推奨されます) – GPUがない場合、アプリはCPUにフォールバックします(26Bモデルの場合は非常に遅くなります)

注意: 26B A4Bモデルは大きいですが、Mixture-of-Expertsを使用して計算を削減します…

Gemma 4をどのように使用したか

私の銀行口座明細分析ツールには、Hugging Face上でGemma 4 26B A4B(指示調整バリエーション)を使用しました。標準的なサイズ(E2B、E4B、または31B Dense)のものではありませんが、この26Bパラメータモデルはタスクに対して理想的なバランスを取っています:

長いコンテキストの処理 – 3~6ヶ月以上の銀行口座明細には数百件の取引が含まれます。モデルの大きなコンテキストウィンドウにより、全ての明細をチャンク分割せずに処理でき、時系列的なパターンを保護できます。

構造化抽出 – Gemma 4の指示調整は、半構造化データ(PDF/CSVの記述)を解析し、支出、サブスクリプション、異常を一貫したJSONの分解形式で出力することに優れています。

提案の理由 – 26Bのサイズは、密集型の31Bモデルの遅延やコストなしに、コスト削減の機会(例:重複サブスクリプション、高額な口座、不規則な料金)を特定するのに十分な推論能力を提供します。

A4B 效率 – 専門家の混合 (A4B) アーキテクチャは、トークンあたりの計算量を削減し、ローカルで実行するか、無料の Hugging Face T4 GPU で実行可能にします.

簡単に言えば、Gemma 4 は全てのパイプラインを駆動します:文のパース → 支出のカテゴライズ → 異常検知 → 行動可能な推奨。