Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| cut-13b.Q2_K.gguf | Q2_K | 4.52GB |
| cut-13b.Q3_K_S.gguf | Q3_K_S | 5.27GB |
| cut-13b.Q3_K.gguf | Q3_K | 5.9GB |
| cut-13b.Q3_K_M.gguf | Q3_K_M | 5.9GB |
| cut-13b.Q3_K_L.gguf | Q3_K_L | 6.45GB |
| cut-13b.IQ4_XS.gguf | IQ4_XS | 6.54GB |
| cut-13b.Q4_0.gguf | Q4_0 | 6.86GB |
| cut-13b.IQ4_NL.gguf | IQ4_NL | 6.9GB |
| cut-13b.Q4_K_S.gguf | Q4_K_S | 6.91GB |
| cut-13b.Q4_K.gguf | Q4_K | 7.33GB |
| cut-13b.Q4_K_M.gguf | Q4_K_M | 7.33GB |
| cut-13b.Q4_1.gguf | Q4_1 | 7.61GB |
| cut-13b.Q5_0.gguf | Q5_0 | 8.36GB |
| cut-13b.Q5_K_S.gguf | Q5_K_S | 8.36GB |
| cut-13b.Q5_K.gguf | Q5_K | 8.6GB |
| cut-13b.Q5_K_M.gguf | Q5_K_M | 8.6GB |
| cut-13b.Q5_1.gguf | Q5_1 | 9.1GB |
| cut-13b.Q6_K.gguf | Q6_K | 9.95GB |
| cut-13b.Q8_0.gguf | Q8_0 | 12.88GB |
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{instruction}
### Response:1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4torch.set_default_device("cuda")
5
6model = AutoModelForCausalLM.from_pretrained("xww033/cut-13b", torch_dtype=torch.float16)
7tokenizer = AutoTokenizer.from_pretrained("xww033/cut-13b")
8
9inputs = tokenizer('''Below is an instruction that describes a task. Write a response that appropriately completes the request.
10
11### Instruction:
12How did US states get their names?
13
14### Response:''', return_tensors="pt", return_attention_mask=False)
15
16outputs = model.generate(**inputs, max_length=2048)
17text = tokenizer.batch_decode(outputs)[0]
18print(text)1git clone https://github.com/lm-sys/FastChat.git
2cd FastChat1pip install --upgrade pip # enable PEP 660 support
2pip install -e .python -m fastchat.serve.cli --model-path xww033/cut-13b --conv-template alpaca1@article{xu2023reasons,
2 title={Reasons to Reject? Aligning Language Models with Judgments},
3 author={Xu, Weiwen and Cai, Deng and Zhang, Zhisong and Lam, Wai and Shi, Shuming},
4 journal={arXiv preprint arXiv:2312.14591},
5 year={2023}
6}