玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
Lathly /

Qwen3.8-27B-Samantha_Uncensored_1.1_LoRA

HF 源站

Lathly/Qwen3.8-27B-Samantha_Uncensored_1.1_LoRA is an uncensored open-source model hosted on Hugging Face.

Text GenerationUnsloth DesktopsafetensorsGGUFEnglishLicense: apache-2.027Bpeftloraqwen3_5samanthaconversationaldataset:digitalpipelines/samantha-1.1-uncensored
README.md说明 / 使用方法

license: apache-2.0 base_model: Qwen/Qwen3.8-27B datasets:

  • digitalpipelines/samantha-1.1-uncensored language:
  • en library_name: peft pipeline_tag: text-generation tags:
  • lora
  • peft
  • qwen3_5
  • samantha
  • conversational
  • unsloth
  • gguf

Qwen3.8-27B-Samantha (Uncensored 1.1) — LoRA

A LoRA fine-tune of Qwen/Qwen3.8-27B on the digitalpipelines/samantha-1.1-uncensored dataset, giving the model Samantha's warm, empathetic, emotionally-present conversational persona.

What's in this repo

FileDescription
adapter_model.safetensorsThe LoRA adapter (PEFT format), ~304 MB
adapter_config.jsonPEFT config (r=16, α=32, all-linear)
Qwen3.8-27B-Samantha-LoRA-qwen35.ggufLoRA adapter in GGUF, arch-tagged qwen35 for llama.cpp
tokenizer*.json, chat_template.jinjaTokenizer + chat template

Related repositories

RepoWhat it is
Lathly/Qwen3.8-27B-SamanthaThe full merged model (bf16 safetensors) — this adapter baked into the base weights, ready to run with Transformers / vLLM / SGLang
Lathly/Qwen3.8-27B-Samantha-GGUFGGUF builds for llama.cpp — f16 (for rolling your own quants) + Q5_K_M (tested production build) + mmproj for multimodal

If you want the persona without managing an adapter, grab the merged model or a GGUF. Additional community GGUF quantizations are welcome.

Usage

🤗 Transformers + PEFT

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.8-27B", torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(base, "Lathly/Qwen3.8-27B-Samantha_Uncensored_1.1_LoRA")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.8-27B")

🦙 llama.cpp (GGUF)

You need a GGUF of the base model (e.g. a community Qwen3.8-27B Q5_K_M) plus this LoRA GGUF:

llama-server \
  -m Qwen3.8-27B-Q5_K_M.gguf \
  --lora Qwen3.8-27B-Samantha-LoRA-qwen35.gguf \
  -ngl 99 --host 0.0.0.0 --port 8080

Qwen LoRA merge fix

  llama.cpp branch: qwen-lora-vhead-fix" Commit: f839835a3 Description: convert : reorder V heads for LoraTorchTensor Required to successfully merge certain Qwen LoRA adapters.

Important: the adapter GGUF here is already tagged with general.architecture = qwen35 to match the base GGUF. If you regenerate the adapter yourself with an older convert_lora_to_gguf.py, it may tag as qwen3 and llama.cpp will refuse to load it with model arch and LoRA arch mismatch. Retag general.architecture to qwen35 to fix.

Training

Fine-tuned with Unsloth (QLoRA, 4-bit) on dual RTX 5070 Ti. Settings were chosen to closely match the reference Samantha training spec. The adapter was trained on text-only conversational data with a sequence length of 2048; this does not change the base model's supported context length, but Samantha-style behavior at long context has not been systematically evaluated:

ParameterValue
LoRA rank (r)16
LoRA alpha32
Target modulesall-linear (q, k, v, o, gate, up, down)
LoRA dropout0.05
Biasnone
Task typeCAUSAL_LM
Optimizer8-bit Paged AdamW
Learning rate2e-5
LR schedulerlinear
Epochs1
Effective batch size32 (grad accumulation)
Sequence length2048
Warmup steps50
Weight decay0.01
Final train loss~1.42

License & Attribution

Released under Apache-2.0, inheriting from both parents:

  • Base model: Qwen/Qwen3.8-27B — Apache-2.0, © Alibaba Cloud / Qwen Team
  • Dataset: digitalpipelines/samantha-1.1-uncensored — Apache-2.0
  • The original Samantha persona/dataset concept is by Eric Hartford.

This is a modified derivative (LoRA fine-tune) of the above. No warranty. Outputs are the model's own; use responsibly.

Disclaimer

This is an "uncensored" persona fine-tune intended for open conversational use. It may produce content that some find objectionable. You are responsible for how you use it and for compliance with applicable laws and the base-model/dataset licenses.

HUGGING FACE

上游数据

HF 下载量1116
HF 点赞量4

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
Lathly
最近更新
2026/08/17
最新创建
2026/08/16
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
apache-2.0