= commited on
Commit
d78d7ae
1 Parent(s): 3c4b987

recuperate modif and new checkpoints v3 fw

Browse files
.vscode/settings.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "python.defaultInterpreterPath": "C:\\Users\\Oumar Kane\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\pytorch1-HleOW5am-py3.10\\Scripts\\python.exe",
3
+ "python.terminal.activateEnvironment": true,
4
+ "terminal.integrated.defaultProfile.windows": "Command Prompt",
5
+ "files.autoSave": "afterDelay",
6
+ "files.autoSaveDelay": 1000
7
+ }
app.py CHANGED
@@ -101,7 +101,7 @@ try:
101
 
102
  sentence = st.session_state[f"sentence{i}"] + tokenizer.eos_token
103
 
104
- if not sentence == "":
105
 
106
  # Let us encode the sentences
107
  encoding = tokenizer([sentence], return_tensors='pt', max_length=max_len, padding='max_length', truncation=True)
 
101
 
102
  sentence = st.session_state[f"sentence{i}"] + tokenizer.eos_token
103
 
104
+ if not sentence == tokenizer.eos_token:
105
 
106
  # Let us encode the sentences
107
  encoding = tokenizer([sentence], return_tensors='pt', max_length=max_len, padding='max_length', truncation=True)
wolof-translate/wolof_translate/checkpoints/t5_small_custom_train_results_fw_v3/best_checkpoints.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "metrics": {
3
- "train_loss": 0.004466977413735216,
4
- "test_loss": 0.5528496630489826,
5
- "bleu": 24.9553,
6
- "gen_len": 7.774,
7
- "current_epoch": 759
8
  },
9
  "best_performance": {
10
- "best_score": 24.9553,
11
- "best_epoch": 759
12
  }
13
  }
 
1
  {
2
  "metrics": {
3
+ "train_loss": 0.003311718240206019,
4
+ "test_loss": 0.5539475262048654,
5
+ "bleu": 28.528,
6
+ "gen_len": 8.1575,
7
+ "current_epoch": 346
8
  },
9
  "best_performance": {
10
+ "best_score": 28.528,
11
+ "best_epoch": 346
12
  }
13
  }
wolof-translate/wolof_translate/checkpoints/t5_small_custom_train_results_fw_v3/best_checkpoints.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a5d9617eba185df15b75da1871c2f2b5d2ab32eb089c21438228e8bcfac1595
3
- size 540763111
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b30a787b8488fb4f230d37ee9fab553e95e18fbf7e7036920069997a5b975534
3
+ size 180980359