Text Generation
PEFT
Safetensors
English
lora
qlora
sft
trl
text-to-sql
sql
conversational
Eval Results (legacy)
Instructions to use SASVAAI/GLM-4.7-Flash-sql-create-context with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SASVAAI/GLM-4.7-Flash-sql-create-context with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("zai-org/GLM-4.7-Flash") model = PeftModel.from_pretrained(base_model, "SASVAAI/GLM-4.7-Flash-sql-create-context") - Notebooks
- Google Colab
- Kaggle
Download LICENSE from SASVAAI/GLM-4.7-Flash-sql-create-context: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/SASVAAI/GLM-4.7-Flash-sql-create-context/resolve/main/LICENSE
- Command line
-
hf download hf://SASVAAI/GLM-4.7-Flash-sql-create-context/LICENSE
-
curl -L -o LICENSE https://huggingface.co/SASVAAI/GLM-4.7-Flash-sql-create-context/resolve/main/LICENSE
1.63 kB
| These LoRA adapter weights are released under the MIT License, matching the | |
| license declared by the base model, zai-org/GLM-4.7-Flash. Note that the base | |
| model's repository declares `mit` in its metadata but does not itself ship a | |
| LICENSE file; the standard MIT text is reproduced below and applies to this | |
| adapter. | |
| The training data is derived from b-mc2/sql-create-context, which is licensed | |
| CC-BY-4.0. That license is not superseded by this one — downstream use of these | |
| weights should carry its attribution requirement. | |
| --- | |
| MIT License | |
| Copyright (c) 2026 SASVA AI Model Cognition Labs (MCL) | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all | |
| copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| SOFTWARE. | |