Run this model with HF Jobs
Run Tehma/text2sql-qwen2.5-coder-3b-onnx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Tehma/text2sql-qwen2.5-coder-3b-onnx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Tehma/text2sql-qwen2.5-coder-3b-onnx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Tehma/text2sql-qwen2.5-coder-3b-onnx. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use Tehma/text2sql-qwen2.5-coder-3b-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Tehma/text2sql-qwen2.5-coder-3b-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'Tehma/text2sql-qwen2.5-coder-3b-onnx');
Download config.json from Tehma/text2sql-qwen2.5-coder-3b-onnx: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/Tehma/text2sql-qwen2.5-coder-3b-onnx/resolve/main/config.json
- Command line
-
hf download hf://Tehma/text2sql-qwen2.5-coder-3b-onnx/config.json
-
curl -L -o config.json https://huggingface.co/Tehma/text2sql-qwen2.5-coder-3b-onnx/resolve/main/config.json
1.74 kB
| { | |
| "architectures": [ | |
| "Qwen2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 151643, | |
| "dtype": "float16", | |
| "eos_token_id": 151645, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 11008, | |
| "layer_types": [ | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention", | |
| "full_attention" | |
| ], | |
| "max_position_embeddings": 32768, | |
| "max_window_layers": 36, | |
| "model_type": "qwen2", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 2, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000.0, | |
| "sliding_window": null, | |
| "tie_word_embeddings": true, | |
| "transformers_version": "4.57.6", | |
| "use_cache": true, | |
| "use_sliding_window": false, | |
| "vocab_size": 151936, | |
| "transformers.js_config": { | |
| "kv_cache_dtype": { | |
| "q4f16": "float16", | |
| "fp16": "float16" | |
| }, | |
| "dtype": "q4f16", | |
| "use_external_data_format": true | |
| } | |
| } |