SusumuDou's picture
Update README.md
5855348 verified
|
raw
history blame
1.47 kB
metadata
base_model: llm-jp/llm-jp-3-13b
tags:
  - text-generation-inference
  - transformers
  - unsloth
  - llama
  - trl
license: apache-2.0
language:
  - en

Uploaded model

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

ファインチューニングした本モデルを使用して推論するモデルとトークナイザを読み出すコードの例を以下に示します。 from unsloth import FastLanguageModel model_name = "SusumuDou/llm-jp-3-13b-finetune-2"

max_seq_length = 2048 dtype = None load_in_4bit = True

model, tokenizer = FastLanguageModel.from_pretrained( model_name = model_name, max_seq_length = max_seq_length, dtype = dtype, load_in_4bit = load_in_4bit, token = HF TOKEN, ) FastLanguageModel.for_inference(model)