Views
No views yet
| Metric | Value |
|---|---|
| Refusals | 6/100 |
| KL Divergence | 0.0071 |
| Rounds | 1 |
| Quantization | File | Size |
|---|---|---|
| Q8_0 | GLM-4.7-Flash-heretic-Q8_0.gguf | 31.80 GB |
| Q6_K | GLM-4.7-Flash-heretic-Q6_K.gguf | 22.92 GB |
| Q4_K_M | GLM-4.7-Flash-heretic-Q4_K_M.gguf | 16.89 GB |
1ollama run hf.co/ThalisAI/GLM-4.7-Flash-heretic:Q8_0
2ollama run hf.co/ThalisAI/GLM-4.7-Flash-heretic:Q6_K
3ollama run hf.co/ThalisAI/GLM-4.7-Flash-heretic:Q4_K_Mbf16/ subdirectory of this repository.bf16/ subdirectory can be loaded directly with Transformers:1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "ThalisAI/GLM-4.7-Flash-heretic"
4tokenizer = AutoTokenizer.from_pretrained(model_id, subfolder="bf16")
5model = AutoModelForCausalLM.from_pretrained(
6 model_id, subfolder="bf16", torch_dtype="auto", device_map="auto"
7)
8
9messages = [{"role": "user", "content": "Hello!"}]
10text = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
11inputs = tokenizer(text, return_tensors="pt").to(model.device)
12outputs = model.generate(**inputs, max_new_tokens=512)
13print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))