Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| quantum-dpo-v0.1.Q2_K.gguf | Q2_K | 2.53GB |
| quantum-dpo-v0.1.IQ3_XS.gguf | IQ3_XS | 2.81GB |
| quantum-dpo-v0.1.IQ3_S.gguf | IQ3_S | 2.96GB |
| quantum-dpo-v0.1.Q3_K_S.gguf | Q3_K_S | 2.95GB |
| quantum-dpo-v0.1.IQ3_M.gguf | IQ3_M | 3.06GB |
| quantum-dpo-v0.1.Q3_K.gguf | Q3_K | 3.28GB |
| quantum-dpo-v0.1.Q3_K_M.gguf | Q3_K_M | 3.28GB |
| quantum-dpo-v0.1.Q3_K_L.gguf | Q3_K_L | 3.56GB |
| quantum-dpo-v0.1.IQ4_XS.gguf | IQ4_XS | 3.67GB |
| quantum-dpo-v0.1.Q4_0.gguf | Q4_0 | 3.83GB |
| quantum-dpo-v0.1.IQ4_NL.gguf | IQ4_NL | 3.87GB |
| quantum-dpo-v0.1.Q4_K_S.gguf | Q4_K_S | 3.86GB |
| quantum-dpo-v0.1.Q4_K.gguf | Q4_K | 4.07GB |
| quantum-dpo-v0.1.Q4_K_M.gguf | Q4_K_M | 4.07GB |
| quantum-dpo-v0.1.Q4_1.gguf | Q4_1 | 4.24GB |
| quantum-dpo-v0.1.Q5_0.gguf | Q5_0 | 4.65GB |
| quantum-dpo-v0.1.Q5_K_S.gguf | Q5_K_S | 4.65GB |
| quantum-dpo-v0.1.Q5_K.gguf | Q5_K | 4.78GB |
| quantum-dpo-v0.1.Q5_K_M.gguf | Q5_K_M | 4.78GB |
| quantum-dpo-v0.1.Q5_1.gguf | Q5_1 | 5.07GB |
| quantum-dpo-v0.1.Q6_K.gguf | Q6_K | 5.53GB |
| quantum-dpo-v0.1.Q8_0.gguf | Q8_0 | 7.17GB |
quantumaikr/quantum-dpo-v0.1 using the following code snippet:1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
3
4tokenizer = AutoTokenizer.from_pretrained("quantumaikr/quantum-dpo-v0.1")
5model = AutoModelForCausalLM.from_pretrained("quantumaikr/quantum-dpo-v0.1", torch_dtype=torch.float16, device_map="auto")
6
7system_prompt = "You are QuantumLM, an AI that follows instructions extremely well. Help as much as you can. Remember, be safe, and don't do anything illegal."
8
9message = "Write me a poem please"
10prompt = f"[INST] <<SYS>>\n{system_prompt}\n<</SYS>>\n\n{message}[/INST]"
11inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
12output = model.generate(**inputs, do_sample=True, temperature=0.7, top_p=0.95, top_k=30, max_new_tokens=2048)
13
14print(tokenizer.decode(output[0], skip_special_tokens=True))### System:
This is a system prompt, please behave and help the user.
### User:
Your prompt here
### Assistant
The output of QuantumLM