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-7b-python")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("h2oai/h2ogpt-16k-codellama-7b-python")
model = AutoModelForCausalLM.from_pretrained("h2oai/h2ogpt-16k-codellama-7b-python")
Quick Links
README.md exists but content is empty.
Downloads last month
13
Safetensors
Model size
7B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using h2oai/h2ogpt-16k-codellama-7b-python 14