Instructions to use InfometryINC/phi2-retail-sql-lora-v7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use InfometryINC/phi2-retail-sql-lora-v7 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("InfometryINC/phi2-retail-sql-lora-v7", device_map="auto") - Notebooks
- Google Colab
- Kaggle
phi2-retail-sql-lora-v7: QLoRA, 500 samples, 3 epochs, per-example schema
Browse files- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -21,10 +21,10 @@
|
|
| 21 |
"target_modules": [
|
| 22 |
"v_proj",
|
| 23 |
"dense",
|
| 24 |
-
"
|
| 25 |
"fc1",
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
],
|
| 29 |
"task_type": "CAUSAL_LM",
|
| 30 |
"use_dora": false,
|
|
|
|
| 21 |
"target_modules": [
|
| 22 |
"v_proj",
|
| 23 |
"dense",
|
| 24 |
+
"q_proj",
|
| 25 |
"fc1",
|
| 26 |
+
"k_proj",
|
| 27 |
+
"fc2"
|
| 28 |
],
|
| 29 |
"task_type": "CAUSAL_LM",
|
| 30 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 94422368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcb82e6a2784bce669fcc617d39f0fdf0aa7c867190022550bb810bb11d5f1b8
|
| 3 |
size 94422368
|