Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Phind-Codefuse-34B.Q2_K.gguf | Q2_K | 11.65GB |
| Phind-Codefuse-34B.IQ3_XS.gguf | IQ3_XS | 12.93GB |
| Phind-Codefuse-34B.IQ3_S.gguf | IQ3_S | 13.65GB |
| Phind-Codefuse-34B.Q3_K_S.gguf | Q3_K_S | 13.6GB |
| Phind-Codefuse-34B.IQ3_M.gguf | IQ3_M | 14.18GB |
| Phind-Codefuse-34B.Q3_K.gguf | Q3_K | 15.19GB |
| Phind-Codefuse-34B.Q3_K_M.gguf | Q3_K_M | 15.19GB |
| Phind-Codefuse-34B.Q3_K_L.gguf | Q3_K_L | 16.55GB |
| Phind-Codefuse-34B.IQ4_XS.gguf | IQ4_XS | 16.99GB |
| Phind-Codefuse-34B.Q4_0.gguf | Q4_0 | 17.74GB |
| Phind-Codefuse-34B.IQ4_NL.gguf | IQ4_NL | 17.92GB |
| Phind-Codefuse-34B.Q4_K_S.gguf | Q4_K_S | 17.87GB |
| Phind-Codefuse-34B.Q4_K.gguf | Q4_K | 18.83GB |
| Phind-Codefuse-34B.Q4_K_M.gguf | Q4_K_M | 18.83GB |
| Phind-Codefuse-34B.Q4_1.gguf | Q4_1 | 19.69GB |
| Phind-Codefuse-34B.Q5_0.gguf | Q5_0 | 21.64GB |
| Phind-Codefuse-34B.Q5_K_S.gguf | Q5_K_S | 21.64GB |
| Phind-Codefuse-34B.Q5_K.gguf | Q5_K | 22.2GB |
| Phind-Codefuse-34B.Q5_K_M.gguf | Q5_K_M | 22.2GB |
| Phind-Codefuse-34B.Q5_1.gguf | Q5_1 | 23.59GB |
| Phind-Codefuse-34B.Q6_K.gguf | Q6_K | 25.78GB |
| Phind-Codefuse-34B.Q8_0.gguf | Q8_0 | 33.39GB |
1models:
2 - model: Phind/Phind-CodeLlama-34B-v2
3 parameters:
4 density: 0.5
5 weight: 0.6
6 # No parameters necessary for base model
7 - model: codefuse-ai/CodeFuse-CodeLlama-34B
8 parameters:
9 density: 0.5
10 weight: 0.4
11merge_method: task_arithmetic
12base_model: Phind/Phind-CodeLlama-34B-v2
13parameters:
14 int8_mask: true
15dtype: bfloat161!pip install -qU transformers accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "saucam/Phind-Codefuse-34B"
8messages = [{"role": "user", "content": "What is a large language model?"}]
9
10tokenizer = AutoTokenizer.from_pretrained(model)
11prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12pipeline = transformers.pipeline(
13 "text-generation",
14 model=model,
15 torch_dtype=torch.float16,
16 device_map="auto",
17)
18
19outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
20print(outputs[0]["generated_text"])