Downloads · 30 days
0
MinKeonKim/gemma-2b-it-quiz-ko
gemma-2b-it-quiz-ko is a text generation model from MinKeonKim. Use it when you need the model to write or continue text. The card lists the license as gemma.
This project fine-tunes the Gemma-2B model to provide answers to quiz-related questions. The model is designed to handle complex problems or quizzes and generate clear and accurate responses in Korean.
Downloads · 30 days
0
Access
Public
Updated Oct 3, 2024
Repo size
67.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors67.1 MB · 100%
From the Hugging Face model README
This project fine-tunes the Gemma-2B model to provide answers to quiz-related questions. The model is designed to handle complex problems or quizzes and generate clear and accurate responses in Korean.
The Gemma-2B Quiz Answering Model is built on top of the Gemma-2B base model. This version has been fine-tuned to better handle complex quiz questions and generate responses in natural Korean, addressing issues with awkward language generation from the base model.
gemma-2b-quiz-koYou can use the model by loading it from Hugging Face Hub. Below is a simple usage example with the transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load model and tokenizer
model = AutoModelForCausalLM.from_pretrained("DORAEMONG/gemma-2b-quiz-ko")
tokenizer = AutoTokenizer.from_pretrained("DORAEMONG/gemma-2b-quiz-ko")
# Input a quiz question
question = "다음 수학 문제의 답은 무엇입니까? 스피너가 A, B, C로 나뉘어 있을 때..."
inputs = tokenizer(question, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
# Decode the generated text
print(tokenizer.decode(outputs[0], skip_special_tokens=True))