Instructions to use hf-tiny-model-private/tiny-random-CodeGenModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-CodeGenModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-tiny-model-private/tiny-random-CodeGenModel")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-CodeGenModel") model = AutoModel.from_pretrained("hf-tiny-model-private/tiny-random-CodeGenModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-tiny-model-private/tiny-random-CodeGenModel: direct link, hf CLI and curl.
- Browser
- Download file 1.71 MB
-
https://huggingface.co/hf-tiny-model-private/tiny-random-CodeGenModel/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://hf-tiny-model-private/tiny-random-CodeGenModel@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-tiny-model-private/tiny-random-CodeGenModel/resolve/refs%2Fpr%2F1/pytorch_model.bin
1.71 MB
- Xet hash:
- c27fb91a056ebbd99af2524fcd6d7f8a5f150f9f64cedd389bc406836a97bc48
- Size of remote file:
- 1.71 MB
- SHA256:
- 3eb5301ec9c7b21ffb9eb2421ece096adf8df1bda60d275097b58b3a8307b69f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.