Files
citrus/database/seeders/YapayZekaPageSeeder.php
T

105 lines
10 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
namespace Database\Seeders;
use App\Models\Page;
use App\Models\User;
use Illuminate\Database\Seeder;
class YapayZekaPageSeeder extends Seeder
{
/**
* @var array<string, string>
*/
protected array $englishTranslations = [
'Yapay Zeka ve Derin Öğrenme' => 'Artificial Intelligence & Deep Learning',
'Ekosistemine Hükmedin' => 'Master the Ecosystem',
'PyTorch ve TensorFlow ile ham verinin işlenmesinden modelin production ortamına alınmasına kadar olan tüm döngüyü yöneten yüksek performanslı Yapay Zeka sistemleri inşa ediyoruz.' => 'We build high-performance AI systems using PyTorch and TensorFlow, managing the entire lifecycle from raw data processing to production deployment.',
'Teknolojileri İnceleyin' => 'Explore the Technologies',
'Teknik Altyapı' => 'Technical Infrastructure',
'Modellemeden Üretime' => 'From Modeling to Production',
'İki Dev Motor' => 'Two Giant Engines',
'Derin öğrenme ekosisteminde PyTorch ve TensorFlow, veri hatlarından dağıtık eğitime kadar sistem mimarilerini şekillendiren en güçlü kütüphanelerdir.' => 'In the deep learning ecosystem, PyTorch and TensorFlow are the most powerful libraries shaping system architectures from data pipelines to distributed training.',
'1. Veri Modelleme ve Giriş Hattı' => '1. Data Modeling & Pipeline',
'Derin öğrenme modellerinde performansın %70\'i verinin GPU/TPU birimlerine ne kadar efektif beslendiğiyle (throughput) ilişkilidir. Her iki kütüphane de asenkron veri işlemek için optimize edilmiştir:' => '70% of deep learning model performance is tied to how effectively data is fed (throughput) to GPU/TPU units. Both libraries are optimized for asynchronous data processing:',
'2. Model Yapılandırma ve Mimari Tasarım' => '2. Model Configuration & Architecture Design',
'Modellerin katman katman örüldüğü ve fonksiyonların tanımlandığı aşamadır. İki çerçevenin felsefi ayrımı burada netleşir:' => 'This is the stage where models are layered and functions are defined. The philosophical distinction between the two frameworks becomes clear here:',
'3. Model Eğitimi & Dağıtık Öğrenme' => '3. Model Training & Distributed Learning',
'Büyük modelleri GPU\'lara sığdırmak için PyTorch <strong>DDP/FSDP</strong> (Ring-AllReduce) kullanırken, TensorFlow <strong>MirroredStrategy</strong> mimarisi ile kod değiştirmeden eğitimi ölçeklendirir.' => 'To fit large models onto GPUs, PyTorch uses <strong>DDP/FSDP</strong> (Ring-AllReduce), while TensorFlow scales training without code changes using the <strong>MirroredStrategy</strong> architecture.',
'4. İnce Ayar (PEFT) ve Tuning' => '4. Fine-Tuning (PEFT) and Tuning',
'Milyarlarca parametreli (LLM/Vision) modelleri devasa donanım maliyetleri olmadan özel görevlere uyarlıyoruz:' => 'We adapt billion-parameter (LLM/Vision) models to specific tasks without massive hardware costs:',
'Hiperparametre Tuning:' => 'Hyperparameter Tuning:',
'Ray Tune veya Optuna ile ASHA erken durdurma algoritmaları entegre edilerek optimum parametreler taranır.' => 'Optimum parameters are scanned by integrating ASHA early stopping algorithms with Ray Tune or Optuna.',
'5. Sistemler ve Yaygınlaştırma (Deployment) Mimarileri' => '5. Systems and Deployment Architectures',
'Eğitim sonrası modellerin düşük gecikmeli (low latency) ve ölçeklenebilir çıkarım (inference) sunması için altyapı matrisimiz.' => 'Our infrastructure matrix for post-training models to offer low-latency and scalable inference.',
'Aşama / İhtiyaç' => 'Stage / Need',
'Model Derleme & Optimizasyon' => 'Model Compilation & Optimization',
'Büyük Ölçekli Sunum (Production)' => 'Large-Scale Serving (Production)',
'Mobil ve Uç Cihazlar (Edge AI)' => 'Mobile and Edge Devices (Edge AI)',
'Neler Yapıyoruz?' => 'What Do We Do?',
'Trunçgil Teknoloji' => 'Trunçgil Teknoloji',
'Yapay Zeka Yetkinlikleri' => 'Artificial Intelligence Capabilities',
'Özel LLM İnce Ayarı' => 'Custom LLM Fine-Tuning',
'Llama, Mistral ve Qwen gibi açık kaynak Büyük Dil Modellerini kurumsal bilgi tabanınıza QLoRA ile maliyet-efektif olarak eğitiyoruz.' => 'We cost-effectively train open-source Large Language Models like Llama, Mistral, and Qwen on your corporate knowledge base using QLoRA.',
'Bilgisayarlı Görü (Vision)' => 'Computer Vision',
'Nesne tespiti, otonom kalite kontrol ve yüz tanıma sistemlerini yüksek performanslı edge cihazlar veya bulut GPU ağlarında koşturuyoruz.' => 'We run object detection, autonomous quality control, and facial recognition systems on high-performance edge devices or cloud GPU networks.',
'Edge AI Çözümleri' => 'Edge AI Solutions',
'LiteRT ve ExecuTorch mimarileriyle yapay zeka çıkarım gücünü mobil uygulamalara ve düşük güç tüketen uç cihazlara (IoT) taşıyoruz.' => 'With LiteRT and ExecuTorch architectures, we bring AI inference power to mobile apps and low-power edge devices (IoT).',
'Yüksek Hızlı Veri Hatları' => 'High-Speed Data Pipelines',
'Büyük verileri asenkron işleyip modellerinizi besleyecek yüksek throughput (tf.data) mimarileri ve veri ambarları kuruyoruz.' => 'We build high-throughput (tf.data) architectures and data warehouses to asynchronously process large data and feed your models.',
'Öneri & Karar Sistemleri' => 'Recommendation & Decision Systems',
'Collaborative filtering ve derin öğrenme ile kullanıcı davranışlarını öngören kişiselleştirilmiş e-ticaret ve analiz motorları geliştiriyoruz.' => 'We develop personalized e-commerce and analytics engines that predict user behavior using collaborative filtering and deep learning.',
'Production Mimarisi' => 'Production Architecture',
'Geliştirilen modelleri TF Serving veya Triton Server ile Kubernetes ortamında zero-downtime ve düşük gecikme ile ölçekliyoruz.' => 'We scale developed models with zero-downtime and low latency in a Kubernetes environment using TF Serving or Triton Server.',
'Yapay Zeka Projeleri İçin' => 'For Artificial Intelligence Projects',
'Merak Edilenler' => 'Frequently Asked',
'Özel dil modeli (LLM) eğitimi maliyetli midir?' => 'Is custom language model (LLM) training expensive?',
'Eskiden devasa bütçeler gerektiren bu işlemler, LoRA ve QLoRA (Quantization) teknikleri sayesinde dramatik olarak ucuzlamıştır. Modeli tamamen yeniden eğitmek yerine sadece belirli parametreleri güncelleyerek maliyetleri %99 oranında düşürüyoruz.' => 'These processes, which used to require massive budgets, have become dramatically cheaper thanks to LoRA and QLoRA (Quantization) techniques. Instead of retraining the model entirely, we reduce costs by 99% by updating only specific parameters.',
'Veri gizliliğini nasıl sağlıyorsunuz?' => 'How do you ensure data privacy?',
'Kurumsal verilerinizi dış API\'lara göndermek yerine açık kaynaklı modelleri (Llama vb.) doğrudan kendi sunucularınızda (On-Premise) barındırarak %100 veri gizliliği garanti ediyoruz.' => 'Instead of sending your corporate data to external APIs, we guarantee 100% data privacy by hosting open-source models (like Llama) directly on your own servers (On-Premise).',
'Edge AI (Uç Cihazlarda Yapay Zeka) nerede kullanılır?' => 'Where is Edge AI (Artificial Intelligence on Edge Devices) used?',
'İnternet bağlantısının olmadığı fabrikalarda (kalite kontrol), mobil uygulamalarda anlık yüz tanıma ve güvenlik sistemlerinde modellerin buluta gitmeden cihaz üzerinde koşturulması için LiteRT ve ExecuTorch mimarileri kullanılır.' => 'LiteRT and ExecuTorch architectures are used to run models directly on the device without going to the cloud in factories without internet connections (quality control), instant facial recognition in mobile apps, and security systems.',
'PyTorch mu TensorFlow mu tercih etmeliyim?' => 'Should I prefer PyTorch or TensorFlow?',
'İkisi de güçlü motorlardır. Ar-Ge, LLM ve inovatif denemeler için genelde PyTorch; devasa veri hatları, statik grafik optimizasyonları ve mobil entegrasyonlar için TensorFlow tercih edilir. Projenize uygun seçimi birlikte yapıyoruz.' => 'Both are powerful engines. PyTorch is generally preferred for R&D, LLMs, and innovative experiments; TensorFlow is preferred for massive data pipelines, static graph optimizations, and mobile integrations. We make the right choice for your project together.',
'Geleceği Birlikte İnşa Edelim' => 'Let\'s Build the Future Together',
'Yapay Zeka ekosistemiyle işinizi bir adım öne taşımaya hazır mısınız?' => 'Are you ready to take your business a step forward with the Artificial Intelligence ecosystem?',
'Projeyi Başlatın' => 'Start the Project',
];
public function run(): void
{
$author = User::query()->first();
if (!$author) {
$this->command?->warn('Kullanıcı bulunamadı, seeder atlandı.');
return;
}
foreach ($this->englishTranslations as $key => $english) {
// Translations can be managed dynamically or exported later.
}
Page::updateOrCreate(
['slug' => 'yapay-zeka'],
[
'author_id' => $author->id,
'title' => 'Yapay Zeka ve Derin Öğrenme',
'excerpt' => 'PyTorch ve TensorFlow ile veri modellemeden Edge AI yayınına kadar tam teşekküllü yapay zeka ve derin öğrenme sistemleri geliştiriyoruz.',
'content' => '',
'template' => 'services.yapay-zeka',
'featured_image' => null,
'custom_header_blade' => 'partials.header-yapay-zeka',
'status' => 'published',
'is_homepage' => false,
'show_in_menu' => false,
'sort_order' => 16,
'published_at' => now(),
'meta_title' => 'Yapay Zeka Hizmetleri | Trunçgil Teknoloji',
'meta_description' => 'Trunçgil Teknoloji ile LLM Fine-Tuning, Edge AI, Bilgisayarlı Görü ve Büyük Veri çözümleri. PyTorch ve TensorFlow tabanlı sistemler.',
]
);
$this->command?->info('✅ Yapay Zeka sayfası ve çevirileri oluşturuldu.');
}
}