๐ LUNA - CodeGen-350M
Collection
9 items โข Updated
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("luna-code/codegen-350M-mono-fd-fft")
model = AutoModelForCausalLM.from_pretrained("luna-code/codegen-350M-mono-fd-fft")No model card
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="luna-code/codegen-350M-mono-fd-fft")