Instructions to use SOTAagi2030/CodeGenModel-Best with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# pip install -U transformers accelerate # 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") - Notebooks
- Google Colab
- Kaggle
Download figures/fig1.png from SOTAagi2030/CodeGenModel-Best: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/SOTAagi2030/CodeGenModel-Best/resolve/main/figures/fig1.png
- Command line
-
hf download hf://SOTAagi2030/CodeGenModel-Best/figures/fig1.png
-
curl -L -o fig1.png https://huggingface.co/SOTAagi2030/CodeGenModel-Best/resolve/main/figures/fig1.png
410 Bytes
