Skip to content

03 Models

Closed Source Models

  • Paid models which has billions or trillions of parameters.
  • Different closed source models available
    • GPT (OpenAI) - Good in complex technical questions.
    • Claude (Anthropic) - Good in questions with emotional and ethical l touch.
    • Gemini (Google) - Better integration with Google services.
    • Command R (Cohere)
    • Perplexity

Opensource Models

  • Free models which contains less number of parameters.
  • Different opensource models available
    • Llama (Meta)
    • Mixtral (Mistral)
    • Qwen (Alibaba)
    • Gemma (Google)
    • Phi (Microsoft)

Three Ways to Use Models

  1. Chat interfaces (Like ChatGPT)
  2. Cloud APIs (Frameworks like LangChain use Cloud APIs)
    1. Amazon Bedrock
    2. Google Vertex
    3. Azure ML
  3. Direct inference
    1. With HuggingFace transformers library
    2. Runs locally or in a managed machine using Ollama