Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
6f8ba33
Merge pull request #6 from iamtatsuki05/develop
iamtatsuki05 Oct 23, 2025
a9c268c
Merge pull request #12 from iamtatsuki05/develop
iamtatsuki05 Nov 12, 2025
23eb00c
Merge pull request #14 from iamtatsuki05/develop
iamtatsuki05 Nov 24, 2025
a299efd
Merge pull request #27 from iamtatsuki05/develop
iamtatsuki05 Mar 13, 2026
8ff051e
Add Japanese 3B training configs
iamtatsuki05 May 24, 2026
9806c01
Increase save_total_limit to 20 in multiple training configuration files
iamtatsuki05 May 24, 2026
b2d43a3
Add evaluation configuration files for various models and tasks
iamtatsuki05 May 24, 2026
6edde90
Increase num_train_epochs to 6 in Llama-JP-3B and ModernBERT-JP-3B tr…
iamtatsuki05 May 24, 2026
b04d299
Enhance JGLUE and Sentence Model Configurations
iamtatsuki05 May 25, 2026
15410f6
Set streaming to false in training configuration files for Llama and …
iamtatsuki05 May 25, 2026
99f0264
Update validation_split_percentage to 30 in Llama and ModernBERT trai…
iamtatsuki05 May 28, 2026
2c3b6dd
Add configuration files for Llama and ModernBERT models in English an…
iamtatsuki05 May 28, 2026
a0a536b
Add ddp_timeout configuration to various model training files and upd…
iamtatsuki05 Jun 4, 2026
ce465fd
Remove deepspeed configuration from various model training files
iamtatsuki05 Jun 6, 2026
7e5824b
Update training configurations for Llama and ModernBERT models
iamtatsuki05 Jun 10, 2026
7da2bd4
Update num_train_epochs for Llama and ModernBERT models in training c…
iamtatsuki05 Jun 11, 2026
4a5b29b
Adjust num_train_epochs for Llama and ModernBERT models across variou…
iamtatsuki05 Jun 11, 2026
d771ef6
Update logging steps for training configurations to improve logging f…
iamtatsuki05 Jun 20, 2026
6c8336e
Update validation split percentage and num_train_epochs for Llama and…
iamtatsuki05 Jun 20, 2026
3a8a011
Increase batch size and reduce gradient accumulation steps for Llama …
iamtatsuki05 Jun 21, 2026
86b4f65
Update num_train_epochs to 0.2 for Llama and ModernBERT training conf…
iamtatsuki05 Jun 22, 2026
1ecb316
Update wandb dependency to version 0.20.1 and add setproctitle package
iamtatsuki05 Jun 27, 2026
c5b720c
Increase batch size and reduce gradient accumulation steps for traini…
iamtatsuki05 Jun 27, 2026
7022fcd
Increase per-device batch size to 16 for training and evaluation acro…
iamtatsuki05 Jun 27, 2026
e9b55fe
Reduce gradient accumulation steps from 128 to 32 for multiple traini…
iamtatsuki05 Jun 27, 2026
6cf34de
Add gradient checkpointing to training configurations for various models
iamtatsuki05 Jun 27, 2026
aa05fe2
Add gather_across_devices parameter to model configurations and updat…
iamtatsuki05 Jun 27, 2026
7c0cefd
Add loss_cache_mini_batch_size parameter to training configurations f…
iamtatsuki05 Jun 28, 2026
4c6022c
Update batch sizes and gradient accumulation steps for training confi…
iamtatsuki05 Jun 28, 2026
866e2e1
Add label column casting for grouped sampling in dataset loading
iamtatsuki05 Jun 28, 2026
ca60076
Update file type validation to include 'jsonl' for training and valid…
iamtatsuki05 Jun 28, 2026
4a250d8
Update training configurations to increase batch sizes and reduce gra…
iamtatsuki05 Jun 28, 2026
b08a0b6
Update training configurations to increase batch sizes and reduce gra…
iamtatsuki05 Jun 28, 2026
13ad815
Update training configurations to increase batch sizes and adjust gra…
iamtatsuki05 Jun 28, 2026
06721e5
Increase save_total_limit to 50 for various model training configurat…
iamtatsuki05 Jul 9, 2026
d5c68f8
Add bidirectional Qwen2 model implementation and update model initial…
iamtatsuki05 Jul 18, 2026
571f275
Remove outdated evaluation configuration files for Sarashina models a…
iamtatsuki05 Jul 18, 2026
ff81c0a
Enhance isotropic evaluation scripts: update README files for output …
iamtatsuki05 Jul 19, 2026
5cda1fc
Add evaluation configuration files for InstructLM and Qwen2.5 models …
iamtatsuki05 Jul 20, 2026
9b23dbf
Add evaluation configuration file for Sarashina-Bi-JP-0.5B model on J…
iamtatsuki05 Jul 21, 2026
f722c3e
Add batch size configuration to isotropic evaluation JSON files and u…
iamtatsuki05 Jul 21, 2026
51e6e58
Update isotropic evaluation configurations and model loading to suppo…
iamtatsuki05 Jul 22, 2026
11a3a8d
Update model configurations to enhance training efficiency and perfor…
iamtatsuki05 Jul 23, 2026
1fe8cad
Add attention implementation argument to model configuration
iamtatsuki05 Jul 23, 2026
984b6da
Add evaluation configuration files for Sarashina models across variou…
iamtatsuki05 Jul 23, 2026
3966b99
Remove 512 from batch size configurations in evaluation JSON files
iamtatsuki05 Jul 23, 2026
81d8f84
Update deepspeed configuration across evaluation JSON files
iamtatsuki05 Jul 23, 2026
cc58753
Update JCoLA metric handling to support case-insensitive task names
iamtatsuki05 Jul 23, 2026
2087e78
Update evaluation configurations for various models
iamtatsuki05 Jul 23, 2026
51230ca
Add right-padding configuration and finite metric evaluation to GLUE …
iamtatsuki05 Jul 23, 2026
90ac97a
Add extractive question answering training and evaluation scripts
iamtatsuki05 Jul 24, 2026
02464a0
Adjust gradient accumulation steps across various model configuration…
iamtatsuki05 Jul 24, 2026
12117ef
Refine answer tokenization to ensure search remains within context sp…
iamtatsuki05 Jul 26, 2026
a0f57e3
Add training-free geometry and attention analysis suite for sentence …
iamtatsuki05 Jul 29, 2026
c86ed86
Add geometry-source selection and per-sentence attention / STS pair d…
iamtatsuki05 Jul 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"mode": "ft",
"repo_id": "sentence-transformers/embedding-training-data",
"revision": "015d73e06b0686135d4d8340b1c68177d204b412",
"output_dir": "data/processed/english_embedding/ft",
"sources": [
{
"file_name": "AllNLI.jsonl.gz",
"label": "nli",
"kind": "triplet"
},
{
"file_name": "msmarco-triplets.jsonl.gz",
"label": "msmarco",
"kind": "triplet"
},
{
"file_name": "quora_duplicates_triplets.jsonl.gz",
"label": "quora",
"kind": "triplet"
},
{
"file_name": "NQ-train_pairs.jsonl.gz",
"label": "nq",
"kind": "pair",
"random_negative": true
},
{
"file_name": "squad_pairs.jsonl.gz",
"label": "squad",
"kind": "pair",
"random_negative": true
},
{
"file_name": "TriviaQA_pairs.jsonl.gz",
"label": "triviaqa",
"kind": "pair",
"random_negative": true
}
],
"validation_fraction": 0.01,
"seed": 42,
"max_samples_per_source": null
}
137 changes: 137 additions & 0 deletions config/constract_llm/dataset/prepare_english_embedding_data/wsl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"mode": "wsl",
"repo_id": "sentence-transformers/embedding-training-data",
"revision": "015d73e06b0686135d4d8340b1c68177d204b412",
"output_dir": "data/processed/english_embedding/wsl",
"sources": [
{
"file_name": "NQ-train_pairs.jsonl.gz",
"label": "nq",
"kind": "pair"
},
{
"file_name": "squad_pairs.jsonl.gz",
"label": "squad",
"kind": "pair"
},
{
"file_name": "TriviaQA_pairs.jsonl.gz",
"label": "triviaqa",
"kind": "pair"
},
{
"file_name": "gooaq_pairs.jsonl.gz",
"label": "gooaq",
"kind": "pair"
},
{
"file_name": "quora_duplicates.jsonl.gz",
"label": "quora",
"kind": "pair"
},
{
"file_name": "WikiAnswers.jsonl.gz",
"label": "wikianswers",
"kind": "pair"
},
{
"file_name": "PAQ_pairs.jsonl.gz",
"label": "paq",
"kind": "pair",
"max_samples": 4600000
},
{
"file_name": "amazon-qa.jsonl.gz",
"label": "amazon_qa",
"kind": "pair"
},
{
"file_name": "eli5_question_answer.jsonl.gz",
"label": "eli5",
"kind": "pair"
},
{
"file_name": "searchQA_top5_snippets.jsonl.gz",
"label": "searchqa",
"kind": "pair"
},
{
"file_name": "yahoo_answers_question_answer.jsonl.gz",
"label": "yahoo_qa",
"kind": "pair"
},
{
"file_name": "yahoo_answers_title_answer.jsonl.gz",
"label": "yahoo_title_answer",
"kind": "pair"
},
{
"file_name": "yahoo_answers_title_question.jsonl.gz",
"label": "yahoo_title_question",
"kind": "pair"
},
{
"file_name": "agnews.jsonl.gz",
"label": "agnews",
"kind": "pair"
},
{
"file_name": "ccnews_title_text.jsonl.gz",
"label": "ccnews",
"kind": "pair"
},
{
"file_name": "npr.jsonl.gz",
"label": "npr",
"kind": "pair"
},
{
"file_name": "cnn_dailymail.jsonl.gz",
"label": "cnn_dailymail",
"kind": "pair"
},
{
"file_name": "xsum.jsonl.gz",
"label": "xsum",
"kind": "pair"
},
{
"file_name": "stackexchange_duplicate_questions_title_title.jsonl.gz",
"label": "stackexchange_title",
"kind": "pair"
},
{
"file_name": "stackexchange_duplicate_questions_body_body.jsonl.gz",
"label": "stackexchange_body",
"kind": "pair"
},
{
"file_name": "stackexchange_duplicate_questions_title-body_title-body.jsonl.gz",
"label": "stackexchange_title_body",
"kind": "pair"
},
{
"file_name": "altlex.jsonl.gz",
"label": "altlex",
"kind": "pair"
},
{
"file_name": "SimpleWiki.jsonl.gz",
"label": "simplewiki",
"kind": "pair"
},
{
"file_name": "sentence-compression.jsonl.gz",
"label": "sentence_compression",
"kind": "pair"
},
{
"file_name": "wikihow.jsonl.gz",
"label": "wikihow",
"kind": "pair"
}
],
"validation_fraction": 0.01,
"seed": 42,
"max_samples_per_source": null
}
18 changes: 18 additions & 0 deletions config/constract_llm/eval/analysis/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-ModernBERT-JP-0.5B",
"model_revision": null,
"output_dir": "data/outputs/eval/analysis/Sentence-ModernBERT-JP-0.5B",
"language": "ja",
"num_examples": 2000,
"num_attention_examples": 32,
"attention_max_tokens": 128,
"batch_size": 16,
"max_seq_length": 512,
"seed": 42,
"dtype": "bfloat16",
"with_attention": true,
"with_layer_sts": true,
"with_kill_test": true,
"dump_layer_embeddings": false,
"sts_max_pairs": 1500
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-InstructLM-Bi-EN-0.5B",
"output_dir": "data/outputs/bench_sbert/sentence-instructlm-bi-en-0.5b",
"dataset_name_or_path": "google/wiki40b",
"dataset_config_name": "en",
"dataset_split": "train",
"text_fields": [
"text"
],
"streaming": false,
"batch_sizes": [
16,
32,
64,
128,
256
],
"seq_lengths": [
128,
256,
512
],
"device": "cuda",
"dtype": "bfloat16",
"normalize_embeddings": true,
"max_use_samples": 100000,
"monitor_interval_ms": 100,
"warmup_fraction": 0.0,
"show_progress": true,
"trust_remote_code": true,
"attn_implementation": "flash_attention_2",
"model_extra_kwargs": {},
"tokenizer_extra_kwargs": {},
"common_extra_kwargs": {}
}
35 changes: 35 additions & 0 deletions config/constract_llm/eval/bench_sbert/sentence-llama-bi-1b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-Llama-Bi-JP-1B",
"output_dir": "data/outputs/bench_sbert/llama-bi-1b",
"dataset_name_or_path": "fujiki/wiki40b_ja",
"dataset_config_name": "default",
"dataset_split": "train",
"text_fields": [
"text"
],
"streaming": true,
"batch_sizes": [
16,
32,
64,
128,
256
],
"seq_lengths": [
128,
256,
512
],
"device": "cuda",
"dtype": "bfloat16",
"normalize_embeddings": true,
"max_use_samples": 100000,
"monitor_interval_ms": 100,
"warmup_fraction": 0.0,
"show_progress": true,
"trust_remote_code": true,
"attn_implementation": "flash_attention_2",
"model_extra_kwargs": {},
"tokenizer_extra_kwargs": {},
"common_extra_kwargs": {}
}
35 changes: 35 additions & 0 deletions config/constract_llm/eval/bench_sbert/sentence-llama-bi-3b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-Llama-Bi-JP-3B",
"output_dir": "data/outputs/bench_sbert/llama-bi-3b",
"dataset_name_or_path": "fujiki/wiki40b_ja",
"dataset_config_name": "default",
"dataset_split": "train",
"text_fields": [
"text"
],
"streaming": true,
"batch_sizes": [
16,
32,
64,
128,
256
],
"seq_lengths": [
128,
256,
512
],
"device": "cuda",
"dtype": "bfloat16",
"normalize_embeddings": true,
"max_use_samples": 100000,
"monitor_interval_ms": 100,
"warmup_fraction": 0.0,
"show_progress": true,
"trust_remote_code": true,
"attn_implementation": "flash_attention_2",
"model_extra_kwargs": {},
"tokenizer_extra_kwargs": {},
"common_extra_kwargs": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-Llama-Bi-EN-0.5B",
"output_dir": "data/outputs/bench_sbert/sentence-llama-bi-en-0.5b",
"dataset_name_or_path": "google/wiki40b",
"dataset_config_name": "en",
"dataset_split": "train",
"text_fields": [
"text"
],
"streaming": true,
"batch_sizes": [
16,
32,
64,
128,
256
],
"seq_lengths": [
128,
256,
512
],
"device": "cuda",
"dtype": "bfloat16",
"normalize_embeddings": true,
"max_use_samples": 100000,
"monitor_interval_ms": 100,
"warmup_fraction": 0.0,
"show_progress": true,
"trust_remote_code": true,
"attn_implementation": "flash_attention_2",
"model_extra_kwargs": {},
"tokenizer_extra_kwargs": {},
"common_extra_kwargs": {}
}
35 changes: 35 additions & 0 deletions config/constract_llm/eval/bench_sbert/sentence-llama-bi-en-1b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"model_name_or_path": "iamtatsuki05/Sentence-Llama-Bi-EN-1B",
"output_dir": "data/outputs/bench_sbert/sentence-llama-bi-en-1b",
"dataset_name_or_path": "google/wiki40b",
"dataset_config_name": "en",
"dataset_split": "train",
"text_fields": [
"text"
],
"streaming": true,
"batch_sizes": [
16,
32,
64,
128,
256
],
"seq_lengths": [
128,
256,
512
],
"device": "cuda",
"dtype": "bfloat16",
"normalize_embeddings": true,
"max_use_samples": 100000,
"monitor_interval_ms": 100,
"warmup_fraction": 0.0,
"show_progress": true,
"trust_remote_code": true,
"attn_implementation": "flash_attention_2",
"model_extra_kwargs": {},
"tokenizer_extra_kwargs": {},
"common_extra_kwargs": {}
}
Loading
Loading