Downloads · 30 days
18
3% of all-time downloads
austindixson/glm-4.7-flash-Opus-Reasoning
glm-4.7-flash-Opus-Reasoning is a text generation model from austindixson. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Best checkpoint from training run - Eval Loss: 0.1504
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
686
Public
Parameters
29.9B
59.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors59.9 GB · 100%
How the weights are stored.
BF1629.9B · 100%
From the Hugging Face model README
Best checkpoint from training run - Eval Loss: 0.1504
This is a fine-tuned version of GLM-4.7-Flash (30.4B parameters, Mixture of Experts) trained on a curated dataset focused on:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"austindixson/glm-4.7-flash-Opus-Reasoning",
device_map="auto",
torch_dtype=torch.bfloat16,
)
tokenizer = AutoTokenizer.from_pretrained("austindixson/glm-4.7-flash-Opus-Reasoning")
# Generate
prompt = "Write a function to merge two sorted lists:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model uses the GLM-4 chat template with thinking mode:
messages = [
{"role": "user", "content": "What is 2+2?"}
]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
This model was fine-tuned on datasets licensed under Apache 2.0:
Primary Sources:
✅ Excellent for:
Apache 2.0
Dataset Sources:
Model trained by austindixson using Unsloth QLoRA