Views
No views yet
Note:This project represents independent research conducted on personal compute resources (rented from Modal.com) and is not associated with my employer or organization
<think>...</think>) in generation| File | Description |
|---|---|
config.json | Model architecture configuration |
generation_config.json | Generation parameters |
model-*.safetensors | Model weights (sharded across 4 files) |
model.safetensors.index.json | Weight shard index |
tokenizer.json | Tokenizer |
tokenizer_config.json | Tokenizer configuration |
vocab.json | Vocabulary |
merges.txt | BPE merges |
added_tokens.json | Special/added tokens |
special_tokens_map.json | Special token mapping |
chat_template.jinja | Chat template (Jinja) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "edwixx/qwen3-8b-triton-finetune",
5 torch_dtype="bfloat16",
6 device_map="auto"
7)
8tokenizer = AutoTokenizer.from_pretrained("edwixx/qwen3-8b-triton-finetune")
9
10messages = [
11 {"role": "system", "content": "You are a helpful assistant."},
12 {"role": "user", "content": "Explain what fine-tuning with Triton means."}
13]
14
15text = tokenizer.apply_chat_template(
16 messages,
17 tokenize=False,
18 add_generation_prompt=True
19)
20
21inputs = tokenizer(text, return_tensors="pt").to(model.device)
22outputs = model.generate(**inputs, max_new_tokens=512)
23print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@misc{edwixx-qwen3-8b-triton-finetune,
2 author = {Anurag Kanade},
3 title = {qwen3-8b-triton-finetune},
4 year = {2026},
5 publisher = {Hugging Face},
6 journal = {Hugging Face Hub},
7 howpublished = {\url{https://huggingface.co/edwixx/qwen3-8b-triton-finetune}}
8}