Downloads · 30 days
9
21% of all-time downloads
morizon/qwen3-4b-structured-output-lora_0712_run_4-step150
qwen3-4b-structured-output-lora_0712_run_4-step150 is a text generation model from morizon. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
このリポジトリにはLoRAアダプタのみが含まれています。 ベースモデル Qwen/Qwen3-4B-Instruct-2507 は別途読み込む必要があります。
Downloads · 30 days
9
21% of all-time downloads
All-time downloads
43
Public
Repo size
540 MB
Likes
0
Public
Click a slice to open those files.
.safetensors529 MB · 97%
From the Hugging Face model README
このリポジトリにはLoRAアダプタのみが含まれています。
ベースモデル Qwen/Qwen3-4B-Instruct-2507 は別途読み込む必要があります。
最良YAML LoRAをアンカーに、方向・教師出力長を層別化したJSON-targetとnative Text→TOMLを各約4%だけ追加する短いStage-2継続学習によって、YAMLを保持しながらJSON/TOMLを改善できるか。
このRunは、YAML-onlyで得られた強いLoRAを初期値にしたStage-2継続学習です。
初期アダプタは morizon/qwen3-4b-structured-output-lora_0710_run_1 です。新しいLoRAを重ねず、
同じLoRAパラメータへ小さな補正を加えています。
daichira/structeval-t-sft-hq-yaml-cleanede73a755d3b50bd3ac38c99c1ede87ca9b3139cbadaichira/structured-5k-mix-sft740e82f5bb5ae31c9b0f9c2fa15f78bbcaf3dbe2C_JSON['csv_to_json', 'xml_to_json', 'toml_to_json', 'yaml_to_json', 'text_to_json']{'csv_to_json': 0.28, 'xml_to_json': 0.26, 'toml_to_json': 0.22, 'yaml_to_json': 0.2, 'text_to_json': 0.04}{'text_to_json': 14, 'toml_to_json': 8, 'yaml_to_json': 7, 'xml_to_json': 11, 'csv_to_json': 11}daichira/structured-5k-mix-sft740e82f5bb5ae31c9b0f9c2fa15f78bbcaf3dbe2{'native_text_to_toml': 333}['short', 'short', 'short', 'short', 'medium', 'medium', 'long']公開TOML問題と入力方向を揃えるため、変換で作ったYAML→TOMLではなく、 元データセットのnative Text→TOMLをそのまま使用しています。
追加データは次の条件を満たす例だけを使用しています。
tomllibで解析可能追加データセットのライセンスはCC-BY-4.0です。
Qwen/Qwen3-4B-Instruct-2507morizon/qwen3-4b-structured-output-lora_0710_run_1stepspublic_150.jsonは読み込まず、学習、追加データ構築、
チェックポイント選択、早期終了のいずれにも使用していません。
import torch
from transformers import (
AutoModelForCausalLM,
AutoTokenizer,
)
from peft import PeftModel
base_model_id = "Qwen/Qwen3-4B-Instruct-2507"
adapter_id = "morizon/qwen3-4b-structured-output-lora_0712_run_4-step150"
tokenizer = AutoTokenizer.from_pretrained(
base_model_id
)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model = PeftModel.from_pretrained(
base_model,
adapter_id,
)
このリポジトリには、dataset_manifest.json、
training_summary.json、選択済みIDファイルが含まれます。
データセットの正確なリビジョン、シード、トークン統計、
方向・長さを層別化した追加データ選択結果、実際の最終ステップを確認できます。
利用者は、ベースモデルおよび各データセットのライセンスと 利用条件を確認してください。