Instructions to use uclanlp/plbart-multi_task-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uclanlp/plbart-multi_task-python with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("uclanlp/plbart-multi_task-python") model = AutoModelForSeq2SeqLM.from_pretrained("uclanlp/plbart-multi_task-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
aa3bcd0
1
Parent(s): eb09b2b
Update model files
Browse filesFiles changed (2)
- config.json+2-1
- pytorch_model.bin+2-2
25 unmodified lines26272829293031323325 unmodified lines "num_hidden_layers": 6, "pad_token_id": 1, "scale_embedding": true, "torch_dtype": "float32", "transformers_version": "4.13.0.dev0", "transformers_version": "4.17.0.dev0", "use_cache": true, "vocab_size": 50008}12323version https://git-lfs.github.com/spec/v1oid sha256:b2009ec6dade0e0d62d535efbc4efa097a28bcdbebc555bc506bb67a244e8398size 557184953oid sha256:53449319e32c1742e36e66f4026799a2d1fb00b9180a552849b78867074b2c80size 557185721config.json+2-1
pytorch_model.bin+2-2