Instructions to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor") model = AutoModelForSeq2SeqLM.from_pretrained("k4black/Salesforce-codet5-small-CodeXGLUE-CONCODE-adafactor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.e05c836
-
update model card README.md
0782c07 -
Model save
5a14c7f -
Training in progress, step 8000
1f83525 -
Training in progress, step 7500
06d1b6c -
Training in progress, step 7000
79982b3 -
Training in progress, step 6500
f537d8c -
Training in progress, step 6000
75f0d6e -
Training in progress, step 5500
b54f76c -
Training in progress, step 5000
5a9a9f5 -
Training in progress, step 4500
26bed86
-
Training in progress, step 4000
37b3157 -
Training in progress, step 3500
96bdce2 -
Training in progress, step 3000
31c53bf -
Training in progress, step 2500
336531b -
Training in progress, step 2000
e57e2f1 -
Training in progress, step 1500
4231d00 -
Training in progress, step 1000
66ffd01 -
Training in progress, step 500
41e872d -
initial commit
1f7a789