llmreference
IBM watsonx

Using Llama 2 70B Chat on IBM watsonx

Implementation guide · Llama 2 · AI at Meta

ServerlessOpen Source

Quick Start

  1. 1
    Create an account at IBM watsonx and generate an API key.
  2. 2
    Use the IBM watsonx SDK or REST API to call llama2-70b-chat — see the documentation for request format.
  3. 3
    You'll be billed $1.80/1M input, $1.80/1M output tokens. See full pricing.

Code Examples

See IBM watsonx documentation for integration details.

About IBM watsonx

The IBM watsonx AI platform is a comprehensive solution that integrates generative AI capabilities with traditional machine learning. It offers users access to a wide range of foundation models, including both IBM-developed and third-party options. The platform features a user-friendly studio for model building, a robust data management system based on an open lakehouse architecture, and governance tools to ensure compliance and ethical AI practices. Watsonx supports hybrid cloud deployments, enabling seamless integration of AI workloads into existing infrastructures, which enhances operational efficiency and scalability. This AI platform empowers organizations to leverage artificial intelligence for data-driven decision-making and innovation across multiple sectors, including healthcare, finance, and customer service. It offers advanced analytics, natural language processing, and automated workflows, aiding in tasks such as predictive analytics, content generation, and customer engagement. By streamlining processes and providing actionable insights, the platform helps businesses improve productivity and gain a competitive advantage, making it a crucial tool for those looking to harness the full potential of AI in their operations.

IBM offers a comprehensive AI platform that includes IBM watsonx, a next-generation enterprise AI and data platform. The platform integrates various AI technologies and services, including natural language processing, machine learning, and data analytics. IBM's AI solutions are designed to help businesses across industries leverage artificial intelligence for improved decision-making, automation, and innovation. The company's focus on AI extends to areas such as cloud computing, quantum computing, and industry-specific applications, making it a leader in enterprise AI solutions.

Pricing on IBM watsonx

TypePrice (per 1M)
Input tokens$1.80
Output tokens$1.80

Capabilities

Structured Outputs

About Llama 2 70B Chat

Llama 2 70B Chat is a large-scale language model with 70 billion parameters, designed for conversational AI applications. Released on July 18, 2023, it's part of Meta's Llama 2 family, featuring advanced transformer architecture optimized through supervised fine-tuning and reinforcement learning with human feedback. The model excels in generating human-like responses, outperforming many open-source alternatives and rivaling closed-source models like ChatGPT. Trained on 2 trillion tokens from diverse public sources, it's suitable for commercial and research applications in English, particularly for assistant-like functionalities. The model is available on Hugging Face for further exploration and implementation .

Model Specs

Released2023-07-18
Parameters70B
Context4K
ArchitectureDecoder Only

Provider

IBM watsonx
IBM watsonx

IBM

Armonk, New York, United States