How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="apipack/API-Pack-Model")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("apipack/API-Pack-Model")
model = AutoModelForCausalLM.from_pretrained("apipack/API-Pack-Model", device_map="auto")
Quick Links

This is the repository with model for the paper API Pack A Massive Multi-Programming Language Dataset for API Call Generation.

The model is fine-tuned with 1M instances from API-Pack dataset, and is based on CodeLlama-13b-hf, a custom commercial license for which is available.

Downloads last month
10
Safetensors
Model size
13B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train apipack/API-Pack-Model