RHEL AI and Granite models
Notes// archive From the original Code Walker docs. Kept for reference, so some versions and commands may be out of date.
Requirements for Using Large Language Models in Enterprise Environments#
The non-deterministic nature of LLMs, which can cause trust issues in enterprise use cases.
Sending data to 3rd party LLMs can expose sensitive information.
Legal risks due to lack of transparency in training processes and data origins.
Privacy
Efficiency
Transparency and Compliance
Privacy#
Data Isolation: Ensuring proprietary data (PII, trade secrets) never leaves the corporate perimeter or enters a model’s public training set.
Zero Data Retention (ZDR): Utilizing API agreements or local hosting to ensure providers do not log or store prompts for human review.
Efficiency#
Operational Cost (ROI): Balancing high-performance models (like GPT-4o) against smaller, specialized models (like Granite or Llama-3-8B) to reduce latency and GPU spend.
Resource Management: Implementing techniques like Quantization or RamaLama-style containerization to run models on existing infrastructure rather than specialized hardware.
Transparency#
Explainability: The ability to trace how a model reached a specific output, often achieved through RAG (where the model cites its sources).
Model Lineage: Knowing the origin, training data, and versioning of the model to avoid “black box” logic.
Compliance#
Audit Trails: Maintaining detailed logs of every AI interaction for legal and regulatory review (e.g., GDPR, CCPA, or the EU AI Act).
Safety Guardrails: Hard-coding filters to prevent the model from generating toxic content, biased results, or violating industry-specific regulations (like HIPAA or SOC2).
Granite: A Family of AI Models for Enterprises#
Pre-trained for Privacy, Efficiency & Transparency & Compliance foundation models.
Granite models protect you from any copyright ot IP concerns - totally open-source and safe!
Granite Base Models#
ibm-granite/granite-3.3-8b-base
ibm-granite/granite-3.3-2b-base
ibm-granite/granite-3.1-3b-a800m-baseGranite Instruct Models#
Granite instruct models extend the capabilities of the base models to include:
- Retrieval-augmented Generation (RAG)
- Code related tasks
- Tool calling and use (required for agent use cases)
- Instruction following
ibm-granite/granite-3.3-2b-instruct
ibm-granite/granite-3.3-8b-instruct
ibm-granite/granite-3.1-3b-a800m-instructGranite Code Models#
Foundational models designed for code-related tasks such as the following:
- Code generation and completion
- Code repair
- Code explanation
- Code synthesis
ibm-granite/granite-3b-code-base-2k
ibm-granite/granite-8b-code-instruct-128k
ibm-granite/granite-34b-code-instruct-8kGranite Speech Models#
Granite speech models are a fine-tuned version of Granite instruct models. For example, ibm-granite/granite-speech-3.3-8b is a fine-tuned version of ibm-granite/granite-3.3-8b-instruct.
Granite Vision Models#
Although Granite Vision models are not designed as a direct text-only Granite model replacement, they effectively manage text-in, text-out tasks.
The ibm-granite/granite-vision-3.2-2b model belongs to this category.
Granite Embeddings Models#
Effective embedding models are crucial for enterprise tasks such as semantic search or RAG. They enhance a system’s understanding of user intent and improve query relevance by accurately and efficiently representing words, queries, and documents as vector embeddings.
ibm-granite/granite-embedding-125m-english
ibm-granite/granite-embedding-125m-english
ibm-granite/granite-embedding-107m-multilingual
ibm-granite/granite-embedding-278m-multilingual
ibm-granite/granite-embedding-30m-sparseGranite Guardian Models#
- Detecting risks on prompts, responses, and conversations.
- RAG usage, where the model evaluates the prompt’s context to detect response document relevance.
- Tool calling, where the guardian model evaluates the generated tool input to asses syntactic and semantic hallucinations.
ibm-granite/granite-guardian-3.2-5b
ibm-granite/granite-guardian-3.1-2b
ibm-granite/granite-guardian-3.2-3b-a800m
ibm-granite/granite-guardian-hap-38mGranite Time Series Models#
Granite time series models are an exception in the Granite family. Although they are based on the same transformer model architecture as the other generative models, time series models focus on predictive AI: time series regression and classification.
The following models belong to this category:
ibm-granite/granite-timeseries-ttm-r2
ibm-granite/granite-timeseries-patchtsmixerGranite Geospatial Models#
Geospatial AI models are designed to process, analyze, and interpret spatially referenced data, or geospatial data.
ibm-granite/granite-geospatial-biomass
ibm-granite/granite-geospatial-uki-flooddetection