DataPilot/ArrowNeo-Neko-3B-instruct-v0.1

overview

このモデルはSB intuitionsのsarashina-2.2-instruct-v0.1をベースにUnslothを用いて指示追従性能向上を目指して合成データでチューニングされました。

How to use

以下のコードでこのモデルを動かすことができます。

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline, set_seed

# モデルのロード
model_name = "DataPilot/ArrowNeo-Neko-3B-instruct-v0.1"
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(model_name)
chat_pipeline = pipeline("text-generation", model=model, tokenizer=tokenizer)
set_seed(123)

# ユーザーの入力
user_input = [{"role": "user", "content": "こんにちは。Pythonを用いてstrawberryのRをカウントするコードを書いて下さい。"}]

# モデルによる応答生成
responses = chat_pipeline(
    user_input,
    max_length=50,
    do_sample=True,
    num_return_sequences=2,
)

# 応答を表示
for i, response in enumerate(responses, 1):
    print(f"Response {i}: {response['generated_text']}")

Limitations

このモデルには、安全トレーニングが制限されています。 したがって、いくつかの無意味なシーケンス、いくつかの不正確なインスタンス、または偏った/不快な出力を生成する可能性があります。 使用する前に、開発者は人間の好みと安全上の考慮事項に基づいてモデルを調整していただきたいと思います。

License

MIT license このモデルのライセンスは元モデルのライセンスに準拠します。

Downloads last month
47
Safetensors
Model size
3.36B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for DataPilot/ArrowNeo-Neko-3B-instruct-v0.1

Collection including DataPilot/ArrowNeo-Neko-3B-instruct-v0.1