Run this model with HF Jobs
Run Padmini1/adaption_numeric_fact_checker_v2 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/Padmini1/adaption_numeric_fact_checker_v2. 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/Padmini1/adaption_numeric_fact_checker_v2 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.
Instructions to use Padmini1/adaption_numeric_fact_checker_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Padmini1/adaption_numeric_fact_checker_v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Base") model = PeftModel.from_pretrained(base_model, "Padmini1/adaption_numeric_fact_checker_v2") - Notebooks
- Google Colab
- Kaggle
adaption_numeric_fact_checker_v2
Model Training
A LORA adapter for Qwen/Qwen3-4B-Base. This model was trained with SFT using Adaption's AutoScientist on the numeric_fact_checker_v2 dataset.
AutoScientist Config
{
"job_id": "4b3f7cf0-f1f7-4bb3-9582-2ba620425c6d",
"training_experiment_id": "15f2c508-c67e-4df2-a403-7e976248fca0",
"original_model_name": "Qwen/Qwen3-4B-Base",
"trained_model_name": "adaption_numeric_fact_checker_v2",
"training_method": "sft",
"training_type": "lora",
"data_format": "chat",
"hyperparams": {
"lora": "true",
"lora_r": 32,
"n_evals": 5,
"n_epochs": 4,
"batch_size": 8,
"lora_alpha": 64,
"lora_dropout": 0,
"min_lr_ratio": 0.1,
"warmup_ratio": 0.1,
"weight_decay": 0.01,
"learning_rate": 0.00006,
"max_grad_norm": 1,
"base_model_size": "4B",
"train_on_inputs": "false",
"training_method": "sft",
"lr_scheduler_type": "cosine",
"scheduler_num_cycles": 0.5,
"lora_trainable_modules": "k_proj,up_proj,o_proj,q_proj,down_proj,v_proj,gate_proj"
}
}
Training Data
The model was trained on 10,878 rows of adapted data with the following domain distribution: math (66%), market-analysis (7%), academic-education (6%), code (4%), data-analysis-visualization (4%), technology (3%), writing-editing-communication (3%), legal (1%), culture (1%), medical (1%), how-to (1%), corporate-business (0%), personal-finance (0%), science (0%).
Model Evaluation
The model was evaluated on an in-distribution held-out test set as well as a broader domain-specific test set to measure generalization.
How to use
pip install torch transformers peft accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
from peft import PeftModel
BASE = "Qwen/Qwen3-4B-Base"
ADAPTER = "Padmini1/adaption_numeric_fact_checker_v2"
base = AutoModelForCausalLM.from_pretrained(BASE, dtype="auto", device_map="auto")
# Merge the LoRA weights into the base for faster inference
model = PeftModel.from_pretrained(base, ADAPTER).merge_and_unload()
model.eval()
tokenizer = AutoTokenizer.from_pretrained(BASE)
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
messages = [{"role": "user", "content": "Hello!"}]
out = pipe(messages, max_new_tokens=512, do_sample=True, temperature=0.6)
print(out[0]["generated_text"][-1]["content"])
- Downloads last month
- -
Model tree for Padmini1/adaption_numeric_fact_checker_v2
Base model
Qwen/Qwen3-4B-Base
