Downloads · 30 days
5
2% of all-time downloads
torchtorchkimtorch/up_model
up_model is a machine learning model from torchtorchkimtorch. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
추론 시 lm-eval-harness 의 ARC 기본 prompt 형식 사용 (Question: {q}\nAnswer: {a})
Downloads · 30 days
5
2% of all-time downloads
All-time downloads
281
Public
Parameters
7.2B
29 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors29 GB · 100%
From the Hugging Face model README
추론 시 lm-eval-harness 의 ARC 기본 prompt 형식 사용 (Question: {q}\nAnswer: {a})
[추론 예시]
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "torchtorchkimtorch/up_model"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "Question: What do cells break down to produce energy?\nAnswer:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))