Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| mistral-7b-dpo-v5.Q2_K.gguf | Q2_K | 2.53GB |
| mistral-7b-dpo-v5.IQ3_XS.gguf | IQ3_XS | 2.81GB |
| mistral-7b-dpo-v5.IQ3_S.gguf | IQ3_S | 2.96GB |
| mistral-7b-dpo-v5.Q3_K_S.gguf | Q3_K_S | 2.95GB |
| mistral-7b-dpo-v5.IQ3_M.gguf | IQ3_M | 3.06GB |
| mistral-7b-dpo-v5.Q3_K.gguf | Q3_K | 3.28GB |
| mistral-7b-dpo-v5.Q3_K_M.gguf | Q3_K_M | 3.28GB |
| mistral-7b-dpo-v5.Q3_K_L.gguf | Q3_K_L | 3.56GB |
| mistral-7b-dpo-v5.IQ4_XS.gguf | IQ4_XS | 3.67GB |
| mistral-7b-dpo-v5.Q4_0.gguf | Q4_0 | 3.83GB |
| mistral-7b-dpo-v5.IQ4_NL.gguf | IQ4_NL | 3.87GB |
| mistral-7b-dpo-v5.Q4_K_S.gguf | Q4_K_S | 3.86GB |
| mistral-7b-dpo-v5.Q4_K.gguf | Q4_K | 4.07GB |
| mistral-7b-dpo-v5.Q4_K_M.gguf | Q4_K_M | 4.07GB |
| mistral-7b-dpo-v5.Q4_1.gguf | Q4_1 | 4.24GB |
| mistral-7b-dpo-v5.Q5_0.gguf | Q5_0 | 4.65GB |
| mistral-7b-dpo-v5.Q5_K_S.gguf | Q5_K_S | 4.65GB |
| mistral-7b-dpo-v5.Q5_K.gguf | Q5_K | 4.78GB |
| mistral-7b-dpo-v5.Q5_K_M.gguf | Q5_K_M | 4.78GB |
| mistral-7b-dpo-v5.Q5_1.gguf | Q5_1 | 5.07GB |
| mistral-7b-dpo-v5.Q6_K.gguf | Q6_K | 5.53GB |
| mistral-7b-dpo-v5.Q8_0.gguf | Q8_0 | 7.17GB |
1from transformers import AutoConfig, AutoModel, AutoTokenizer
2import transformers
3import torch
4hf_model = 'mncai/mistral-7b-dpo-v5'
5message = "<|user|>\n두 개의 구가 있는데 각각 지름이 1, 2일때 각 구의 부피는 몇배야? 설명도 같이 해줘.\n<|assistant|>\n"
6
7sequences = pipeline(
8 message,
9 do_sample=True,
10 top_k=10,
11 num_return_sequences=1,
12 eos_token_id=tokenizer.eos_token_id,
13 max_length=2048,
14)
15for seq in sequences:
16 print(f"Result: {seq['generated_text']}")