Downloads · 30 days
24
24% of all-time downloads
eyepyon/rc3phi-4-mini-reasoning-finetuned
rc3phi-4-mini-reasoning-finetuned is a text generation model from eyepyon. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
このモデルはmicrosoft/Phi-4-mini-reasoningをベースとしたファインチューニング済みモデルです。
Downloads · 30 days
24
24% of all-time downloads
All-time downloads
99
Public
Parameters
3.8B
38.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.7 GB · 100%
From the Hugging Face model README
このモデルはmicrosoft/Phi-4-mini-reasoningをベースとしたファインチューニング済みモデルです。
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# モデルとトークナイザーを読み込み
model = AutoModelForCausalLM.from_pretrained(
"eyepyon/rc3phi-4-mini-reasoning-finetuned",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("eyepyon/rc3phi-4-mini-reasoning-finetuned")
# 推論の実行
def generate_response(prompt):
inputs = tokenizer(prompt, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
return response[len(prompt):]
# 使用例
prompt = "Human: こんにちは!\n\nAssistant: "
response = generate_response(prompt)
print(response)
# モデルをダウンロード
ollama pull eyepyon/rc3phi-4-mini-reasoning-finetuned
# チャット開始
ollama run eyepyon/rc3phi-4-mini-reasoning-finetuned
このモデルは以下のタスクに特化して訓練されています:
@misc{rc3phi_4_mini_reasoning_finetuned,
title={rc3phi-4-mini-reasoning-finetuned},
author={Your Name},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/eyepyon/rc3phi-4-mini-reasoning-finetuned}
}
モデルに関する質問や改善提案がございましたら、リポジトリのIssueまでお気軽にご連絡ください。