Run this model with HF Jobs
Run KS150/test105-7 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/KS150/test105-7. 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/KS150/test105-7 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/KS150/test105-7. 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/KS150/test105-7. 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 KS150/test105-7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KS150/test105-7 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from KS150/test105-7: direct link, hf CLI and curl.
- Browser
- Download file 1.73 kB
-
https://huggingface.co/KS150/test105-7/resolve/main/README.md
- Command line
-
hf download hf://KS150/test105-7/README.md
-
curl -L -o README.md https://huggingface.co/KS150/test105-7/resolve/main/README.md
1.73 kB
| base_model: Qwen/Qwen2.5-7B-Instruct | |
| datasets: | |
| - u-10bei/dbbench_sft_dataset_react_v4 | |
| language: | |
| - en | |
| license: apache-2.0 | |
| library_name: peft | |
| pipeline_tag: text-generation | |
| tags: | |
| - lora | |
| - agent | |
| - tool-use | |
| - alfworld | |
| - dbbench | |
| # qwen3-4b-agent-trajectory-lora | |
| This repository provides a **LoRA adapter** fine-tuned from | |
| **Qwen/Qwen2.5-7B-Instruct** using **LoRA + Unsloth**. | |
| This repository contains **LoRA adapter weights only**. | |
| The base model must be loaded separately. | |
| ## Training Objective | |
| This adapter is trained to improve **multi-turn agent task performance** | |
| on ALFWorld (household tasks) and DBBench (database operations). | |
| Loss is applied to **all assistant turns** in the multi-turn trajectory, | |
| enabling the model to learn environment observation, action selection, | |
| tool use, and recovery from errors. | |
| ## Training Configuration | |
| - Base model: Qwen/Qwen2.5-7B-Instruct | |
| - Method: LoRA (full precision base) | |
| - Max sequence length: 2048 | |
| - Epochs: 2 | |
| - Learning rate: 1e-05 | |
| - LoRA: r=64, alpha=256 | |
| ## Usage | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| from peft import PeftModel | |
| import torch | |
| base = "Qwen/Qwen2.5-7B-Instruct" | |
| adapter = "your_id/your-repo" | |
| tokenizer = AutoTokenizer.from_pretrained(base) | |
| model = AutoModelForCausalLM.from_pretrained( | |
| base, | |
| torch_dtype=torch.float16, | |
| device_map="auto", | |
| ) | |
| model = PeftModel.from_pretrained(model, adapter) | |
| ``` | |
| ## Sources & Terms (IMPORTANT) | |
| Training data: u-10bei/dbbench_sft_dataset_react_v4 | |
| Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License. | |
| Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use. | |