Llama2 7b Code

FeatherlessQuality: 50/100Unverified
Try in Playground
✗ Vision✗ Reasoning✗ Tool Use✓ Streaming✓ System Messages

Overview

Llama2 7b Code is a efficient model from Featherless with a 4K context window. Available through ANT's unified API.

ANT Routing Intelligence

Limited routing data available for Llama2 7b Code. Intelligence insights will appear as more requests are routed through ANT.

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://api.antbase.ai/v1",
    api_key="YOUR_ANT_API_KEY",
)

response = client.chat.completions.create(
    model="featherless/itsliupeng/llama2_7b_code",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)