Instructions to use VPCSinfo/odoo17-sqlcoder-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use VPCSinfo/odoo17-sqlcoder-7b with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("VPCSinfo/odoo17-sqlcoder-7b", set_active=True) - Notebooks
- Google Colab
- Kaggle
Upload config.yaml with huggingface_hub
Browse files- config.yaml +7 -0
config.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
database_schema: "\nCREATE TABLE res_partner (\n id INTEGER PRIMARY KEY, \n \
|
| 2 |
+
\ name VARCHAR(255),\n email VARCHAR(255),\n phone VARCHAR(64)\n);\nCREATE\
|
| 3 |
+
\ TABLE sale_order (\n id INTEGER PRIMARY KEY,\n partner_id INTEGER REFERENCES\
|
| 4 |
+
\ res_partner(id),\n date_order TIMESTAMP,\n state VARCHAR(20),\n amount_total\
|
| 5 |
+
\ NUMERIC\n);\n"
|
| 6 |
+
query_question: Find all customers who have orders with a total amount greater than
|
| 7 |
+
1000
|