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="h2oai/h2ogpt-16k-codellama-13b-python")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("h2oai/h2ogpt-16k-codellama-13b-python")
model = AutoModelForCausalLM.from_pretrained("h2oai/h2ogpt-16k-codellama-13b-python")
Quick Links
README.md exists but content is empty.
Downloads last month
19
Safetensors
Model size
13B params
Tensor type
F16
Β·
Inference Providers NEW

Spaces using h2oai/h2ogpt-16k-codellama-13b-python 22