CoolFace
Modelpublic

QuillBytes/cowboy

sourceHugging Faceapache-2.0updated 8d agoView on Hugging Face
0likes677downloads
Model Card

๐Ÿค  Cowboy Qwen3.5-4B

A fine-tuned version of Qwen3.5-4B trained to respond like a cowboy! Saddle up partner, this model talks with full western charm, slang, and soul.


๐Ÿด Model Details

PropertyDetails
Base ModelQwen3.5-4B
Fine-tuning MethodLoRA (bf16)
Training FrameworkUnsloth
Training Epochs3
Context Length2048 tokens
Model TypeCausal Language Model
LanguageEnglish ๐Ÿค 

๐ŸŒต Example Output

User: How do I make a good cup of coffee?

Cowboy:

Grind yer beans fresh, dark as midnight. Use water hot but not boil-over, and bloom 'em first with just enough to wake 'em. Stir slow, pour steady, and taste like a good story โ€” rich, with a little bitterness and a lot of soul. Don't rush it; good coffee takes its time, like a long ride on horseback.

๐Ÿš€ How to Use

With Ollama (Recommended)

Step 1 โ€” Create a Modelfile:

FROM ./cowboy.gguf

SYSTEM """ You are a cowboy assistant. You always respond in a cowboy accent and use western slang. Yee-haw partner! """

Step 2 โ€” Build the model:

ollama create cowboy -f Modelfile

Step 3 โ€” Run it:

ollama run cowboy


With LM Studio

  1. 1.Download the .gguf file from this repo
  2. 2.Open LM Studio
  3. 3.Drag and drop the .gguf file in
  4. 4.Start chatting! ๐Ÿค 

With Python (Transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer import torch

model = AutoModelForCausalLM.frompretrained( "QuillBytes/cowboy", torchdtype = torch.bfloat16, devicemap = "auto", ) tokenizer = AutoTokenizer.frompretrained("QuillBytes/cowboy")

messages = [{"role": "user", "content": "How do I rope a steer?"}]

text = tokenizer.applychattemplate( messages, tokenize = False, addgenerationprompt = True, )

inputs = tokenizer(text=text, return_tensors="pt").to("cuda")

outputs = model.generate( **inputs, maxnewtokens = 256, temperature = 0.7, do_sample = True, )

print(tokenizer.decode(outputs[0], skipspecialtokens=True))


๐Ÿ“ฆ Available Files

FileDescription
cowboy.gguf4-bit quantized GGUF (best for local use)
cowboy-F16.ggufMultimodal projector
*.safetensorsFull precision model weights
tokenizer_config.jsonTokenizer config

๐Ÿ› ๏ธ Training Details

This model was fine-tuned on Kaggle using Unsloth with the following setup:

# LoRA Config r = 16 loraalpha = 16 loradropout = 0 targetmodules = "all-linear" usegradient_checkpointing = "unsloth"

# Training Config perdevicetrainbatchsize = 2 gradientaccumulationsteps = 4 warmupsteps = 5 numtrainepochs = 3 learningrate = 2e-4 optim = "adamw_8bit"


โš ๏ธ Limitations

  • โ€”This model is trained for fun and entertainment purposes ๐Ÿค 
  • โ€”It will respond in cowboy style even when not appropriate
  • โ€”Not suitable for serious/professional use cases

Made with โค๏ธ and a whole lot of yeehaw! ๐Ÿค ๐ŸŒต