Exclusive Content:

Haiper steps out of stealth mode, secures $13.8 million seed funding for video-generative AI

Haiper Emerges from Stealth Mode with $13.8 Million Seed...

“Revealing Weak Infosec Practices that Open the Door for Cyber Criminals in Your Organization” • The Register

Warning: Stolen ChatGPT Credentials a Hot Commodity on the...

VOXI UK Launches First AI Chatbot to Support Customers

VOXI Launches AI Chatbot to Revolutionize Customer Services in...

Amazon Bedrock now features the AI21 Labs Jamba-Instruct model

Introducing Jamba-Instruct: A Powerful New Language Model in Amazon Bedrock

Introducing AI21 Labs Jamba-Instruct in Amazon Bedrock

We are thrilled to announce the availability of the Jamba-Instruct large language model (LLM) in Amazon Bedrock. Built by AI21 Labs, Jamba-Instruct offers support for a 256,000-token context window, making it especially valuable for processing large documents and complex Retrieval Augmented Generation (RAG) applications.

What is Jamba-Instruct?

Jamba-Instruct is an instruction-tuned version of the Jamba base model, combining a production-grade model, Structured State Space (SSM) technology, and Transformer architecture. This unique hybrid approach allows Jamba-Instruct to achieve the largest context window length in its model size class while delivering top-notch performance. Compared to AI21’s previous generation of models, the Jurassic-2 family, Jamba-Instruct provides a significant performance boost. For more information on the SSM/Transformer architecture, refer to the Jamba: A Hybrid Transformer-Mamba Language Model whitepaper.

Getting Started

To begin using Jamba-Instruct models in Amazon Bedrock, follow these steps:

  1. Visit the Amazon Bedrock console and navigate to Model access in the navigation pane.
  2. Choose Modify model access.
  3. Select the AI21 Labs models you wish to use and click Next.
  4. Submit your request for model access.

For further details, refer to the Model access documentation. Once you have access, you can test the model in the Amazon Bedrock Text or Chat playground.

Example Use Cases

Jamba-Instruct’s long context length is ideal for complex RAG workloads and document analysis. It can be used to detect contradictions between documents, analyze documents in context, and perform query augmentation. Additionally, Jamba-Instruct supports standard LLM operations like summarization and entity extraction.

For detailed guidance on prompts and use cases, consult the AI21 model documentation and the Built for the Enterprise: Introducing AI21’s Jamba-Instruct Model documentation.

Programmatic Access

Access Jamba-Instruct via an API using Amazon Bedrock and the AWS SDK for Python (Boto3). Below is a sample code snippet to get you started:

“`python
import boto3
import json

# Insert your prompt here
prompt = “INSERT YOUR PROMPT HERE”

# Model ID for Jamba-Instruct
modelId = “ai21.jamba-instruct-v1:0″

# Create a Boto3 client for Bedrock
bedrock = boto3.client(service_name=”bedrock-runtime”)

# Define the request body
body = json.dumps({
“messages”:[{“role”:”user”,”content”:prompt}],
“max_tokens”: 256,
“top_p”: 0.8,
“temperature”: 0.7,
})

# Invoke the model
response = bedrock.invoke_model(
body=body,
modelId=modelId,
accept=”application/json”,
contentType=”application/json”
)

# Print the response
result = json.loads(response.get(‘body’).read())
print(result[‘choices’][0][‘message’][‘content’])
“`

Conclusion

AI21 Labs Jamba-Instruct in Amazon Bedrock is a powerful tool for applications requiring a long context window. The innovative SSM/Transformer hybrid architecture offers enhanced model throughput and performance. With Jamba-Instruct, you can tackle tasks like summarization, document analysis, and query augmentation with ease.

If you’re interested in exploring the capabilities of AI21 Labs Jamba-Instruct in Amazon Bedrock, visit the Amazon Bedrock console in the US East (N. Virginia) AWS Region. For detailed information and guidance, refer to the Supported foundation models in Amazon Bedrock documentation.

About the Authors

Joshua Broyde, PhD, and Fernando Espigares Caballero are experts in generative AI solutions and cloud technologies. Together, they bring a wealth of experience and knowledge to the development and deployment of AI21 Labs Jamba-Instruct in Amazon Bedrock.

Latest

Expediting Genomic Variant Analysis Using AWS HealthOmics and Amazon Bedrock AgentCore

Transforming Genomic Analysis with AI: Bridging Data Complexity and...

ChatGPT Collaboration Propels Target into AI-Driven Retail — Retail Technology Innovation Hub

Transforming Retail: Target's Ambitious AI Integration and the Launch...

Alphabet’s Intrinsic and Foxconn Aim to Enhance Factory Automation with Advanced Robotics

Intrinsic and Foxconn Join Forces to Revolutionize Manufacturing with...

Don't miss

Haiper steps out of stealth mode, secures $13.8 million seed funding for video-generative AI

Haiper Emerges from Stealth Mode with $13.8 Million Seed...

VOXI UK Launches First AI Chatbot to Support Customers

VOXI Launches AI Chatbot to Revolutionize Customer Services in...

Investing in digital infrastructure key to realizing generative AI’s potential for driving economic growth | articles

Challenges Hindering the Widescale Deployment of Generative AI: Legal,...

Microsoft launches new AI tool to assist finance teams with generative tasks

Microsoft Launches AI Copilot for Finance Teams in Microsoft...

MSD Investigates How Generative AI and AWS Services Can Enhance Deviation...

Transforming Deviation Management in Biopharmaceuticals: Harnessing Generative AI and Emerging Technologies at MSD Transforming Deviation Management in Biopharmaceutical Manufacturing with Generative AI Co-written by Hossein Salami...

Best Practices and Deployment Patterns for Claude Code Using Amazon Bedrock

Deploying Claude Code with Amazon Bedrock: A Comprehensive Guide for Enterprises Unlock the power of AI-driven coding assistance with this step-by-step guide to deploying Claude...

Bringing Tic-Tac-Toe to Life Using AWS AI Solutions

Exploring RoboTic-Tac-Toe: A Fusion of LLMs, Robotics, and AWS Technologies An Interactive Experience Solution Overview Hardware and Software Strands Agents in Action Supervisor Agent Move Agent Game Agent Powering Robot Navigation with...