kkmkorea commited on
Commit
22c7265
โ€ข
1 Parent(s): e647d18

Upload korscideberta-abstractcls.ipynb

Browse files
Files changed (1) hide show
  1. korscideberta-abstractcls.ipynb +4 -2
korscideberta-abstractcls.ipynb CHANGED
@@ -451,7 +451,7 @@
451
  "gc.collect()\n",
452
  "from transformers import TrainingArguments\n",
453
  "training_args = TrainingArguments(\n",
454
- " output_dir=\"korscideberta_abs1\",\n",
455
  " num_train_epochs=4, \n",
456
  " #learning_rate=5e-5,\n",
457
  " learning_rate=1.5e-5,\n",
@@ -674,6 +674,8 @@
674
  "source": [
675
  "## **Evaluate / Analyse the model**\n",
676
  "\n",
 
 
677
  "Now that we have fine-tuned the model we need to be very careful about analyzing its performance. It's usually not enough to just look at basic metrics defining the quality of a model purely on a metric, such as *accuracy*.\n",
678
  "The better approach is to find a metric that best describes the actual use case of the model.\n",
679
  "\n",
@@ -787,7 +789,7 @@
787
  "source": [
788
  "#Huggingface์— ์—…๋กœ๋“œํ•œ ํŒŒ์ธํŠœ๋‹ ๋ชจ๋ธ ๋ฐ ์„ฑ๋Šฅ ํ™•์ธ\n",
789
  "from transformers import AutoModelForSequenceClassification\n",
790
- "model = AutoModelForSequenceClassification.from_pretrained(\"kkmkorea/deberta_sent4455\")\n",
791
  "#model = AutoModelForSequenceClassification.from_pretrained(\"patrickvonplaten/deberta_v3_amazon_reviews\")\n",
792
  "\n",
793
  "trainer = Trainer(\n",
 
451
  "gc.collect()\n",
452
  "from transformers import TrainingArguments\n",
453
  "training_args = TrainingArguments(\n",
454
+ " output_dir=\"deberta_sent4455\",\n",
455
  " num_train_epochs=4, \n",
456
  " #learning_rate=5e-5,\n",
457
  " learning_rate=1.5e-5,\n",
 
674
  "source": [
675
  "## **Evaluate / Analyse the model**\n",
676
  "\n",
677
+ "ํ•™์Šต๋œ ํŒŒ์ธํŠœ๋‹ ๋ชจ๋ธ๋กœ ์ถ”๋ก  ๋ฐ ํ‰๊ฐ€ํ•˜๋Š” ๋‹จ๊ณ„\n",
678
+ "\n",
679
  "Now that we have fine-tuned the model we need to be very careful about analyzing its performance. It's usually not enough to just look at basic metrics defining the quality of a model purely on a metric, such as *accuracy*.\n",
680
  "The better approach is to find a metric that best describes the actual use case of the model.\n",
681
  "\n",
 
789
  "source": [
790
  "#Huggingface์— ์—…๋กœ๋“œํ•œ ํŒŒ์ธํŠœ๋‹ ๋ชจ๋ธ ๋ฐ ์„ฑ๋Šฅ ํ™•์ธ\n",
791
  "from transformers import AutoModelForSequenceClassification\n",
792
+ "model = AutoModelForSequenceClassification.from_pretrained(\"kkmkorea/deberta_sent4455\") #์œ„์—์„œ ํ•™์Šตํ•œ ํŒŒ์ธํŠœ๋‹ ๋ชจ๋ธ ๊ฒฝ๋กœ&์ €์žฅ์†Œ\n",
793
  "#model = AutoModelForSequenceClassification.from_pretrained(\"patrickvonplaten/deberta_v3_amazon_reviews\")\n",
794
  "\n",
795
  "trainer = Trainer(\n",