Downloads · 30 days
53
7% of all-time downloads
RichardErkhov/CarrotAI_-_Rabbit-Ko-15B-Instruct-gguf
CarrotAI_-_Rabbit-Ko-15B-Instruct-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
53
7% of all-time downloads
All-time downloads
775
Public
Repo size
172 GB
Likes
0
Public
Click a slice to open those files.
.gguf199 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Rabbit-Ko-15B-Instruct - GGUF
| Name | Quant method | Size |
|---|---|---|
| Rabbit-Ko-15B-Instruct.Q2_K.gguf | Q2_K | 5.35GB |
| Rabbit-Ko-15B-Instruct.IQ3_XS.gguf | IQ3_XS | 5.95GB |
| Rabbit-Ko-15B-Instruct.IQ3_S.gguf | IQ3_S | 6.25GB |
| Rabbit-Ko-15B-Instruct.Q3_K_S.gguf | Q3_K_S | 6.24GB |
| Rabbit-Ko-15B-Instruct.IQ3_M.gguf | IQ3_M | 6.41GB |
| Rabbit-Ko-15B-Instruct.Q3_K.gguf | Q3_K | 6.88GB |
| Rabbit-Ko-15B-Instruct.Q3_K_M.gguf | Q3_K_M | 6.88GB |
| Rabbit-Ko-15B-Instruct.Q3_K_L.gguf | Q3_K_L | 7.43GB |
| Rabbit-Ko-15B-Instruct.IQ4_XS.gguf | IQ4_XS | 7.7GB |
| Rabbit-Ko-15B-Instruct.Q4_0.gguf | Q4_0 | 8.04GB |
| Rabbit-Ko-15B-Instruct.IQ4_NL.gguf | IQ4_NL | 8.1GB |
| Rabbit-Ko-15B-Instruct.Q4_K_S.gguf | Q4_K_S | 8.09GB |
| Rabbit-Ko-15B-Instruct.Q4_K.gguf | Q4_K | 8.54GB |
| Rabbit-Ko-15B-Instruct.Q4_K_M.gguf | Q4_K_M | 8.54GB |
| Rabbit-Ko-15B-Instruct.Q4_1.gguf | Q4_1 | 8.88GB |
| Rabbit-Ko-15B-Instruct.Q5_0.gguf | Q5_0 | 9.73GB |
| Rabbit-Ko-15B-Instruct.Q5_K_S.gguf | Q5_K_S | 9.73GB |
| Rabbit-Ko-15B-Instruct.Q5_K.gguf | Q5_K | 9.99GB |
| Rabbit-Ko-15B-Instruct.Q5_K_M.gguf | Q5_K_M | 9.99GB |
| Rabbit-Ko-15B-Instruct.Q5_1.gguf | Q5_1 | 10.57GB |
| Rabbit-Ko-15B-Instruct.Q6_K.gguf | Q6_K | 11.52GB |
| Rabbit-Ko-15B-Instruct.Q8_0.gguf | Q8_0 | 14.92GB |
license: mit datasets:

I learned only from Singleton data
Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto
model = AutoModelForCausalLM.from_pretrained(
"CarrotAI/Rabbit-Ko-15B-Instruct",
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("CarrotAI/Rabbit-Ko-15B-Instruct")
prompt = "Give me a short introduction to large language model."
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)
generated_ids = model.generate(
model_inputs.input_ids,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
pip install "vllm>=0.4.3"
Or you can install vLLM from source.
Configure Model Settings: After downloading the model weights, modify the config.json file by including the below snippet:
{
"architectures": [
"Qwen2ForCausalLM"
],
// ...
"vocab_size": 152064,
// adding the following snippets
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}
This snippet enable YARN to support longer contexts.
Model Deployment: Utilize vLLM to deploy your model. For instance, you can set up an openAI-like server using the command:
python -m vllm.entrypoints.openai.api_server --served-model-name CarrotAI/Rabbit-Ko-15B-Instruct --model path/to/weights
Then you can access the Chat API by:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "CarrotAI/Rabbit-Ko-15B-Instruct",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Your Long Input Here."}
]
}'
This fine-tuned model is particularly suited for [mention applications, e.g., chatbots, question-answering systems, etc.]. Its enhanced capabilities ensure more accurate and contextually appropriate responses in these domains.
While our fine-tuning process has optimized the model for specific tasks, it's important to acknowledge potential limitations. The model's performance can still vary based on the complexity of the task and the specificities of the input data. Users are encouraged to evaluate the model thoroughly in their specific context to ensure it meets their requirements.
If you liked this model, please use the card below
@article{RabbitKo15BInstruct,
title={CarrotAI/Rabbit-Ko-15B-Instruct Card},
author={CarrotAI (L, GEUN)},
year={2024},
url = {https://huggingface.co/CarrotAI/Rabbit-Ko-15B-Instruct}
}