Downloads · 30 days
328
12% of all-time downloads
RichardErkhov/PrompTartLAB_-_gemma2_2B_PTT_en_ko-gguf
PrompTartLAB_-_gemma2_2B_PTT_en_ko-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
328
12% of all-time downloads
All-time downloads
2.7K
Public
Repo size
32.3 GB
Likes
0
Public
Click a slice to open those files.
.gguf37.3 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
gemma2_2B_PTT_en_ko - GGUF
| Name | Quant method | Size |
|---|---|---|
| gemma2_2B_PTT_en_ko.Q2_K.gguf | Q2_K | 1.15GB |
| gemma2_2B_PTT_en_ko.IQ3_XS.gguf | IQ3_XS | 1.22GB |
| gemma2_2B_PTT_en_ko.IQ3_S.gguf | IQ3_S | 1.27GB |
| gemma2_2B_PTT_en_ko.Q3_K_S.gguf | Q3_K_S | 1.27GB |
| gemma2_2B_PTT_en_ko.IQ3_M.gguf | IQ3_M | 1.3GB |
| gemma2_2B_PTT_en_ko.Q3_K.gguf | Q3_K | 1.36GB |
| gemma2_2B_PTT_en_ko.Q3_K_M.gguf | Q3_K_M | 1.36GB |
| gemma2_2B_PTT_en_ko.Q3_K_L.gguf | Q3_K_L | 1.44GB |
| gemma2_2B_PTT_en_ko.IQ4_XS.gguf | IQ4_XS | 1.47GB |
| gemma2_2B_PTT_en_ko.Q4_0.gguf | Q4_0 | 1.52GB |
| gemma2_2B_PTT_en_ko.IQ4_NL.gguf | IQ4_NL | 1.53GB |
| gemma2_2B_PTT_en_ko.Q4_K_S.gguf | Q4_K_S | 1.53GB |
| gemma2_2B_PTT_en_ko.Q4_K.gguf | Q4_K | 1.59GB |
| gemma2_2B_PTT_en_ko.Q4_K_M.gguf | Q4_K_M | 1.59GB |
| gemma2_2B_PTT_en_ko.Q4_1.gguf | Q4_1 | 1.64GB |
| gemma2_2B_PTT_en_ko.Q5_0.gguf | Q5_0 | 1.75GB |
| gemma2_2B_PTT_en_ko.Q5_K_S.gguf | Q5_K_S | 1.75GB |
| gemma2_2B_PTT_en_ko.Q5_K.gguf | Q5_K | 1.79GB |
| gemma2_2B_PTT_en_ko.Q5_K_M.gguf | Q5_K_M | 1.79GB |
| gemma2_2B_PTT_en_ko.Q5_1.gguf | Q5_1 | 1.87GB |
| gemma2_2B_PTT_en_ko.Q6_K.gguf | Q6_K | 2.0GB |
| gemma2_2B_PTT_en_ko.Q8_0.gguf | Q8_0 | 2.59GB |
datasets:
This is a gemma-2-2b model fine-tuned on the Parenthetical Terminology Translation (PTT) dataset. The PTT dataset focuses on translating technical terms accurately by placing the original English term in parentheses alongside its Korean translation, enhancing clarity and precision in specialized fields. This fine-tuned model is optimized for handling technical terminology in the Artificial Intelligence (AI) domain.
Here’s how to use this fine-tuned model with the Hugging Face transformers library:
import transformers
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load Model and Tokenizer
model_name = "PrompTartLAB/gemma2_2B_PTT_en_ko"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
# Example sentence
text = "The model was fine-tuned using knowledge distillation techniques. The training dataset was created using a collaborative multi-agent framework powered by large language models."
prompt = f"Translate input sentence to Korean \n### Input: {text} \n### Translated:"
# Tokenize and generate translation
input_ids = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**input_ids, max_new_tokens=1024)
out_message = tokenizer.decode(outputs[0][len(input_ids["input_ids"][0]):], skip_special_tokens=True)
# " 모델은 지식 증류 기법(knowledge distillation techniques)을 사용하여 훈련되었습니다. 훈련 데이터셋은 대형 언어 모델(large language models)에 의해 구동되는 협력형 다중 에이전트 프레임워크(collaborative multi-agent framework)를 사용하여 생성되었습니다."
If you use this model in your research, please cite the original dataset and paper:
@inproceedings{jiyoon-etal-2024-efficient,
title = "Efficient Technical Term Translation: A Knowledge Distillation Approach for Parenthetical Terminology Translation",
author = "Jiyoon, Myung and
Park, Jihyeon and
Son, Jungki and
Lee, Kyungro and
Han, Joohyung",
editor = "Haddow, Barry and
Kocmi, Tom and
Koehn, Philipp and
Monz, Christof",
booktitle = "Proceedings of the Ninth Conference on Machine Translation",
month = nov,
year = "2024",
address = "Miami, Florida, USA",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.wmt-1.129",
doi = "10.18653/v1/2024.wmt-1.129",
pages = "1410--1427",
abstract = "This paper addresses the challenge of accurately translating technical terms, which are crucial for clear communication in specialized fields. We introduce the Parenthetical Terminology Translation (PTT) task, designed to mitigate potential inaccuracies by displaying the original term in parentheses alongside its translation. To implement this approach, we generated a representative PTT dataset using a collaborative approach with large language models and applied knowledge distillation to fine-tune traditional Neural Machine Translation (NMT) models and small-sized Large Language Models (sLMs). Additionally, we developed a novel evaluation metric to assess both overall translation accuracy and the correct parenthetical presentation of terms. Our findings indicate that sLMs did not consistently outperform NMT models, with fine-tuning proving more effective than few-shot prompting, particularly in models with continued pre-training in the target language. These insights contribute to the advancement of more reliable terminology translation methodologies.",
}
For questions or feedback, please contact [email protected].