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="shailja/CodeGen-RE")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("shailja/CodeGen-RE")
model = AutoModelForCausalLM.from_pretrained("shailja/CodeGen-RE")
Quick Links

CodeGen trained on decompiled ghidra C source code with the capability for answering questions such as:

  1. What is the purpose of the code?
  2. What language is the code written in (c/c++)?
Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support