laurabernardy commited on
Commit
73cd780
·
verified ·
1 Parent(s): b0b7b9a

Upload folder using huggingface_hub

Browse files
EStrain.py CHANGED
@@ -12,7 +12,7 @@ from huggingface_hub import HfApi, login
12
  from tqdm import tqdm
13
 
14
  logging.basicConfig(
15
- filename="training_rueberta_24k.log",
16
  filemode="a",
17
  level=logging.INFO,
18
  format="%(asctime)s - %(levelname)s - %(message)s"
@@ -30,7 +30,7 @@ MAX_LEN = 128
30
  PATIENCE = 2
31
  NUM_LOG_SAMPLES = 50
32
 
33
- OUTPUT_DIR = "/home/laura/rueberta/runs/24k"
34
  HF_REPO = "laurabernardy/RueBERTa_24k"
35
 
36
  label_list = ["O", "B-ADDR", "I-ADDR"]
@@ -169,7 +169,7 @@ def main():
169
  log("Script started")
170
 
171
  dataset = load_data("/home/laura/rueberta/runs/24k/epstein_190_24k_bio.jsonl")
172
- dataset = dataset.train_test_split(test_size=0.028)
173
 
174
  train_dataset = dataset["train"]
175
  val_dataset = dataset["test"]
 
12
  from tqdm import tqdm
13
 
14
  logging.basicConfig(
15
+ filename="rueberta/runs/24k/training_rueberta_24k.log",
16
  filemode="a",
17
  level=logging.INFO,
18
  format="%(asctime)s - %(levelname)s - %(message)s"
 
30
  PATIENCE = 2
31
  NUM_LOG_SAMPLES = 50
32
 
33
+ OUTPUT_DIR = "rueberta/runs/24k"
34
  HF_REPO = "laurabernardy/RueBERTa_24k"
35
 
36
  label_list = ["O", "B-ADDR", "I-ADDR"]
 
169
  log("Script started")
170
 
171
  dataset = load_data("/home/laura/rueberta/runs/24k/epstein_190_24k_bio.jsonl")
172
+ dataset = dataset.train_test_split(test_size=0.027)
173
 
174
  train_dataset = dataset["train"]
175
  val_dataset = dataset["test"]
epstein_190_24k_bio.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0b043d2fa0eb37740cc61b0b63c56dc0058e7700664aee1ca1d0592d55743ab
3
- size 26763675
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cef524b229da3bb1660f32672f4dc76e7ea2bf24ba194f35c085816fa36e5115
3
+ size 27554238
epstein_190_24k_ready.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e9f1a9bcd00d44d10d9126efe04da4e29f025175520d74d4efe00f7e80e646c
3
- size 16550178
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8881e3c0e24f8ea5164e95ec28ccb81bd02ae4afb3c9fae6cf47a7714e03e650
3
+ size 16929408
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e3cc85e64478cfe960475b00c3a507854b1081eeb14a2550f795c462ae65c10
3
  size 1112269331
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bd422aa941a38e5b38e3fda5e1c01c4ee4098b3ad9331137c2d3ad6155dd0b3
3
  size 1112269331
training_rueberta_24k.log ADDED
The diff for this file is too large to render. See raw diff