Initial commit: Best checkpoint with evaluation results 6d1ffdf
SOTAagi2030 commited on
How to use SOTAagi2030/CodeGenModel-Best with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="SOTAagi2030/CodeGenModel-Best") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("SOTAagi2030/CodeGenModel-Best")
model = AutoModel.from_pretrained("SOTAagi2030/CodeGenModel-Best", device_map="auto")