Downloads · 30 days
10
15% of all-time downloads
kuotient/Seagull-13b-translation-AWQ
Seagull-13b-translation-AWQ is a translation model from kuotient. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as cc-by-nc-sa-4.0.
Seagull-13b-translation is yet another translator model, but carefully considered the following issues from existing translation models. - newline or space not matching the original text - Using translated dataset wit…
Downloads · 30 days
10
15% of all-time downloads
All-time downloads
68
Public
Parameters
13.2B
7.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors7.5 GB · 100%
How the weights are stored.
I3212.7B · 96%
From the Hugging Face model README
![]()
Seagull-13b-translation is yet another translator model, but carefully considered the following issues from existing translation models.
newline or space not matching the original text이런 이슈들을 충분히 체크하고 학습을 진행하였지만, 모델을 사용할 때는 이런 부분에 대한 결과를 면밀하게 살펴보는 것을 추천합니다(코드가 포함된 텍스트 등).
If you're interested in building large-scale language models to solve a wide variety of problems in a wide variety of domains, you should consider joining Allganize. For a coffee chat or if you have any questions, please do not hesitate to contact me as well! - [email protected]
This model was created as a personal experiment, unrelated to the organization I work for.
Jisoo Kim(kuotient)
It follows only ChatML format.
<|im_start|>system
주어진 문장을 한국어로 번역하세요.<|im_end|>
<|im_start|>user
{instruction}<|im_end|>
<|im_start|>assistant
# Don't miss newline here
<|im_start|>system
주어진 문장을 영어로 번역하세요.<|im_end|>
<|im_start|>user
{instruction}<|im_end|>
<|im_start|>assistant
# Don't miss newline here
I highly recommend to inference model with vllm. I will write a guide for quick and easy inference if requested.
Since, chat_template already contains insturction format above. You can use the code below.
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto
model = AutoModelForCausalLM.from_pretrained("kuotient/Seagull-13B-translation")
tokenizer = AutoTokenizer.from_pretrained("kuotient/Seagull-13B-translation")
messages = [
{"role": "system", "content", "주어진 문장을 한국어로 번역하세요."}
{"role": "user", "content": "Here are five examples of nutritious foods to serve your kids."},
]
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
model_inputs = encodeds.to(device)
model.to(device)
generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])