[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"portal-settings:stajic:it":3,"public-menus:all":38,"post:evaluation-harness:it":221,"related:post:evaluation-harness:it:1":612},{"statusCode":4,"data":5,"message":37},200,{"tenantId":6,"lang":7,"defaultLang":8,"siteUrl":9,"contactEmail":10,"brandName":11,"logoUrl":12,"siteName":11,"siteDescription":13,"ogImage":10,"robotsIndex":14,"socialLinks":10,"reservedSlugs":10,"seoPolicy":15},"stajic","it","de","https:\u002F\u002Fstajic.de",null,"Stajic Platform","\u002FLogo_Planet.svg","Stajic Portal",true,{"branding":16,"relatedContent":17,"crossDomainLinks":18},{"logoUrl":12},{"enabled":14},[19,22,25,28,31,34],{"url":20,"label":21,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Ffigure.rocks","figure.rocks",{"url":23,"label":24,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Floving.rocks","loving.rocks",{"url":26,"label":27,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Fbazify.com","bazify.com",{"url":29,"label":30,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Fbazify.de","bazify.de",{"url":32,"label":33,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Fbazify.at","bazify.at",{"url":35,"label":36,"isActive":14,"showInFooter":14,"includeInSameAs":14},"https:\u002F\u002Fbazify.ba","bazify.ba","Portal settings resolved",[39,45],{"id":40,"name":41,"location":42,"isActive":14,"isDefault":43,"items":44},1,"main-navigation","header",false,[],{"id":46,"name":47,"location":48,"isActive":14,"isDefault":14,"items":49},4,"main-menu","sidebar",[50,66,79,93,103,118,133],{"id":51,"title":52,"url":60,"target":61,"icon":62,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":64,"portfolioId":10,"children":65},"item-18",{"de":53,"en":54,"es":55,"fr":56,"it":54,"ru":57,"sr":58,"zh":59},"Startseite","Home","Inicio","Accueil","Главная","Почетна","首页","\u002Ffull-stack-web-developer-munich-performance-seo-and-maintainable-builds","_self","i-lucide-home","page",111,[],{"id":67,"title":68,"url":75,"target":61,"icon":76,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":77,"portfolioId":10,"children":78},"item-22",{"de":69,"en":69,"es":70,"fr":69,"it":71,"ru":72,"sr":73,"zh":74},"Vision","Visión","Visione","Видение","Визија","想象","\u002Fueber-uns-webdesign-muenchen-webaplikation","i-lucide-eye",113,[],{"id":80,"title":81,"url":89,"target":61,"icon":90,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":91,"portfolioId":10,"children":92},"item-19",{"de":82,"en":83,"es":84,"fr":83,"it":85,"ru":86,"sr":87,"zh":88},"Leistungen","Services","Servicios","Servizi","Услуги","Услуге","服务","\u002Fservices-dienstleistungen-muenchen","i-lucide-wrench",116,[],{"id":94,"title":95,"url":99,"target":61,"icon":100,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":101,"portfolioId":10,"children":102},"item-23",{"de":96,"en":96,"es":96,"fr":96,"it":96,"ru":97,"sr":97,"zh":98},"Blog","Блог","博客","\u002Fblog","i-lucide-book-open",112,[],{"id":104,"title":105,"url":114,"target":61,"icon":115,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":116,"portfolioId":10,"children":117},"item-32",{"de":106,"en":107,"es":108,"fr":109,"it":110,"ru":111,"sr":112,"zh":113},"Neue Technologien","New Technologies","Nuevas tecnologías","Nouvelles technologies","Nuove tecnologie","Новые технологии","Нове технологије","新技术！","\u002Fneue-webtechnologien","i-lucide-sparkles",122,[],{"id":119,"title":120,"url":129,"target":61,"icon":130,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":131,"portfolioId":10,"children":132},"item-20",{"de":121,"en":122,"es":123,"fr":124,"it":125,"ru":126,"sr":127,"zh":128},"Kontakt","Contact us!","Contacto","Contact","Contatto","Контакт","Контактирајте нас","联系我们！","\u002Fcontact","i-lucide-mail",115,[],{"id":134,"title":135,"url":144,"target":61,"icon":145,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":146,"portfolioId":10,"children":147},"item-21",{"de":136,"en":137,"es":138,"fr":139,"it":140,"ru":141,"sr":142,"zh":143},"Unsere Arbeit","Our Work","Nuestro trabajo","Nos réalisations","I nostri lavori","Наши работы","Наши радови","文件夹","\u002Fportfolio","i-lucide-briefcase",114,[148,161,175,191,206],{"id":149,"title":150,"url":144,"target":61,"icon":159,"isActive":14,"type":63,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":146,"portfolioId":10,"children":160},"item-24",{"de":151,"en":152,"es":153,"fr":154,"it":155,"ru":156,"sr":157,"zh":158},"Alle Projekte","All Projects","Todos los proyectos","Tous les projets","Tutti i progetti","Все проекты","Сви пројекти","所有项目","i-lucide-grid-3x3",[],{"id":162,"title":163,"url":171,"target":61,"icon":172,"isActive":14,"type":173,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":10,"portfolioId":10,"children":174},"item-29",{"de":164,"en":165,"es":166,"fr":167,"it":168,"ru":169,"sr":170,"zh":143},"Local Roots, Global Reach","Local Roots - Global Reach","Empresa local ","Entreprise locale","Azienda locale","Местная компания","Локално предузеће глобално тржиште","\u002Fportfolio\u002Flocal-roots-global-reach-communication-media-systems-for-modern-business","i-lucide-globe-2","custom",[],{"id":176,"title":177,"url":186,"target":61,"icon":187,"isActive":14,"type":188,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":10,"portfolioId":189,"children":190},"menu-2916d060-8681-482a-af9a-c107a8bc30d8",{"de":178,"en":179,"es":180,"fr":181,"it":182,"ru":183,"sr":184,"zh":185},"Von Rohdaten zu verifizierbarem KI-Kontext: Eine praktische Architektur für agentenbereite Informationen","From Raw Data to Verifiable AI Context:","De datos sin procesar a contexto de IA verificable: una arquitectura práctica para información lista para agentes","Des données brutes au contexte d'IA vérifiable : une architecture pratique pour des informations prêtes pour les agents","Dai dati grezzi a un contesto IA verificabile: Un'architettura pratica per informazioni pronte per gli agenti","От необработанных данных к верифицируемому контексту ИИ: практическая архитектура информации, готовой для агентов","Od sirovih podataka do proverljivog AI konteksta: Praktična arhitektura za informacije spremne za agente","从原始数据到可验证的 AI 上下文：面向智能体就绪信息的实用架构","\u002Fportfolio\u002Ffrom-raw-data-to-verifiable-ai-context-a-practical-architecture-for-agent-ready-information","i-lucide-database","portfolio",22,[],{"id":192,"title":193,"url":202,"target":61,"icon":203,"isActive":14,"type":188,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":10,"portfolioId":204,"children":205},"menu-e2061cd7-ff53-49d5-a0e8-3d49090577c0",{"de":194,"en":195,"es":196,"fr":197,"it":198,"ru":199,"sr":200,"zh":201},"Präsenzplattformen — Unternehmenskommunikation","Presence Platforms — Enterprise Communication","Plataformas de presencia — Comunicación empresarial","Plateformes de présence — Communication d'entreprise","Presence Platforms — Comunicazione aziendale","Платформы присутствия — Корпоративные коммуникации","Presence platforme — Poslovna komunikacija","Presence 平台 — 企业通信","\u002Fportfolio\u002Fpresence-platforms-enterprise-communication-that-wins-without-competing","i-lucide-badge-percent",21,[],{"id":207,"title":208,"url":217,"target":61,"icon":218,"isActive":14,"type":188,"productId":10,"categoryId":10,"shopCategoryId":10,"articleId":10,"pageId":10,"portfolioId":219,"children":220},"menu-a781582e-e90d-418e-b8c9-b070bc37c37e",{"de":209,"en":210,"es":211,"fr":212,"it":213,"ru":214,"sr":215,"zh":216},"Maximierung des POS-ROI durch Konsistenz","Maximizing POS ROI Through Consistent","Maximizar el ROI del POS a través de constante","Maximiser le ROI du PDV grâce à la cohérence","Massimizzare il ROI del POS attraverso costante","Максимизация ROI POS за счет последовательного","Maksimizacija POS ROI-ja kroz dosledno","通过持续最大化 POS 投资回报率","\u002Fportfolio\u002Ffrom-vision-to-value-maximizing-pos-roi-through-consistent-ci-creation-and-strategic-branding","i-lucide-briefcase-business",11,[],{"statusCode":4,"data":222,"message":611},{"id":223,"title":224,"slug":225,"content":226,"contentJson":227,"excerpt":364,"featuredImage":365,"featuredImageAlt":366,"featuredImageCaption":10,"featuredImageTitle":10,"featuredImageCopyright":10,"featuredImageAuthor":10,"featuredImageSourceUrl":10,"featuredImageLicense":10,"featuredImageIsAiGenerated":43,"status":367,"publishedAt":368,"createdAt":369,"updatedAt":370,"seoLocalePaths":371,"categories":380,"author":384,"translations":389},"434","Guida completa a Evaluation Harness: Padroneggiare la valutazione delle prestazioni degli LLM","evaluation-harness","\u003Cp># Guida all'Evaluation Harness\u003C\u002Fp>\n\u003Cp>## Introduzione all'Evaluation Harness\u003C\u002Fp>\n\u003Cp>Evaluation Harness è un potente framework open-source progettato specificamente per la valutazione di modelli linguistici di grandi dimensioni (LLM). Sviluppato dalla comunità EleutherAI, standardizza il processo di benchmarking degli LLM attraverso diversi task, metriche e dataset. Nell'LLMOps aziendale, funge da pietra angolare per la selezione dei modelli, la validazione del fine-tuning e il monitoraggio continuo.\u003C\u002Fp>\n\u003Cp>I vantaggi principali includono:\n- **Consistenza**: Protocolli di valutazione uniformi tra modelli e task.\n- **Scalabilità**: Gestisce dataset massivi e modelli multipli in modo efficiente.\n- **Estensibilità**: Supporta task, dataset e metriche personalizzati.\n- **Riproducibilità**: Risultati deterministici con casualità seminata e caching.\u003C\u002Fp>\n\u003Cp>Ideale per i team che passano dai test ad-hoc alla valutazione degli LLM di livello production.\u003C\u002Fp>\n\u003Cp>## Prerequisiti e Installazione\u003C\u002Fp>\n\u003Cp>Prima di iniziare, assicurati che il tuo ambiente soddisfi questi requisiti:\n- Python 3.10+.\n- Accelerazione GPU\u002FTPU (consigliata per modelli di grandi dimensioni).\n- RAM sufficiente (16GB+ per modelli di medie dimensioni).\u003C\u002Fp>\n\u003Cp>### Step-by-Step Installation\n1. Clone the repository: ```bash\ngit clone https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness\ngit checkout main\n```\u003C\u002Fp>\n\u003Cp>2. Install dependencies: ```bash\npip install -e .\npip install torch transformers datasets\n```\u003C\u002Fp>\n\u003Cp>3. For specific tasks (e.g., vision-language models): ```bash\npip install timm pillow\n```\u003C\u002Fp>\n\u003Cp>4. Verify installation: ```bash\nlm_eval --help\n```\u003C\u002Fp>\n\u003Cp>Suggerimento: usa un ambiente virtuale come `venv` o `conda` per isolare le dipendenze.\u003C\u002Fp>\n\u003Cp>## Concetti Fondamentali\u003C\u002Fp>\n\u003Cp>### Task e Dataset\nEvaluation Harness supporta oltre 200 task pronti all'uso, categorizzati come:\n- **Classificazione**: ARC, BoolQ, HellaSwag.\n- **Generativi**: AlpacaEval, MT-Bench.\n- **Ragionamento**: GSM8K, MATH.\n- **Multimodali**: MMMU, MathVista.\u003C\u002Fp>\n\u003Cp>I dataset vengono scaricati automaticamente dall'Hugging Face Hub.\u003C\u002Fp>\n\u003Cp>### Metriche\nLe metriche comuni includono:\n- **Accuracy**: Corrispondenza esatta per la classificazione.\n- **F1**: Precisione\u002Frichiamo bilanciati.\n- **Perplessità**: Per la fluidità generativa.\n- **BLEU\u002FROUGE**: Traduzione e riassunto.\u003C\u002Fp>\n\u003Cp>Metriche personalizzate tramite il flag `--metric`.\u003C\u002Fp>\n\u003Cp>### Caricamento del Modello\nSupporta HF Transformers, Llama.cpp, vLLM e altri:\n- Hugging Face: `meta-llama\u002FLlama-2-7b-chat-hf`\n- Locale: Percorsi personalizzati con quantizzazione (es. 4-bit).\u003C\u002Fp>\n\u003Cp>## Esecuzione di valutazioni di base\u003C\u002Fp>\n\u003Cp>### Command-Line Interface (CLI)\nStart with a simple benchmark:\n```bash\nlm_eval --model hf --model_args pretrained=model_name,trust_remote_code=True --tasks hellaswag,arc_easy --device cuda:0 --batch_size auto\n```\u003C\u002Fp>\n\u003Cp>Analisi:\n- `--model hf`: Caricatore Hugging Face.\n- `--tasks`: Attività separate da virgola.\n- `--batch_size auto`: Ottimizza per l'hardware.\u003C\u002Fp>\n\u003Cp>### Interpretazione dei risultati\nL'output include:\n- **acc**: Punteggio di accuratezza.\n- **acc_stderr**: Errore standard.\n- JSON compatibile con la classifica.\u003C\u002Fp>\n\u003Cp>Example output:\n```\nhellaswag: acc=0.9123 (±0.0012)\narc_easy: acc=0.7845 (±0.0021)\n```\u003C\u002Fp>\n\u003Cp>## Utilizzo Avanzato\u003C\u002Fp>\n\u003Cp>### Multi-Model Leaderboards\nCompare models:\n```bash\nlm_eval --model hf --model_args pretrained=model1 --tasks all --limit 1000\nlm_eval --model hf --model_args pretrained=model2 --tasks all --limit 1000\n```\nAggregate with `--save_jsonl` and external tools.\u003C\u002Fp>\n\u003Cp>### Task Personalizzati\n1. Definisci il task in `lm_eval\u002Ftasks\u002F`: - Configurazione YAML per il dataset. - Processore Python per il prompting few-shot.\u003C\u002Fp>\n\u003Cp>2. Example custom task YAML: ```yaml\ntask: my_custom_task\ndataset_path: huggingface\ndataset_name: my_dataset\ntraining_split: train\nfewshot_split: validation\nmetric_list: - metric: acc aggregation: mean higher_is_better: true\n```\u003C\u002Fp>\n\u003Cp>3. Esegui: `lm_eval --tasks my_custom_task`\u003C\u002Fp>\n\u003Cp>### Prompting Few-Shot e Chain-of-Thought\n- `--num_fewshot 5`: Esempi in-context.\n- Template personalizzati tramite `--gen_kwargs temperature=0.7`.\u003C\u002Fp>\n\u003Cp>Per CoT: Usa task come `gsm8k_cot`.\u003C\u002Fp>\n\u003Cp>## Ottimizzazione e Best Practice\u003C\u002Fp>\n\u003Cp>### Ottimizzazione delle Prestazioni\n- **Batching**: `--batch_size 32` o `auto`.\n- **Quantizzazione**: `--model_args dtype=bfloat16,load_in_4bit=True`.\n- **Distribuito**: `--multi_gpu` per l'integrazione con Ray.\u003C\u002Fp>\n\u003Cp>### Efficienza dei costi\n- Limita i campioni: `--limit 500`.\n- Usa sottoinsiemi più piccoli: `--subsample 0.1`.\n- Memorizza i risultati nella cache: `--cache_dir \u002Fpath\u002Fto\u002Fcache`.\u003C\u002Fp>\n\u003Cp>### Suggerimenti per l'affidabilità\n- Esegui più seed: `--num_generations 8`.\n- Intervalli di confidenza bootstrap.\n- Registra tutto con `--log_samples`.\u003C\u002Fp>\n\u003Cp>## Integrazione nelle pipeline LLMOps\u003C\u002Fp>\n\u003Cp>Embed in CI\u002FCD:\n1. GitHub Actions YAML: ```yaml - name: Evaluate Model run: lm_eval --model hf --model_args pretrained=${{ inputs.model }} --tasks core --batch_size auto > results.json ```\u003C\u002Fp>\n\u003Cp>2. MLflow tracking: ```python\nimport mlflow\nmlflow.log_metrics(results)\n```\u003C\u002Fp>\n\u003Cp>3. Prometheus\u002FGrafana per le dashboard.\u003C\u002Fp>\n\u003Cp>## Risoluzione dei problemi comuni\u003C\u002Fp>\n\u003Cp>- **Errori OOM**: Riduci la dimensione del batch o usa il gradient checkpointing.\n- **CUDA Out of Memory**: Abilita `torch.backends.cuda.enable_flash_sdp(True)`.\n- **Inferenza lenta**: Passa al loader vLLM: `--model vllm`.\n- **Dataset non trovato**: Controlla il token di accesso HF.\u003C\u002Fp>\n\u003Cp>## Conclusione e prossimi passi\u003C\u002Fp>\n\u003Cp>Evaluation Harness trasforma la valutazione soggettiva degli LLM in un processo basato sui dati. Inizia con i compiti principali, scala verso valutazioni personalizzate e integralo nel tuo flusso di lavoro LLMOps.\u003C\u002Fp>\n\u003Cp>Risorse:\n- GitHub: [EleutherAI\u002Flm-evaluation-harness](https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness)\n- Leaderboard: [Open LLM Leaderboard](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fopen-llm-leaderboard\u002Fopen_llm_leaderboard)\n- Discord: community EleutherAI.\u003C\u002Fp>\n\u003Cp>Sperimenta oggi stesso per sbloccare approfondimenti precisi sui modelli.\u003C\u002Fp>",{"time":228,"blocks":229,"version":363},1775468636151,[230,234,237,240,243,246,249,252,255,258,261,264,267,270,273,276,279,282,285,288,291,294,297,300,303,306,309,312,315,318,321,324,327,330,333,336,339,342,345,348,351,354,357,360],{"data":231,"type":233},{"text":232},"# Guida all'Evaluation Harness","paragraph",{"data":235,"type":233},{"text":236},"## Introduzione all'Evaluation Harness",{"data":238,"type":233},{"text":239},"Evaluation Harness è un potente framework open-source progettato specificamente per la valutazione di modelli linguistici di grandi dimensioni (LLM). Sviluppato dalla comunità EleutherAI, standardizza il processo di benchmarking degli LLM attraverso diversi task, metriche e dataset. Nell'LLMOps aziendale, funge da pietra angolare per la selezione dei modelli, la validazione del fine-tuning e il monitoraggio continuo.",{"data":241,"type":233},{"text":242},"I vantaggi principali includono:\n- **Consistenza**: Protocolli di valutazione uniformi tra modelli e task.\n- **Scalabilità**: Gestisce dataset massivi e modelli multipli in modo efficiente.\n- **Estensibilità**: Supporta task, dataset e metriche personalizzati.\n- **Riproducibilità**: Risultati deterministici con casualità seminata e caching.",{"data":244,"type":233},{"text":245},"Ideale per i team che passano dai test ad-hoc alla valutazione degli LLM di livello production.",{"data":247,"type":233},{"text":248},"## Prerequisiti e Installazione",{"data":250,"type":233},{"text":251},"Prima di iniziare, assicurati che il tuo ambiente soddisfi questi requisiti:\n- Python 3.10+.\n- Accelerazione GPU\u002FTPU (consigliata per modelli di grandi dimensioni).\n- RAM sufficiente (16GB+ per modelli di medie dimensioni).",{"data":253,"type":233},{"text":254},"### Step-by-Step Installation\n1. Clone the repository: ```bash\ngit clone https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness\ngit checkout main\n```",{"data":256,"type":233},{"text":257},"2. Install dependencies: ```bash\npip install -e .\npip install torch transformers datasets\n```",{"data":259,"type":233},{"text":260},"3. For specific tasks (e.g., vision-language models): ```bash\npip install timm pillow\n```",{"data":262,"type":233},{"text":263},"4. Verify installation: ```bash\nlm_eval --help\n```",{"data":265,"type":233},{"text":266},"Suggerimento: usa un ambiente virtuale come `venv` o `conda` per isolare le dipendenze.",{"data":268,"type":233},{"text":269},"## Concetti Fondamentali",{"data":271,"type":233},{"text":272},"### Task e Dataset\nEvaluation Harness supporta oltre 200 task pronti all'uso, categorizzati come:\n- **Classificazione**: ARC, BoolQ, HellaSwag.\n- **Generativi**: AlpacaEval, MT-Bench.\n- **Ragionamento**: GSM8K, MATH.\n- **Multimodali**: MMMU, MathVista.",{"data":274,"type":233},{"text":275},"I dataset vengono scaricati automaticamente dall'Hugging Face Hub.",{"data":277,"type":233},{"text":278},"### Metriche\nLe metriche comuni includono:\n- **Accuracy**: Corrispondenza esatta per la classificazione.\n- **F1**: Precisione\u002Frichiamo bilanciati.\n- **Perplessità**: Per la fluidità generativa.\n- **BLEU\u002FROUGE**: Traduzione e riassunto.",{"data":280,"type":233},{"text":281},"Metriche personalizzate tramite il flag `--metric`.",{"data":283,"type":233},{"text":284},"### Caricamento del Modello\nSupporta HF Transformers, Llama.cpp, vLLM e altri:\n- Hugging Face: `meta-llama\u002FLlama-2-7b-chat-hf`\n- Locale: Percorsi personalizzati con quantizzazione (es. 4-bit).",{"data":286,"type":233},{"text":287},"## Esecuzione di valutazioni di base",{"data":289,"type":233},{"text":290},"### Command-Line Interface (CLI)\nStart with a simple benchmark:\n```bash\nlm_eval --model hf --model_args pretrained=model_name,trust_remote_code=True --tasks hellaswag,arc_easy --device cuda:0 --batch_size auto\n```",{"data":292,"type":233},{"text":293},"Analisi:\n- `--model hf`: Caricatore Hugging Face.\n- `--tasks`: Attività separate da virgola.\n- `--batch_size auto`: Ottimizza per l'hardware.",{"data":295,"type":233},{"text":296},"### Interpretazione dei risultati\nL'output include:\n- **acc**: Punteggio di accuratezza.\n- **acc_stderr**: Errore standard.\n- JSON compatibile con la classifica.",{"data":298,"type":233},{"text":299},"Example output:\n```\nhellaswag: acc=0.9123 (±0.0012)\narc_easy: acc=0.7845 (±0.0021)\n```",{"data":301,"type":233},{"text":302},"## Utilizzo Avanzato",{"data":304,"type":233},{"text":305},"### Multi-Model Leaderboards\nCompare models:\n```bash\nlm_eval --model hf --model_args pretrained=model1 --tasks all --limit 1000\nlm_eval --model hf --model_args pretrained=model2 --tasks all --limit 1000\n```\nAggregate with `--save_jsonl` and external tools.",{"data":307,"type":233},{"text":308},"### Task Personalizzati\n1. Definisci il task in `lm_eval\u002Ftasks\u002F`: - Configurazione YAML per il dataset. - Processore Python per il prompting few-shot.",{"data":310,"type":233},{"text":311},"2. Example custom task YAML: ```yaml\ntask: my_custom_task\ndataset_path: huggingface\ndataset_name: my_dataset\ntraining_split: train\nfewshot_split: validation\nmetric_list: - metric: acc aggregation: mean higher_is_better: true\n```",{"data":313,"type":233},{"text":314},"3. Esegui: `lm_eval --tasks my_custom_task`",{"data":316,"type":233},{"text":317},"### Prompting Few-Shot e Chain-of-Thought\n- `--num_fewshot 5`: Esempi in-context.\n- Template personalizzati tramite `--gen_kwargs temperature=0.7`.",{"data":319,"type":233},{"text":320},"Per CoT: Usa task come `gsm8k_cot`.",{"data":322,"type":233},{"text":323},"## Ottimizzazione e Best Practice",{"data":325,"type":233},{"text":326},"### Ottimizzazione delle Prestazioni\n- **Batching**: `--batch_size 32` o `auto`.\n- **Quantizzazione**: `--model_args dtype=bfloat16,load_in_4bit=True`.\n- **Distribuito**: `--multi_gpu` per l'integrazione con Ray.",{"data":328,"type":233},{"text":329},"### Efficienza dei costi\n- Limita i campioni: `--limit 500`.\n- Usa sottoinsiemi più piccoli: `--subsample 0.1`.\n- Memorizza i risultati nella cache: `--cache_dir \u002Fpath\u002Fto\u002Fcache`.",{"data":331,"type":233},{"text":332},"### Suggerimenti per l'affidabilità\n- Esegui più seed: `--num_generations 8`.\n- Intervalli di confidenza bootstrap.\n- Registra tutto con `--log_samples`.",{"data":334,"type":233},{"text":335},"## Integrazione nelle pipeline LLMOps",{"data":337,"type":233},{"text":338},"Embed in CI\u002FCD:\n1. GitHub Actions YAML: ```yaml - name: Evaluate Model run: lm_eval --model hf --model_args pretrained=${{ inputs.model }} --tasks core --batch_size auto > results.json ```",{"data":340,"type":233},{"text":341},"2. MLflow tracking: ```python\nimport mlflow\nmlflow.log_metrics(results)\n```",{"data":343,"type":233},{"text":344},"3. Prometheus\u002FGrafana per le dashboard.",{"data":346,"type":233},{"text":347},"## Risoluzione dei problemi comuni",{"data":349,"type":233},{"text":350},"- **Errori OOM**: Riduci la dimensione del batch o usa il gradient checkpointing.\n- **CUDA Out of Memory**: Abilita `torch.backends.cuda.enable_flash_sdp(True)`.\n- **Inferenza lenta**: Passa al loader vLLM: `--model vllm`.\n- **Dataset non trovato**: Controlla il token di accesso HF.",{"data":352,"type":233},{"text":353},"## Conclusione e prossimi passi",{"data":355,"type":233},{"text":356},"Evaluation Harness trasforma la valutazione soggettiva degli LLM in un processo basato sui dati. Inizia con i compiti principali, scala verso valutazioni personalizzate e integralo nel tuo flusso di lavoro LLMOps.",{"data":358,"type":233},{"text":359},"Risorse:\n- GitHub: [EleutherAI\u002Flm-evaluation-harness](https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness)\n- Leaderboard: [Open LLM Leaderboard](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fopen-llm-leaderboard\u002Fopen_llm_leaderboard)\n- Discord: community EleutherAI.",{"data":361,"type":233},{"text":362},"Sperimenta oggi stesso per sbloccare approfondimenti precisi sui modelli.","2.31","Questa guida fornisce una panoramica dettagliata di Evaluation Harness, un framework essenziale per valutare rigorosamente le capacità dei modelli linguistici di grandi dimensioni (LLM) nelle pipeline LLMOps aziendali. Scopri la configurazione, le best practice e le tecniche avanzate per garantire un benchmarking e un'ottimizzazione dei modelli affidabili.","\u002Fuploads\u002F2026\u002F04\u002Fevaluation-harness-1775466944495-4s0xv2.webp","evaluation-harness-1775466944495-4s0xv2","PUBLISHED","2026-03-01T17:50:00.000Z","2026-03-01T18:50:33.351Z","2026-04-06T09:49:14.730Z",{"en":372,"de":373,"sr":374,"es":375,"fr":376,"it":377,"ru":378,"zh":379},"\u002Fblog\u002Fevaluation-harness","\u002Fde\u002Fblog\u002Fevaluation-harness","\u002Fsr\u002Fblog\u002Fevaluation-harness","\u002Fes\u002Fblog\u002Fevaluation-harness","\u002Ffr\u002Fblog\u002Fevaluation-harness","\u002Fit\u002Fblog\u002Fevaluation-harness","\u002Fru\u002Fblog\u002Fevaluation-harness","\u002Fzh\u002Fblog\u002Fevaluation-harness",[381],{"id":382,"name":383,"slug":225},89,"Harness di valutazione",{"id":385,"login":386,"email":387,"displayName":388},"20","rooth8233","","Aleksandar Stajić",[390,520],{"lang":391,"title":392,"content":393,"contentJson":394,"excerpt":519},"en","Comprehensive Guide to Evaluation Harness: Mastering LLM Performance Evaluation","{\"time\":1772391033350,\"blocks\":[{\"data\":{\"text\":\"# Evaluation Harness Guide\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Introduction to Evaluation Harness\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Evaluation Harness is a powerful, open-source framework designed specifically for evaluating large language models (LLMs). Developed by the EleutherAI community, it standardizes the process of benchmarking LLMs across diverse tasks, metrics, and datasets. In enterprise LLMOps, it serves as a cornerstone for model selection, fine-tuning validation, and continuous monitoring.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Key benefits include:\\n- **Consistency**: Uniform evaluation protocols across models and tasks.\\n- **Scalability**: Handles massive datasets and multiple models efficiently.\\n- **Extensibility**: Supports custom tasks, datasets, and metrics.\\n- **Reproducibility**: Deterministic results with seeded randomness and caching.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Ideal for teams transitioning from ad-hoc testing to production-grade LLM evaluation.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Prerequisites and Installation\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Before diving in, ensure your environment meets these requirements:\\n- Python 3.10+.\\n- GPU\u002FTPU acceleration (recommended for large models).\\n- Sufficient RAM (16GB+ for mid-sized models).\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Step-by-Step Installation\\n1. Clone the repository: ```bash\\ngit clone https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness\\ngit checkout main\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"2. Install dependencies: ```bash\\npip install -e .\\npip install torch transformers datasets\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"3. For specific tasks (e.g., vision-language models): ```bash\\npip install timm pillow\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"4. Verify installation: ```bash\\nlm_eval --help\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Pro tip: Use a virtual environment like `venv` or `conda` to isolate dependencies.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Core Concepts\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Tasks and Datasets\\nEvaluation Harness supports 200+ tasks out-of-the-box, categorized as:\\n- **Classification**: ARC, BoolQ, HellaSwag.\\n- **Generative**: AlpacaEval, MT-Bench.\\n- **Reasoning**: GSM8K, MATH.\\n- **Multimodal**: MMMU, MathVista.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Datasets auto-download from Hugging Face Hub.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Metrics\\nCommon metrics include:\\n- **Accuracy**: Exact match for classification.\\n- **F1**: Balanced precision\u002Frecall.\\n- **Perplexity**: For generative fluency.\\n- **BLEU\u002FROUGE**: Translation and summarization.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Custom metrics via `--metric` flag.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Model Loading\\nSupports HF Transformers, Llama.cpp, vLLM, and more:\\n- Hugging Face: `meta-llama\u002FLlama-2-7b-chat-hf`\\n- Local: Custom paths with quantization (e.g., 4-bit).\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Running Basic Evaluations\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Command-Line Interface (CLI)\\nStart with a simple benchmark:\\n```bash\\nlm_eval --model hf --model_args pretrained=model_name,trust_remote_code=True --tasks hellaswag,arc_easy --device cuda:0 --batch_size auto\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Breakdown:\\n- `--model hf`: Hugging Face loader.\\n- `--tasks`: Comma-separated tasks.\\n- `--batch_size auto`: Optimizes for hardware.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Interpreting Results\\nOutput includes:\\n- **acc**: Accuracy score.\\n- **acc_stderr**: Standard error.\\n- Leaderboard-compatible JSON.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Example output:\\n```\\nhellaswag: acc=0.9123 (±0.0012)\\narc_easy: acc=0.7845 (±0.0021)\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Advanced Usage\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Multi-Model Leaderboards\\nCompare models:\\n```bash\\nlm_eval --model hf --model_args pretrained=model1 --tasks all --limit 1000\\nlm_eval --model hf --model_args pretrained=model2 --tasks all --limit 1000\\n```\\nAggregate with `--save_jsonl` and external tools.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Custom Tasks\\n1. Define task in `lm_eval\u002Ftasks\u002F`: - YAML config for dataset. - Python processor for few-shot prompting.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"2. Example custom task YAML: ```yaml\\ntask: my_custom_task\\ndataset_path: huggingface\\ndataset_name: my_dataset\\ntraining_split: train\\nfewshot_split: validation\\nmetric_list: - metric: acc aggregation: mean higher_is_better: true\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"3. Run: `lm_eval --tasks my_custom_task`\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Few-Shot and Chain-of-Thought Prompting\\n- `--num_fewshot 5`: In-context examples.\\n- Custom templates via `--gen_kwargs temperature=0.7`.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"For CoT: Use tasks like `gsm8k_cot`.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Optimization and Best Practices\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Performance Tuning\\n- **Batching**: `--batch_size 32` or `auto`.\\n- **Quantization**: `--model_args dtype=bfloat16,load_in_4bit=True`.\\n- **Distributed**: `--multi_gpu` for Ray integration.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Cost Efficiency\\n- Limit samples: `--limit 500`.\\n- Use smaller subsets: `--subsample 0.1`.\\n- Cache results: `--cache_dir \u002Fpath\u002Fto\u002Fcache`.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"### Reliability Tips\\n- Run multiple seeds: `--num_generations 8`.\\n- Bootstrap confidence intervals.\\n- Log everything with `--log_samples`.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Integration in LLMOps Pipelines\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Embed in CI\u002FCD:\\n1. GitHub Actions YAML: ```yaml - name: Evaluate Model run: lm_eval --model hf --model_args pretrained=${{ inputs.model }} --tasks core --batch_size auto > results.json ```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"2. MLflow tracking: ```python\\nimport mlflow\\nmlflow.log_metrics(results)\\n```\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"3. Prometheus\u002FGrafana for dashboards.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Troubleshooting Common Issues\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"- **OOM Errors**: Reduce batch size or use gradient checkpointing.\\n- **CUDA Out of Memory**: Enable `torch.backends.cuda.enable_flash_sdp(True)`.\\n- **Slow Inference**: Switch to vLLM loader: `--model vllm`.\\n- **Dataset Not Found**: Check HF access token.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"## Conclusion and Next Steps\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Evaluation Harness transforms subjective LLM assessment into a data-driven process. Start with core tasks, scale to custom evals, and integrate into your LLMOps workflow.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Resources:\\n- GitHub: [EleutherAI\u002Flm-evaluation-harness](https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness)\\n- Leaderboard: [Open LLM Leaderboard](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fopen-llm-leaderboard\u002Fopen_llm_leaderboard)\\n- Discord: EleutherAI community.\"},\"type\":\"paragraph\"},{\"data\":{\"text\":\"Experiment today to unlock precise model insights.\"},\"type\":\"paragraph\"}],\"version\":\"2.31\"}",{"time":395,"blocks":396,"version":363},1772391033350,[397,400,403,406,409,412,415,418,420,422,424,426,429,432,435,438,441,444,447,450,452,455,458,460,463,465,468,470,473,476,479,482,485,488,491,494,496,498,501,504,507,510,513,516],{"data":398,"type":233},{"text":399},"# Evaluation Harness Guide",{"data":401,"type":233},{"text":402},"## Introduction to Evaluation Harness",{"data":404,"type":233},{"text":405},"Evaluation Harness is a powerful, open-source framework designed specifically for evaluating large language models (LLMs). Developed by the EleutherAI community, it standardizes the process of benchmarking LLMs across diverse tasks, metrics, and datasets. In enterprise LLMOps, it serves as a cornerstone for model selection, fine-tuning validation, and continuous monitoring.",{"data":407,"type":233},{"text":408},"Key benefits include:\n- **Consistency**: Uniform evaluation protocols across models and tasks.\n- **Scalability**: Handles massive datasets and multiple models efficiently.\n- **Extensibility**: Supports custom tasks, datasets, and metrics.\n- **Reproducibility**: Deterministic results with seeded randomness and caching.",{"data":410,"type":233},{"text":411},"Ideal for teams transitioning from ad-hoc testing to production-grade LLM evaluation.",{"data":413,"type":233},{"text":414},"## Prerequisites and Installation",{"data":416,"type":233},{"text":417},"Before diving in, ensure your environment meets these requirements:\n- Python 3.10+.\n- GPU\u002FTPU acceleration (recommended for large models).\n- Sufficient RAM (16GB+ for mid-sized models).",{"data":419,"type":233},{"text":254},{"data":421,"type":233},{"text":257},{"data":423,"type":233},{"text":260},{"data":425,"type":233},{"text":263},{"data":427,"type":233},{"text":428},"Pro tip: Use a virtual environment like `venv` or `conda` to isolate dependencies.",{"data":430,"type":233},{"text":431},"## Core Concepts",{"data":433,"type":233},{"text":434},"### Tasks and Datasets\nEvaluation Harness supports 200+ tasks out-of-the-box, categorized as:\n- **Classification**: ARC, BoolQ, HellaSwag.\n- **Generative**: AlpacaEval, MT-Bench.\n- **Reasoning**: GSM8K, MATH.\n- **Multimodal**: MMMU, MathVista.",{"data":436,"type":233},{"text":437},"Datasets auto-download from Hugging Face Hub.",{"data":439,"type":233},{"text":440},"### Metrics\nCommon metrics include:\n- **Accuracy**: Exact match for classification.\n- **F1**: Balanced precision\u002Frecall.\n- **Perplexity**: For generative fluency.\n- **BLEU\u002FROUGE**: Translation and summarization.",{"data":442,"type":233},{"text":443},"Custom metrics via `--metric` flag.",{"data":445,"type":233},{"text":446},"### Model Loading\nSupports HF Transformers, Llama.cpp, vLLM, and more:\n- Hugging Face: `meta-llama\u002FLlama-2-7b-chat-hf`\n- Local: Custom paths with quantization (e.g., 4-bit).",{"data":448,"type":233},{"text":449},"## Running Basic Evaluations",{"data":451,"type":233},{"text":290},{"data":453,"type":233},{"text":454},"Breakdown:\n- `--model hf`: Hugging Face loader.\n- `--tasks`: Comma-separated tasks.\n- `--batch_size auto`: Optimizes for hardware.",{"data":456,"type":233},{"text":457},"### Interpreting Results\nOutput includes:\n- **acc**: Accuracy score.\n- **acc_stderr**: Standard error.\n- Leaderboard-compatible JSON.",{"data":459,"type":233},{"text":299},{"data":461,"type":233},{"text":462},"## Advanced Usage",{"data":464,"type":233},{"text":305},{"data":466,"type":233},{"text":467},"### Custom Tasks\n1. Define task in `lm_eval\u002Ftasks\u002F`: - YAML config for dataset. - Python processor for few-shot prompting.",{"data":469,"type":233},{"text":311},{"data":471,"type":233},{"text":472},"3. Run: `lm_eval --tasks my_custom_task`",{"data":474,"type":233},{"text":475},"### Few-Shot and Chain-of-Thought Prompting\n- `--num_fewshot 5`: In-context examples.\n- Custom templates via `--gen_kwargs temperature=0.7`.",{"data":477,"type":233},{"text":478},"For CoT: Use tasks like `gsm8k_cot`.",{"data":480,"type":233},{"text":481},"## Optimization and Best Practices",{"data":483,"type":233},{"text":484},"### Performance Tuning\n- **Batching**: `--batch_size 32` or `auto`.\n- **Quantization**: `--model_args dtype=bfloat16,load_in_4bit=True`.\n- **Distributed**: `--multi_gpu` for Ray integration.",{"data":486,"type":233},{"text":487},"### Cost Efficiency\n- Limit samples: `--limit 500`.\n- Use smaller subsets: `--subsample 0.1`.\n- Cache results: `--cache_dir \u002Fpath\u002Fto\u002Fcache`.",{"data":489,"type":233},{"text":490},"### Reliability Tips\n- Run multiple seeds: `--num_generations 8`.\n- Bootstrap confidence intervals.\n- Log everything with `--log_samples`.",{"data":492,"type":233},{"text":493},"## Integration in LLMOps Pipelines",{"data":495,"type":233},{"text":338},{"data":497,"type":233},{"text":341},{"data":499,"type":233},{"text":500},"3. Prometheus\u002FGrafana for dashboards.",{"data":502,"type":233},{"text":503},"## Troubleshooting Common Issues",{"data":505,"type":233},{"text":506},"- **OOM Errors**: Reduce batch size or use gradient checkpointing.\n- **CUDA Out of Memory**: Enable `torch.backends.cuda.enable_flash_sdp(True)`.\n- **Slow Inference**: Switch to vLLM loader: `--model vllm`.\n- **Dataset Not Found**: Check HF access token.",{"data":508,"type":233},{"text":509},"## Conclusion and Next Steps",{"data":511,"type":233},{"text":512},"Evaluation Harness transforms subjective LLM assessment into a data-driven process. Start with core tasks, scale to custom evals, and integrate into your LLMOps workflow.",{"data":514,"type":233},{"text":515},"Resources:\n- GitHub: [EleutherAI\u002Flm-evaluation-harness](https:\u002F\u002Fgithub.com\u002FEleutherAI\u002Flm-evaluation-harness)\n- Leaderboard: [Open LLM Leaderboard](https:\u002F\u002Fhuggingface.co\u002Fspaces\u002Fopen-llm-leaderboard\u002Fopen_llm_leaderboard)\n- Discord: EleutherAI community.",{"data":517,"type":233},{"text":518},"Experiment today to unlock precise model insights.","This guide provides a detailed walkthrough of Evaluation Harness, an essential framework for rigorously assessing large language model (LLM) capabilities in enterprise LLMOps pipelines. Learn setup, best practices, and advanced techniques to ensure reliable model benchmarking and optimization.",{"lang":7,"title":224,"content":226,"contentJson":521,"excerpt":364},{"time":228,"blocks":522,"version":363},[523,525,527,529,531,533,535,537,539,541,543,545,547,549,551,553,555,557,559,561,563,565,567,569,571,573,575,577,579,581,583,585,587,589,591,593,595,597,599,601,603,605,607,609],{"data":524,"type":233},{"text":232},{"data":526,"type":233},{"text":236},{"data":528,"type":233},{"text":239},{"data":530,"type":233},{"text":242},{"data":532,"type":233},{"text":245},{"data":534,"type":233},{"text":248},{"data":536,"type":233},{"text":251},{"data":538,"type":233},{"text":254},{"data":540,"type":233},{"text":257},{"data":542,"type":233},{"text":260},{"data":544,"type":233},{"text":263},{"data":546,"type":233},{"text":266},{"data":548,"type":233},{"text":269},{"data":550,"type":233},{"text":272},{"data":552,"type":233},{"text":275},{"data":554,"type":233},{"text":278},{"data":556,"type":233},{"text":281},{"data":558,"type":233},{"text":284},{"data":560,"type":233},{"text":287},{"data":562,"type":233},{"text":290},{"data":564,"type":233},{"text":293},{"data":566,"type":233},{"text":296},{"data":568,"type":233},{"text":299},{"data":570,"type":233},{"text":302},{"data":572,"type":233},{"text":305},{"data":574,"type":233},{"text":308},{"data":576,"type":233},{"text":311},{"data":578,"type":233},{"text":314},{"data":580,"type":233},{"text":317},{"data":582,"type":233},{"text":320},{"data":584,"type":233},{"text":323},{"data":586,"type":233},{"text":326},{"data":588,"type":233},{"text":329},{"data":590,"type":233},{"text":332},{"data":592,"type":233},{"text":335},{"data":594,"type":233},{"text":338},{"data":596,"type":233},{"text":341},{"data":598,"type":233},{"text":344},{"data":600,"type":233},{"text":347},{"data":602,"type":233},{"text":350},{"data":604,"type":233},{"text":353},{"data":606,"type":233},{"text":356},{"data":608,"type":233},{"text":359},{"data":610,"type":233},{"text":362},"Post erfolgreich abgerufen",{"items":613,"source":642,"manualIds":643,"manualMatchedIds":644},[614,621,628,635],{"id":615,"slug":616,"title":617,"excerpt":618,"featuredImage":619,"publishedAt":620},"475","managed-agent-harness-vs-self-hosted-agent-loop-what-you-gain-what-you-lose","Harness per agenti gestito vs loop per agenti self-hosted: cosa si guadagna, cosa si perde","“Agente self-hosted” può indicare architetture molto diverse. Questa guida separa l'harness gestito, l'ambiente di esecuzione self-hosted e il loop dell'agente completamente autogestito—e mostra quale perimetro di controllo serve effettivamente ai team.","\u002Fuploads\u002F2026\u002F09\u002Fmanaged-agent-harness-vs-self-hosted-agent-loop-what-you-gain-what-you-lose-1790352403475-kj10jh.webp","2026-09-25T12:05:00.000Z",{"id":622,"slug":623,"title":624,"excerpt":625,"featuredImage":626,"publishedAt":627},"493","mlops-vs-llmops-what-changes-when-the-model-is-an-llm","MLOps vs LLMOps: cosa cambia quando il modello è un LLM","MLOps gestisce i sistemi di machine learning; LLMOps estende tali pratiche a prompt, contesto, recupero, provider, strumenti, valutazioni e comportamento a runtime attorno ai modelli linguistici di grandi dimensioni.","\u002Fuploads\u002F2026\u002F10\u002Fmlops-vs-llmops-what-changes-when-the-model-is-an-llm-1791487319869-2v7hxo.webp","2026-10-08T15:20:00.000Z",{"id":629,"slug":630,"title":631,"excerpt":632,"featuredImage":633,"publishedAt":634},"469","rag-failed-but-which-layer-actually-failed-a-diagnostic-method","RAG non riuscito — Ma quale livello ha effettivamente fallito? Un metodo diagnostico","Quando una risposta RAG è sbagliata, dare la colpa al recupero o al modello è troppo vago. Questo metodo diagnostico isola la copertura delle fonti, la costruzione della query, il recupero, il ranking, l'assemblaggio del contesto, la generazione, l'attribuzione delle evidenze e l'aggiornamento—così il guasto effettivo può essere riprodotto e corretto.","\u002Fuploads\u002F2026\u002F09\u002Frag-failed-but-which-layer-actually-failed-a-diagnostic-method-1790350847177-pior4c.webp","2026-09-24T19:39:00.000Z",{"id":636,"slug":637,"title":638,"excerpt":639,"featuredImage":640,"publishedAt":641},"459","ollama-is-not-the-product-building-production-ready-open-llm-applications","Ollama non è il prodotto: costruire applicazioni Open-LLM pronte per la produzione","Eseguire un modello locale con Ollama è facile. Costruire un'applicazione Open-LLM pronta per la produzione è più difficile: richiede RAG, controllo degli accessi, astrazione del provider, valutazione, logging, disciplina di deployment e un livello applicativo controllato attorno al modello.","\u002Fuploads\u002F2026\u002F06\u002Follama-is-not-the-product-building-production-ready-open-llm-applications-1782679361640-h0usqf.webp","2026-06-28T16:39:00.000Z","fallback",[],[]]