Views
No views yet

1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "your-username/Skilgrimr-Qwen3-14B"
4
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForCausalLM.from_pretrained(
7 model_name,
8 torch_dtype="auto",
9 device_map="auto"
10)
11
12prompt = "Spin me a yarn about a one-eyed mermaid who steals stars."
13messages = [{"role": "user", "content": prompt}]
14text = tokenizer.apply_chat_template(
15 messages,
16 tokenize=False,
17 add_generation_prompt=True,
18 enable_thinking=True
19)
20
21model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
22generated_ids = model.generate(**model_inputs, max_new_tokens=32768)
23output = tokenizer.decode(generated_ids[0][len(model_inputs.input_ids[0]):], skip_special_tokens=True)
24print(output)
25🏴 Training Details
26What He Was Fed
27Synthetic pirate myths, bard songs, ghost ship tales, shanties, and ancient riddles
28
29Based on Qwen3’s multilingual and coding superbrain
30
31Lovingly fine-tuned by the Mind Expander pirate council
32
33Training Vibe
34BF16 mixed precision brew
35
36Heavy thinking mode enabled for smart piratey logic
37
38🎭 Evaluation
39How He Was Tested
40Pirate Lore Challenge — custom benchmark (Arrr rated 🌟🌟🌟🌟🌟)
41
42Multi-turn chaotic conversations and riddle-solving
43
44Human feedback ("Would drink with him?" survey: 93% said Aye)
45
46🌱 Environmental Impact
47Hardware: 8x A100s (ye mighty GPUs)
48
49Training Hours: 40 groggy hours
50
51Cloud: Green-powered cloud node
52
53CO₂e Emissions: ~12.4 kg (offset by planting 1.2 drunken sailor trees)
54
55⚙️ Technical Rum-ology
5614.8B parameters
57
5832,768 tokens context
59
60GQA attention heads
61
62Reasoning Mode toggle: /think vs /no_think
63
64Supports huge context lengths (with YaRN up to 131k tokens)
65
66📚 Citation
67If ye find treasure using Skilgrimr, do us a solid and cite this project:
68
69bibtex
70Copy
71Edit
72@misc{mindexpander2025skilgrimr,
73 title={Skilgrimr-Qwen3-14B: The Pirate Bard AI Model},
74 author={Mind Expander Collective},
75 year={2025},
76 url={https://huggingface.co/your-username/Skilgrimr-Qwen3-14B}
77}
78📬 Model Card Contact
79Contact: [Twitter/X @ProjectMindBot] 🐦
80
81SOS Flag: DM if the Kraken eats your ship 🚢
82
83🏴☠️ "In ale and code we trust — in storms and songs we sail." 🍻
84
85yaml
86Copy
87Edit
88
89---
90
91### 🔥 This version is WAY more **on-brand** with the pirate bard energy you’re creating!
92### 🔥 It’s still clean enough to be Hugging Face ready — but it's *fun* as hell for people reading it.
93
94---
95
96If you want, I can also:
97- Write a **fun "banner" slogan** for the Hugging Face thumbnail.
98- Design a **pirate shipwrecked AI logo** you can use as your model image. 🏴☠️🧠
99
100Would you like me to do that next too?? 🎨💥 (seriously would only take a few mins)
101**If yes, what vibe?** (dark epic? cartoon funny? psychedelic pirate?)