Text Classification
Transformers
Safetensors
bert
cross-encoder-reranker
l2
repository-library
repository_library_search_stack
research-library
retrieval
text-embeddings-inference
Instructions to use PeytonT/cross-encoder-reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PeytonT/cross-encoder-reranker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PeytonT/cross-encoder-reranker")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PeytonT/cross-encoder-reranker") model = AutoModelForSequenceClassification.from_pretrained("PeytonT/cross-encoder-reranker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload repository_library model package
Browse files- README.md +84 -0
- config.json +34 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +65 -0
- trainer_state.json +223 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: sentence-transformers/all-MiniLM-L6-v2
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
tags:
|
| 6 |
+
- cross-encoder-reranker
|
| 7 |
+
- l2
|
| 8 |
+
- repository-library
|
| 9 |
+
- repository_library_search_stack
|
| 10 |
+
- research-library
|
| 11 |
+
- retrieval
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Cross Encoder Reranker
|
| 15 |
+
|
| 16 |
+
Reranks retrieved candidates with a cross-encoder scoring pass.
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
- Artifact type: full fine-tuned model
|
| 21 |
+
- Base model: `sentence-transformers/all-MiniLM-L6-v2`
|
| 22 |
+
- Model ID: `L2`
|
| 23 |
+
- Tier: `repository_library_search_stack`
|
| 24 |
+
- Local mirror: `/arxiv/models/repository_library/cross-encoder-reranker`
|
| 25 |
+
- Source checkpoint: `models/checkpoints/L2`
|
| 26 |
+
|
| 27 |
+
This repository is part of the `repository_library` model stack and is mirrored from `/data/repository_library/models/checkpoints` for publication under the `PeytonT` namespace.
|
| 28 |
+
|
| 29 |
+
## Intended Use
|
| 30 |
+
|
| 31 |
+
- Primary use: Reranks retrieved candidates with a cross-encoder scoring pass.
|
| 32 |
+
- Secondary use: retrieval, ranking, planning, or scientific paper tooling inside the broader Repository Library system, depending on the model family.
|
| 33 |
+
- Out of scope: production safety claims, benchmark claims beyond the bundled experiment config, or use outside the model's narrow training objective without task-specific validation.
|
| 34 |
+
|
| 35 |
+
## Training Data
|
| 36 |
+
|
| 37 |
+
This package was trained from the following declared datasets or corpus sources:
|
| 38 |
+
|
| 39 |
+
- `source:github_repos`
|
| 40 |
+
|
| 41 |
+
## Training Procedure
|
| 42 |
+
|
| 43 |
+
- Sources: `github_repos`
|
| 44 |
+
- Input fields: `query, candidate_row`
|
| 45 |
+
- Target fields: `relevance_label`
|
| 46 |
+
- Max samples: `4000`
|
| 47 |
+
- Precision: `bf16`
|
| 48 |
+
- Objective: `cross_entropy`
|
| 49 |
+
- Batch size: `8`
|
| 50 |
+
- Learning rate: `5e-05`
|
| 51 |
+
- Max source tokens: `256`
|
| 52 |
+
- Max target tokens: `256`
|
| 53 |
+
- Max steps: `1000`
|
| 54 |
+
- Notes: Search-stack role added to match models.md coverage; dataset builder may need role-specific supervised labels before promotion.
|
| 55 |
+
|
| 56 |
+
## Evaluation
|
| 57 |
+
|
| 58 |
+
- Declared metrics: `accuracy`
|
| 59 |
+
- Status: local experiment artifact mirrored for release; external benchmark reporting has not been standardized across the full model family yet.
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 65 |
+
|
| 66 |
+
repo_id = "PeytonT/cross-encoder-reranker"
|
| 67 |
+
|
| 68 |
+
tokenizer = AutoTokenizer.from_pretrained(repo_id)
|
| 69 |
+
model = AutoModelForSequenceClassification.from_pretrained(repo_id)
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
## Limitations
|
| 73 |
+
|
| 74 |
+
- These model cards reflect the packaged experiment configs and mirrored checkpoint contents, not an independently audited benchmark sheet.
|
| 75 |
+
- Some training datasets are local corpora or exported shards, so reproducibility may require access to the surrounding Repository Library data pipeline.
|
| 76 |
+
- Models in this stack are narrow components of a larger paper-and-repository system and should be validated on downstream tasks before deployment.
|
| 77 |
+
|
| 78 |
+
## Project Context
|
| 79 |
+
|
| 80 |
+
Repository Library is a research system for indexing, retrieving, aligning, and reasoning over scientific papers, structured paper content, repositories, and cross-domain links between them.
|
| 81 |
+
|
| 82 |
+
## Contact
|
| 83 |
+
|
| 84 |
+
Published under `PeytonT` from the local `repository_library` build.
|
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 384,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "0",
|
| 14 |
+
"1": "1"
|
| 15 |
+
},
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 1536,
|
| 18 |
+
"label2id": {
|
| 19 |
+
"0": 0,
|
| 20 |
+
"1": 1
|
| 21 |
+
},
|
| 22 |
+
"layer_norm_eps": 1e-12,
|
| 23 |
+
"max_position_embeddings": 512,
|
| 24 |
+
"model_type": "bert",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_hidden_layers": 6,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"position_embedding_type": "absolute",
|
| 29 |
+
"problem_type": "single_label_classification",
|
| 30 |
+
"transformers_version": "4.57.6",
|
| 31 |
+
"type_vocab_size": 2,
|
| 32 |
+
"use_cache": true,
|
| 33 |
+
"vocab_size": 30522
|
| 34 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3aebe10e0ac4e8815ecfba79cce9e2d476f1f8beb916fcbb5f1088d6fd42861
|
| 3 |
+
size 90867952
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"mask_token": {
|
| 10 |
+
"content": "[MASK]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "[PAD]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"sep_token": {
|
| 24 |
+
"content": "[SEP]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "[UNK]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
}
|
| 37 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": true,
|
| 48 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"max_length": 128,
|
| 51 |
+
"model_max_length": 512,
|
| 52 |
+
"never_split": null,
|
| 53 |
+
"pad_to_multiple_of": null,
|
| 54 |
+
"pad_token": "[PAD]",
|
| 55 |
+
"pad_token_type_id": 0,
|
| 56 |
+
"padding_side": "right",
|
| 57 |
+
"sep_token": "[SEP]",
|
| 58 |
+
"stride": 0,
|
| 59 |
+
"strip_accents": null,
|
| 60 |
+
"tokenize_chinese_chars": true,
|
| 61 |
+
"tokenizer_class": "BertTokenizer",
|
| 62 |
+
"truncation_side": "right",
|
| 63 |
+
"truncation_strategy": "longest_first",
|
| 64 |
+
"unk_token": "[UNK]"
|
| 65 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 6.666666666666667,
|
| 6 |
+
"eval_steps": 200,
|
| 7 |
+
"global_step": 1000,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.3333333333333333,
|
| 14 |
+
"grad_norm": 0.8791329860687256,
|
| 15 |
+
"learning_rate": 2.45e-05,
|
| 16 |
+
"loss": 0.6936,
|
| 17 |
+
"step": 50
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.6666666666666666,
|
| 21 |
+
"grad_norm": 0.2845050096511841,
|
| 22 |
+
"learning_rate": 4.9500000000000004e-05,
|
| 23 |
+
"loss": 0.6932,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 1.0,
|
| 28 |
+
"grad_norm": 0.37205860018730164,
|
| 29 |
+
"learning_rate": 4.727777777777778e-05,
|
| 30 |
+
"loss": 0.6946,
|
| 31 |
+
"step": 150
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 1.3333333333333333,
|
| 35 |
+
"grad_norm": 0.12644897401332855,
|
| 36 |
+
"learning_rate": 4.4500000000000004e-05,
|
| 37 |
+
"loss": 0.6926,
|
| 38 |
+
"step": 200
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 1.3333333333333333,
|
| 42 |
+
"eval_loss": 0.6942273378372192,
|
| 43 |
+
"eval_runtime": 2.8684,
|
| 44 |
+
"eval_samples_per_second": 89.248,
|
| 45 |
+
"eval_steps_per_second": 29.982,
|
| 46 |
+
"step": 200
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 1.6666666666666665,
|
| 50 |
+
"grad_norm": 0.24128998816013336,
|
| 51 |
+
"learning_rate": 4.172222222222222e-05,
|
| 52 |
+
"loss": 0.6941,
|
| 53 |
+
"step": 250
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"epoch": 2.0,
|
| 57 |
+
"grad_norm": 0.2091750204563141,
|
| 58 |
+
"learning_rate": 3.894444444444444e-05,
|
| 59 |
+
"loss": 0.6928,
|
| 60 |
+
"step": 300
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 2.3333333333333335,
|
| 64 |
+
"grad_norm": 0.38734951615333557,
|
| 65 |
+
"learning_rate": 3.6166666666666674e-05,
|
| 66 |
+
"loss": 0.6919,
|
| 67 |
+
"step": 350
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"epoch": 2.6666666666666665,
|
| 71 |
+
"grad_norm": 0.40688276290893555,
|
| 72 |
+
"learning_rate": 3.338888888888889e-05,
|
| 73 |
+
"loss": 0.6902,
|
| 74 |
+
"step": 400
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 2.6666666666666665,
|
| 78 |
+
"eval_loss": 0.69222491979599,
|
| 79 |
+
"eval_runtime": 2.9811,
|
| 80 |
+
"eval_samples_per_second": 85.876,
|
| 81 |
+
"eval_steps_per_second": 28.849,
|
| 82 |
+
"step": 400
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"epoch": 3.0,
|
| 86 |
+
"grad_norm": 0.5329565405845642,
|
| 87 |
+
"learning_rate": 3.061111111111111e-05,
|
| 88 |
+
"loss": 0.6853,
|
| 89 |
+
"step": 450
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 3.3333333333333335,
|
| 93 |
+
"grad_norm": 2.0410470962524414,
|
| 94 |
+
"learning_rate": 2.7833333333333333e-05,
|
| 95 |
+
"loss": 0.6692,
|
| 96 |
+
"step": 500
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"epoch": 3.6666666666666665,
|
| 100 |
+
"grad_norm": 2.144829273223877,
|
| 101 |
+
"learning_rate": 2.5055555555555555e-05,
|
| 102 |
+
"loss": 0.6764,
|
| 103 |
+
"step": 550
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"epoch": 4.0,
|
| 107 |
+
"grad_norm": 3.855889320373535,
|
| 108 |
+
"learning_rate": 2.2277777777777778e-05,
|
| 109 |
+
"loss": 0.6649,
|
| 110 |
+
"step": 600
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 4.0,
|
| 114 |
+
"eval_loss": 0.6971002817153931,
|
| 115 |
+
"eval_runtime": 2.8952,
|
| 116 |
+
"eval_samples_per_second": 88.423,
|
| 117 |
+
"eval_steps_per_second": 29.704,
|
| 118 |
+
"step": 600
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"epoch": 4.333333333333333,
|
| 122 |
+
"grad_norm": 4.7590532302856445,
|
| 123 |
+
"learning_rate": 1.9500000000000003e-05,
|
| 124 |
+
"loss": 0.6083,
|
| 125 |
+
"step": 650
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"epoch": 4.666666666666667,
|
| 129 |
+
"grad_norm": 6.917613506317139,
|
| 130 |
+
"learning_rate": 1.6722222222222222e-05,
|
| 131 |
+
"loss": 0.5853,
|
| 132 |
+
"step": 700
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"epoch": 5.0,
|
| 136 |
+
"grad_norm": 5.807262420654297,
|
| 137 |
+
"learning_rate": 1.3944444444444446e-05,
|
| 138 |
+
"loss": 0.5841,
|
| 139 |
+
"step": 750
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"epoch": 5.333333333333333,
|
| 143 |
+
"grad_norm": 5.123489856719971,
|
| 144 |
+
"learning_rate": 1.1166666666666668e-05,
|
| 145 |
+
"loss": 0.5277,
|
| 146 |
+
"step": 800
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 5.333333333333333,
|
| 150 |
+
"eval_loss": 0.7716808319091797,
|
| 151 |
+
"eval_runtime": 3.1291,
|
| 152 |
+
"eval_samples_per_second": 81.813,
|
| 153 |
+
"eval_steps_per_second": 27.484,
|
| 154 |
+
"step": 800
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"epoch": 5.666666666666667,
|
| 158 |
+
"grad_norm": 6.377001762390137,
|
| 159 |
+
"learning_rate": 8.38888888888889e-06,
|
| 160 |
+
"loss": 0.4782,
|
| 161 |
+
"step": 850
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"epoch": 6.0,
|
| 165 |
+
"grad_norm": 5.968349933624268,
|
| 166 |
+
"learning_rate": 5.611111111111112e-06,
|
| 167 |
+
"loss": 0.5204,
|
| 168 |
+
"step": 900
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"epoch": 6.333333333333333,
|
| 172 |
+
"grad_norm": 10.05020809173584,
|
| 173 |
+
"learning_rate": 2.8333333333333335e-06,
|
| 174 |
+
"loss": 0.4445,
|
| 175 |
+
"step": 950
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"epoch": 6.666666666666667,
|
| 179 |
+
"grad_norm": 8.618692398071289,
|
| 180 |
+
"learning_rate": 5.555555555555556e-08,
|
| 181 |
+
"loss": 0.481,
|
| 182 |
+
"step": 1000
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"epoch": 6.666666666666667,
|
| 186 |
+
"eval_loss": 0.818778395652771,
|
| 187 |
+
"eval_runtime": 2.8011,
|
| 188 |
+
"eval_samples_per_second": 91.392,
|
| 189 |
+
"eval_steps_per_second": 30.702,
|
| 190 |
+
"step": 1000
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"epoch": 6.666666666666667,
|
| 194 |
+
"step": 1000,
|
| 195 |
+
"total_flos": 397989715968000.0,
|
| 196 |
+
"train_loss": 0.6234129600524903,
|
| 197 |
+
"train_runtime": 85.265,
|
| 198 |
+
"train_samples_per_second": 281.475,
|
| 199 |
+
"train_steps_per_second": 11.728
|
| 200 |
+
}
|
| 201 |
+
],
|
| 202 |
+
"logging_steps": 50,
|
| 203 |
+
"max_steps": 1000,
|
| 204 |
+
"num_input_tokens_seen": 0,
|
| 205 |
+
"num_train_epochs": 7,
|
| 206 |
+
"save_steps": 200,
|
| 207 |
+
"stateful_callbacks": {
|
| 208 |
+
"TrainerControl": {
|
| 209 |
+
"args": {
|
| 210 |
+
"should_epoch_stop": false,
|
| 211 |
+
"should_evaluate": false,
|
| 212 |
+
"should_log": false,
|
| 213 |
+
"should_save": true,
|
| 214 |
+
"should_training_stop": true
|
| 215 |
+
},
|
| 216 |
+
"attributes": {}
|
| 217 |
+
}
|
| 218 |
+
},
|
| 219 |
+
"total_flos": 397989715968000.0,
|
| 220 |
+
"train_batch_size": 24,
|
| 221 |
+
"trial_name": null,
|
| 222 |
+
"trial_params": null
|
| 223 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f38fcbf3ca1d1294efd864ff7fb9a8d947ddb7c48164ae7d78a1494c3b3980e
|
| 3 |
+
size 5777
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|