oshizo commited on
Commit
f8ce541
·
1 Parent(s): 720725f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -20,11 +20,11 @@ japanese-sexual-moderationは、[studio-ousia/luke-japanese-large-lite](https://
20
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
21
  import numpy as np
22
 
23
- scoring_model_id = "oshizo/japanese-sexual-moderation"
24
 
25
- tokenizer = AutoTokenizer.from_pretrained(scoring_model_id)
26
  model = AutoModelForSequenceClassification.from_pretrained(
27
- scoring_model_id,
28
  problem_type="multi_label_classification",
29
  num_labels=1
30
  )
 
20
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
21
  import numpy as np
22
 
23
+ model_id = "oshizo/japanese-sexual-moderation"
24
 
25
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
26
  model = AutoModelForSequenceClassification.from_pretrained(
27
+ model_id,
28
  problem_type="multi_label_classification",
29
  num_labels=1
30
  )