Instructions to use YieldInc/pythoncode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use YieldInc/pythoncode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "YieldInc/pythoncode") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from YieldInc/pythoncode: direct link, hf CLI and curl.
- Browser
- Download file 146 MB
-
https://huggingface.co/YieldInc/pythoncode/resolve/main/adapter_model.bin
- Command line
-
hf download hf://YieldInc/pythoncode/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/YieldInc/pythoncode/resolve/main/adapter_model.bin
146 MB
- Xet hash:
- 56030df32a0dcad6349ac7274d7859084520e983acf85962b121a0252197d1d1
- Size of remote file:
- 146 MB
- SHA256:
- 87c7618c9f93d96a81c4c950d004f8ea727ada0223db8604dbeef4730d13670c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.