Instructions to use uclanlp/plbart-refine-java-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uclanlp/plbart-refine-java-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("uclanlp/plbart-refine-java-small") model = AutoModelForSeq2SeqLM.from_pretrained("uclanlp/plbart-refine-java-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add spiece model and update config files
3806d81
-
Add model files
10adc89 -
initial commit
7fb25fa