Instructions to use luna-code/sqlmodel-CodeGPT-small-py-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luna-code/sqlmodel-CodeGPT-small-py-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/CodeGPT-small-py") model = PeftModel.from_pretrained(base_model, "luna-code/sqlmodel-CodeGPT-small-py-prefix") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 368760
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c961ce6c712dd3e66e9065b71ec18ff4d3c73a6dae79c31ee94d65f4d0a3a46
|
| 3 |
size 368760
|