Phind

Phind: CodeLlama 34B v2

phind/phind-codellama-34b

A fine-tune of CodeLlama-34B on an internal dataset that helps it exceed GPT-4 on some benchmarks, including HumanEval.

Community

Open Source

Context Window

4,096

0

Using Phind: CodeLlama 34B v2 with Python API

Using Phind: CodeLlama 34B v2 with OpenAI compatible API

import openai

client = openai.Client(
  api_key= '{your_api_key}',
  base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="phind/phind-codellama-34b",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)