Sakalti commited on
Commit
2661f41
·
verified ·
1 Parent(s): 1cd0800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,12 +12,12 @@ def train_and_deploy(write_token, repo_name, license_text):
12
  f.write(license_text)
13
 
14
  # モデルとトークナイザーの読み込み
15
- model_name = "HuggingfaceH4/zephyr-7b-beta" # トレーニング対象のモデル
16
  model = AutoModelForCausalLM.from_pretrained(model_name)
17
  tokenizer = AutoTokenizer.from_pretrained(model_name)
18
 
19
  # 日本語データセットの読み込み
20
- dataset = load_dataset("Sakalti/hachiwari")
21
 
22
  # データセットのトークン化
23
  def tokenize_function(examples):
 
12
  f.write(license_text)
13
 
14
  # モデルとトークナイザーの読み込み
15
+ model_name = "Sakalti/iturkaAI-large" # トレーニング対象のモデル
16
  model = AutoModelForCausalLM.from_pretrained(model_name)
17
  tokenizer = AutoTokenizer.from_pretrained(model_name)
18
 
19
  # 日本語データセットの読み込み
20
+ dataset = load_dataset("range3/cc100-ja")
21
 
22
  # データセットのトークン化
23
  def tokenize_function(examples):