Downloads · 30 days
18
7% of all-time downloads
soichi1208/Soichi-gemma4-31B-FT
Soichi-gemma4-31B-FT is a machine learning model from soichi1208. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
unsloth/gemma-4-31B-it-unsloth-bnb-4bitを僕のツイートデータ約1万件ちょっとを用いてQLoRAにてSFTしたものです。関わってるユーザー名は一樹くん(@Lport8000など)、あきのはらそうや(@soyaakinohara3など)以外は伏せています。 また、会話形式にする上での補完はQwen3.5-9Bを使用しています。
Downloads · 30 days
18
7% of all-time downloads
All-time downloads
258
Public
Repo size
31.2 GB
Likes
3
Public
Click a slice to open those files.
.gguf30.6 GB · 98%
From the Hugging Face model README
unsloth/gemma-4-31B-it-unsloth-bnb-4bitを僕のツイートデータ約1万件ちょっとを用いてQLoRAにてSFTしたものです。関わってるユーザー名は一樹くん(@L_port8000など)、あきのはらそうや(@soyaakinohara3など)以外は伏せています。 また、会話形式にする上での補完はQwen3.5-9Bを使用しています。
llama-cppとかでggufを使うか直接ロードするかしてください。
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
"soichi1208/Soichi-gemma4-31B-FT",
load_in_4bit=True,
max_seq_length=512,
)
FastModel.for_inference(model)
prompt=input("このSoichiに、何をお聞きかね?:")
messages = [{"role": "user", "content": prompt}]
inputs = tokenizer.apply_chat_template(
messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
).to(model.device)
outputs = model.generate(
inputs,
max_new_tokens=100,
do_sample=True,
temperature=0.9,
repetition_penalty=1.2,
pad_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True))
謝辞