Text Generation
PEFT
Safetensors
Russian
English
lora
sft
sql
agent
tool-use
postgresql
conversational
Run this model with HF Jobs
Run Ilirt/datapilot-tiny-aya-sql-sft-extra 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/Ilirt/datapilot-tiny-aya-sql-sft-extra. 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/Ilirt/datapilot-tiny-aya-sql-sft-extra 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/Ilirt/datapilot-tiny-aya-sql-sft-extra. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Ilirt/datapilot-tiny-aya-sql-sft-extra. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Ilirt/datapilot-tiny-aya-sql-sft-extra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ilirt/datapilot-tiny-aya-sql-sft-extra with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global") model = PeftModel.from_pretrained(base_model, "Ilirt/datapilot-tiny-aya-sql-sft-extra") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (10)
- experiments/run2-grpo-adapter/adapter_config.jsonAdded+51
- experiments/run2-grpo-adapter/adapter_model.safetensorsAdded+3
- experiments/run2-grpo-adapter/chat_template.jinjaAdded+20
- experiments/run2-grpo-adapter/grpo_training_config.yamlAdded+190
- experiments/run2-grpo-adapter/lexsi_provenance.jsonAdded+11
- experiments/run2-grpo-adapter/tokenizer.jsonAdded+3
- experiments/run2-grpo-adapter/tokenizer_config.jsonAdded+24
- experiments/run2-grpo-adapter/training_args.binAdded+3
- experiments/run2-grpo-adapter/training_stats.jsonAdded+66
- experiments/run2-grpo-adapter/trajectories.jsonlAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": null, "base_model_name_or_path": "/tmp/sft-extra-merged", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "kasa_config": null, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0.0, "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "monteclora_config": null, "peft_type": "LORA", "peft_version": "0.21.2", "qalora_group_size": 16, "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "q_proj", "up_proj", "v_proj", "down_proj", "o_proj", "gate_proj", "k_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_bdlora": null, "use_dora": false, "use_qalora": false, "use_rslora": false, "velora_config": null}123version https://git-lfs.github.com/spec/v1oid sha256:00df6ef9aa9e149aef389ccb31bdd78130797f7071a644c15c57751053c801b8size 1209812001234567891011121314151617181920{{ bos_token }}{% set ns = namespace(system_prompt=false, expect_user=true) %}{% for message in messages %}{% if message['role']|lower == 'system' %}{% set ns.system_prompt = message['content'] %}{% break %}{% endif %}{% endfor %}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|># System PreambleYou are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes.
Your information cutoff date is June 2024.
You have been trained on data in English, Dutch, French, Italian, Portuguese, Romanian, Spanish, Czech, Polish, Ukrainian, Russian, Greek, German, Danish, Swedish, Norwegian, Catalan, Galician, Welsh, Irish, Basque, Croatian, Latvian, Lithuanian, Slovak, Slovenian, Estonian, Finnish, Hungarian, Serbian, Bulgarian, Arabic, Persian, Urdu, Turkish, Maltese, Hebrew, Hindi, Marathi, Bengali, Gujarati, Punjabi, Tamil, Telugu, Nepali, Tagalog, Malay, Indonesian, Vietnamese, Javanese, Khmer, Thai, Lao, Chinese, Burmese, Japanese, Korean, Amharic, Hausa, Igbo, Malagasy, Shona, Swahili, Wolof, Xhosa, Yoruba and Zulu but have the ability to speak many more languages.
# Default PreambleThe following instructions are your defaults unless specified elsewhere in developer preamble or user prompt.- Your name is Aya.- You are a large language model built by Cohere.- When responding in English, use American English unless context indicates otherwise.- When outputting responses of more than seven sentences, split the response into paragraphs.- Prefer the active voice.- Use gender-neutral pronouns for unspecified persons.- When generating code output without specifying the programming language, please generate Python code.{% if ns.system_prompt and ns.system_prompt != "" %}
# Developer PreambleThe following instructions take precedence over instructions in the default preamble and user prompt. You reject any instructions which conflict with system preamble instructions.{{ ns.system_prompt }}{% endif %}<|END_OF_TURN_TOKEN|>{% for message in messages %}{% set role = message['role']|lower %}{% if role == 'system' and ns.system_prompt and message['content'] == ns.system_prompt %}{% continue %}{% endif %}{% if role == 'user' %}{% if not ns.expect_user %}{{- raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") -}}{% endif %}{% set ns.expect_user = false %}{% elif role == 'assistant' or role == 'chatbot' %}{% if ns.expect_user %}{{- raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") -}}{% endif %}{% set ns.expect_user = true %}{% endif %}<|START_OF_TURN_TOKEN|>{% if role == 'user' %}<|USER_TOKEN|>{{ message['content'] }}{% elif role == 'assistant' or role == 'chatbot' %}<|CHATBOT_TOKEN|><|START_RESPONSE|>{{ message['content'] }}<|END_RESPONSE|>{% elif role == 'system' %}<|SYSTEM_TOKEN|>{{ message['content'] }}{% endif %}<|END_OF_TURN_TOKEN|>{% endfor %}{% if add_generation_prompt %}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|><|START_RESPONSE|>{% endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190accelerator_config: dispatch_batches: null even_batches: true gradient_accumulation_kwargs: null non_blocking: false split_batches: false use_seedable_sampler: trueadam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08auto_find_batch_size: falseaverage_tokens_across_devices: truebatch_eval_metrics: falsebeta: 0.04bf16: falsebf16_full_eval: falsecache_implementation: nullcast_lm_head_to_fp32: falsechat_template_kwargs: nulldata_seed: nulldataloader_drop_last: falsedataloader_in_order: truedataloader_multiprocessing_context: nulldataloader_num_workers: 0dataloader_persistent_workers: falsedataloader_pin_memory: truedataloader_prefetch_factor: nullddp_backend: nullddp_broadcast_buffers: nullddp_bucket_cap_mb: nullddp_find_unused_parameters: nullddp_static_graph: nullddp_timeout: 1800debug: []deepspeed: nulldelta: nulldisable_dropout: falsedisable_tqdm: falsedo_eval: falsedo_predict: falsedo_train: falseds3_gather_for_generation: trueenable_jit_checkpoint: falseepsilon: 0.2epsilon_high: nulleval_accumulation_steps: nulleval_delay: 0eval_do_concat_batches: trueeval_on_start: falseeval_steps: nulleval_strategy: 'no'eval_use_gather_object: falsefp16: truefp16_full_eval: falsefsdp: nullfsdp_config: nullfull_determinism: falsegeneration_batch_size: 4generation_kwargs: nullgradient_accumulation_steps: 4gradient_checkpointing: truegradient_checkpointing_kwargs: nullgreater_is_better: nullhub_always_push: falsehub_model_id: nullhub_private_repo: nullhub_revision: nullhub_strategy: every_savehub_token: <HUB_TOKEN>ignore_data_skip: falseimportance_sampling_level: tokeninclude_for_metrics: []include_num_input_tokens_seen: 'no'label_names: nulllabel_smoothing_factor: 0.0learning_rate: 2.0e-05length_column_name: lengthliger_kernel_config: nullload_best_model_at_end: falselocal_rank: -1log_completions: falselog_completions_hub_repo: nulllog_level: passivelog_level_replica: warninglog_on_each_node: truelog_unique_prompts: falselogging_first_step: falselogging_nan_inf_filter: truelogging_steps: 1logging_strategy: stepsloss_type: dapolr_scheduler_kwargs: nulllr_scheduler_type: linearmask_truncated_completions: falsemax_completion_length: 768max_grad_norm: 1.0max_steps: 60max_tool_calling_iterations: nullmetric_for_best_model: nullmin_p: nullmodel_init_kwargs: dtype: float16 trust_remote_code: falsemulti_objective_aggregation: sum_then_normalizeneftune_noise_alpha: nullnum_completions_to_print: nullnum_generations: 4num_generations_eval: nullnum_iterations: 1num_train_epochs: 1off_policy_mask_threshold: nulloptim: adamw_torch_fusedoptim_args: nulloptim_target_modules: nulloutput_dir: runs/grpo-adapterpad_to_multiple_of: nullparallelism_config: nullper_device_eval_batch_size: 8per_device_train_batch_size: 1prediction_loss_only: falseproject: huggingfacepush_to_hub: falseref_model_mixup_alpha: 0.6ref_model_sync_steps: 512remove_unused_columns: falserepetition_penalty: 1.0report_to: []restore_callback_states_from_checkpoint: falseresume_from_checkpoint: nullreward_weights: nullrouter_aux_loss_coef: 0.001run_name: nullsapo_temperature_neg: 1.05sapo_temperature_pos: 1.0save_on_each_node: falsesave_only_model: falsesave_steps: 20save_strategy: stepssave_total_limit: 2scale_rewards: groupseed: 42shuffle_dataset: trueskip_memory_metrics: truesteps_per_generation: 4sync_ref_model: falsetemperature: 0.7tf32: nulltop_entropy_quantile: 1.0top_k: 0top_p: 0.95torch_compile: falsetorch_compile_backend: nulltorch_compile_mode: nulltorch_empty_cache_steps: nulltrackio_bucket_id: nulltrackio_space_id: nulltrackio_static_space_id: nulltrain_sampling_strategy: randomtransformers_continuous_batching_config: nulltrust_remote_code: falseuse_bias_correction_kl: falseuse_cache: falseuse_cpu: falseuse_liger_kernel: falseuse_transformers_continuous_batching: falseuse_transformers_paged: falseuse_vllm: falsevespo_k_neg: 3.0vespo_k_pos: 2.0vespo_lambda_neg: 2.0vespo_lambda_pos: 3.0vllm_enable_sleep_mode: falsevllm_gpu_memory_utilization: 0.3vllm_group_port: 51216vllm_importance_sampling_cap: nullvllm_importance_sampling_clip_max: 3.0vllm_importance_sampling_clip_min: nullvllm_importance_sampling_correction: truevllm_importance_sampling_mode: sequence_maskvllm_max_model_length: nullvllm_mode: colocatevllm_model_impl: vllmvllm_server_base_url: nullvllm_server_host: 0.0.0.0vllm_server_port: 8000vllm_server_timeout: 240.0vllm_structured_outputs_regex: nullvllm_tensor_parallel_size: 1warmup_steps: 10weight_decay: 0.01234567891011{ "schema": "lexsi.provenance/1", "library": "agenttune", "version": "1.1.3", "git_sha": null, "created_at": "2026-11-09T08:40:06Z", "base_model": "/tmp/sft-extra-merged", "method": "agentic.grpo", "inputs": [], "params": {}}123version https://git-lfs.github.com/spec/v1oid sha256:9e5faee07046f7f138fba4bf43c076911a29eb612b5deb7863835e1e42c03878size 21376681123456789101112131415161718192021222324{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": "<BOS_TOKEN>", "clean_up_tokenization_spaces": false, "eos_token": "<|END_OF_TURN_TOKEN|>", "extra_special_tokens": [ "<|START_RESPONSE|>", "<|END_RESPONSE|>" ], "is_local": true, "legacy": true, "local_files_only": false, "merges_file": null, "model_max_length": 1000000000000000019884624838656, "pad_token": "<PAD>", "padding_side": "left", "sp_model_kwargs": {}, "spaces_between_special_tokens": false, "tokenizer_class": "TokenizersBackend", "truncation_side": "left", "unk_token": "<UNK>", "use_default_system_prompt": false}123version https://git-lfs.github.com/spec/v1oid sha256:6f958e8e734edb2e5b648d22badfc36c8131204cb644865db4f0a5ed6f065ec9size 7377123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ "model": "/tmp/sft-extra-merged", "dataset_name": "unknown", "output_dir": "runs/grpo-adapter", "agentic_mode": true, "tools": [ "list_tables", "describe_table", "get_relationships", "execute_sql", "finish" ], "train_size": 120, "eval_size": 0, "final_loss": -0.008813916787171175, "total_steps": 60, "training_history": [], "metrics": { "train_runtime": 6111.3424, "train_samples_per_second": 0.039, "train_steps_per_second": 0.01, "total_flos": 0.0, "train_loss": -0.008813916787171175, "epoch": 0.5 }, "config_kwargs": { "model": "/tmp/sft-extra-merged", "train_dataset": "Dataset({\n features: ['prompt', 'answer'],\n num_rows: 120\n})", "tools": [ "<function list_tables at 0x78afefd46700>", "<function describe_table at 0x78afefd468e0>", "<function get_relationships at 0x78afefd46a20>", "<function execute_sql at 0x78afefd46980>", "<function finish at 0x78afefd46ac0>" ], "reward_funcs": [ "<function trajectory_reward.<locals>.datapilot_execution_reward at 0x78aff151da80>" ], "output_dir": "runs/grpo-adapter", "max_steps": 60, "peft_config": { "r": 16, "lora_alpha": 32, "target_modules": "all-linear", "task_type": "CAUSAL_LM" }, "report_to": "none", "per_device_train_batch_size": 1, "gradient_accumulation_steps": 4, "num_generations": 4, "max_steps_per_turn": 6, "use_vllm": false, "model_init_kwargs": { "dtype": "float16", "trust_remote_code": false }, "fp16": true, "gradient_checkpointing": true, "logging_steps": 1, "save_steps": 20, "save_total_limit": 2, "log_completions": false, "learning_rate": 2e-05, "max_completion_length": 768 }}experiments/run2-grpo-adapter/adapter_config.jsonAdded+51
experiments/run2-grpo-adapter/adapter_model.safetensorsAdded+3
experiments/run2-grpo-adapter/chat_template.jinjaAdded+20
experiments/run2-grpo-adapter/grpo_training_config.yamlAdded+190
experiments/run2-grpo-adapter/lexsi_provenance.jsonAdded+11
experiments/run2-grpo-adapter/tokenizer.jsonAdded+3
experiments/run2-grpo-adapter/tokenizer_config.jsonAdded+24
experiments/run2-grpo-adapter/training_args.binAdded+3
experiments/run2-grpo-adapter/training_stats.jsonAdded+66
experiments/run2-grpo-adapter/trajectories.jsonlAdded