Commit ·
4aefeaa
1
Parent(s): d43946a
v3.2 hotfix with some corrections
Browse files- .gitignore +2 -0
- model.safetensors +1 -1
- src/test_t5.py +1 -1
- tokenizer.json +6 -1
- training_args.bin +3 -0
.gitignore
CHANGED
|
@@ -3,6 +3,8 @@
|
|
| 3 |
/src/data/syriac**.jsonl
|
| 4 |
/src/data/sedra**.jsonl
|
| 5 |
/src/data/corpus**.jsonl
|
|
|
|
|
|
|
| 6 |
/src/data/**.txt
|
| 7 |
/logs/**
|
| 8 |
/checkpoints/**
|
|
|
|
| 3 |
/src/data/syriac**.jsonl
|
| 4 |
/src/data/sedra**.jsonl
|
| 5 |
/src/data/corpus**.jsonl
|
| 6 |
+
/src/data/correction**.jsonl
|
| 7 |
+
/src/finetune_corrections.py
|
| 8 |
/src/data/**.txt
|
| 9 |
/logs/**
|
| 10 |
/checkpoints/**
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 209216552
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:366187761c180de342bc1d86daa7191034d2b0e70a34d7724081c4f9bde8d638
|
| 3 |
size 209216552
|
src/test_t5.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import AutoTokenizer, T5ForConditionalGeneration, pipeline
|
| 2 |
|
| 3 |
# HF Hub path config
|
| 4 |
-
model_path = "
|
| 5 |
|
| 6 |
# Unicode directional formatting for RTL text (Syriac)
|
| 7 |
RLI = "\u2067" # Right-to-Left Isolate
|
|
|
|
| 1 |
from transformers import AutoTokenizer, T5ForConditionalGeneration, pipeline
|
| 2 |
|
| 3 |
# HF Hub path config
|
| 4 |
+
model_path = "checkpoints/aramt5"
|
| 5 |
|
| 6 |
# Unicode directional formatting for RTL text (Syriac)
|
| 7 |
RLI = "\u2067" # Right-to-Left Isolate
|
tokenizer.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": null,
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 128,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
"padding": null,
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57859de1703fd61d7e4a8046b1f9eb356e9e8313bf4da88e5f43f4118c24b191
|
| 3 |
+
size 5905
|