yiyang0101 commited on
Commit
52f9e14
1 Parent(s): c155ec9

yiyang0101/yiyang-test

Browse files
Files changed (5) hide show
  1. .gitignore +1 -1
  2. README.md +7 -7
  3. model.safetensors +1 -1
  4. train.py +2 -2
  5. training_args.bin +1 -1
.gitignore CHANGED
@@ -1 +1 @@
1
- results/
 
1
+ yiyang-test/
README.md CHANGED
@@ -1,22 +1,22 @@
1
  ---
2
- base_model: bert-base-uncased
3
  library_name: transformers
4
  license: apache-2.0
 
5
  tags:
6
  - generated_from_trainer
7
  model-index:
8
- - name: yiyang-test
9
  results: []
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
- # yiyang-test
16
 
17
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.8249
20
 
21
  ## Model description
22
 
@@ -47,9 +47,9 @@ The following hyperparameters were used during training:
47
 
48
  | Training Loss | Epoch | Step | Validation Loss |
49
  |:-------------:|:-----:|:----:|:---------------:|
50
- | No log | 1.0 | 1 | 0.9378 |
51
- | No log | 2.0 | 2 | 0.8606 |
52
- | No log | 3.0 | 3 | 0.8249 |
53
 
54
 
55
  ### Framework versions
 
1
  ---
 
2
  library_name: transformers
3
  license: apache-2.0
4
+ base_model: bert-base-uncased
5
  tags:
6
  - generated_from_trainer
7
  model-index:
8
+ - name: bert-base-uncased
9
  results: []
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
+ # bert-base-uncased
16
 
17
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.7692
20
 
21
  ## Model description
22
 
 
47
 
48
  | Training Loss | Epoch | Step | Validation Loss |
49
  |:-------------:|:-----:|:----:|:---------------:|
50
+ | No log | 1.0 | 1 | 0.7881 |
51
+ | No log | 2.0 | 2 | 0.7738 |
52
+ | No log | 3.0 | 3 | 0.7692 |
53
 
54
 
55
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9c13bc6380e8b70ca9bc43fa95b363600754f09f5deaf5c153d820262d0618d
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d18737eb099b672cf528df529ec60f9fae5e170b3f518335d3eae1509d5f8ecc
3
  size 437958648
train.py CHANGED
@@ -24,7 +24,7 @@ tokenized_datasets = datasets_split.map(tokenize_function, batched=True)
24
 
25
  # 학습 설정
26
  training_args = TrainingArguments(
27
- output_dir="./yiyang-test", # 학습 결과 저장 경로
28
  evaluation_strategy="epoch",
29
  learning_rate=2e-5,
30
  per_device_train_batch_size=16,
@@ -45,7 +45,7 @@ trainer = Trainer(
45
  trainer.train()
46
 
47
  # 모델 저장
48
- trainer.save_model("./")
49
 
50
  # 모델 푸시
51
  trainer.push_to_hub("yiyang0101/yiyang-test")
 
24
 
25
  # 학습 설정
26
  training_args = TrainingArguments(
27
+ output_dir="./", # 학습 결과 저장 경로
28
  evaluation_strategy="epoch",
29
  learning_rate=2e-5,
30
  per_device_train_batch_size=16,
 
45
  trainer.train()
46
 
47
  # 모델 저장
48
+ # trainer.save_model("./")
49
 
50
  # 모델 푸시
51
  trainer.push_to_hub("yiyang0101/yiyang-test")
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:59ed28a780954e8c26505e50a62c86829b664b65dd3486c8198cb966ae4d1584
3
  size 4731
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:063c92c31a01e2397abcfe68e41da87262978baeef9ac8512e2f9500aadc2779
3
  size 4731