Instructions to use SushantGautam/CodeGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SushantGautam/CodeGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="SushantGautam/CodeGeneration")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("SushantGautam/CodeGeneration") model = AutoModelForMaskedLM.from_pretrained("SushantGautam/CodeGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from SushantGautam/CodeGeneration: direct link, hf CLI and curl.
- Browser
- Download file 3.31 kB
-
https://huggingface.co/SushantGautam/CodeGeneration/resolve/main/training_args.bin
- Command line
-
hf download hf://SushantGautam/CodeGeneration/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/SushantGautam/CodeGeneration/resolve/main/training_args.bin
3.31 kB
- Xet hash:
- 09ed09fe03130025ec2d56617f3fed02423da8a841bfb0944b7e109320442405
- Size of remote file:
- 3.31 kB
- SHA256:
- 575bcba0894481f4037e50524a1f5075c00aee78d8fb66f2ff5db9891bebe1db
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.