Downloads · 30 days
639
6% of all-time downloads
RichardErkhov/scb10x_-_typhoon-7b-instruct-02-19-2024-gguf
scb10x_-_typhoon-7b-instruct-02-19-2024-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
639
6% of all-time downloads
All-time downloads
9.9K
Public
Repo size
82.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf95.6 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
typhoon-7b-instruct-02-19-2024 - GGUF
Typhoon-0219: Thai Large Language Model (Instruct)
Typhoon-0219 is a instruct Thai 🇹🇭 large language model with 7 billion parameters, and it is based on Typhoon 7B. It is the second-generation instruct model version that serves opentyphoon.ai. It is trained on a diverse instruction tuning dataset with more than 1 million rows, similar to OpenHermes, and supports using system prompts.
This model is an instructional model. However, it’s still undergoing development. It incorporates some level of guardrails, but it still may produce answers that are inaccurate, biased, or otherwise objectionable in response to user prompts. We recommend that developers assess these risks in the context of their use case.
We suggest using the OpenAI-compatible API server from the vLLM project.
python -m vllm.entrypoints.openai.api_server --port 8080 --model scb10x/typhoon-7b-instruct-02-19-2024 --max-num-batched-tokens 8192 --max-model-len 8192 --served-model-name typhoon-instruct
We use chatml chat-template.
{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content']}}{% if (loop.last and add_generation_prompt) or not loop.last %}{{ '<|im_end|>' + '\n'}}{% endif %}{% endfor %}
{% if add_generation_prompt and messages[-1]['role'] != 'assistant' %}{{ '<|im_start|>assistant\n' }}{% endif %}
https://twitter.com/opentyphoon
@article{pipatanakul2023typhoon,
title={Typhoon: Thai Large Language Models},
author={Kunat Pipatanakul and Phatrasek Jirabovonvisut and Potsawee Manakul and Sittipong Sripaisarnmongkol and Ruangsak Patomwong and Pathomporn Chokchainant and Kasima Tharnpipitchai},
year={2023},
journal={arXiv preprint arXiv:2312.13951},
url={https://arxiv.org/abs/2312.13951}
}