# 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:
- What is the purpose of the code?
- What language is the code written in (c/c++)?
- Downloads last month
- 12
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shailja/CodeGen-RE")