Text Generation
Transformers.js
ONNX
Safetensors
English
qwen2
text-to-sql
duckdb
webgpu
conversational
Instructions to use MidlightDDK/pocketsql-0.5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use MidlightDDK/pocketsql-0.5b with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'MidlightDDK/pocketsql-0.5b');
Download generation_config.json from MidlightDDK/pocketsql-0.5b: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/MidlightDDK/pocketsql-0.5b/resolve/main/generation_config.json
- Command line
-
hf download hf://MidlightDDK/pocketsql-0.5b/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/MidlightDDK/pocketsql-0.5b/resolve/main/generation_config.json
243 Bytes
| { | |
| "bos_token_id": 151643, | |
| "pad_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "repetition_penalty": 1.05, | |
| "temperature": 0.7, | |
| "top_p": 0.8, | |
| "top_k": 20, | |
| "transformers_version": "4.43.1" | |
| } | |