Instructions to use Oussama57/codegen-2B-text-to-uml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Oussama57/codegen-2B-text-to-uml with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen-2B-multi") model = PeftModel.from_pretrained(base_model, "Oussama57/codegen-2B-text-to-uml") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!