malya7 commited on
Commit
5e4c0f0
·
verified ·
1 Parent(s): bd9ff00

End of training

Browse files
README.md CHANGED
@@ -15,68 +15,47 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # finetune_colqwen2-v1.0
17
 
18
- This model is a fine-tuned version of [vidore/colqwen2-base](https://huggingface.co/vidore/colqwen2-base) on the custom dataset.
 
 
 
 
 
 
 
 
19
 
20
  ## Model description
21
 
22
- ColQwen is a model based on a novel model architecture and training strategy based on Vision Language Models (VLMs) to efficiently index documents from their visual features.
23
- It is a [Qwen2-VL-2B](https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct) extension that generates [ColBERT](https://arxiv.org/abs/2004.12832)- style multi-vector representations of text and images.
24
- It was introduced in the paper [ColPali: Efficient Document Retrieval with Vision Language Models](https://arxiv.org/abs/2407.01449) and first released in [this repository](https://github.com/ManuelFay/colpali)
25
 
26
- This version is the untrained base version to guarantee deterministic projection layer initialization.
27
- <p align="center"><img width=800 src="https://github.com/illuin-tech/colpali/blob/main/assets/colpali_architecture.webp?raw=true"/></p>
28
 
 
29
 
30
- ## Usage
31
 
32
- ```
33
- model = ColQwen2.from_pretrained(
34
- 'toxic-pandas/finetune_colqwen2-v1.0',
35
- torch_dtype=torch.bfloat16,
36
- device_map=device,
37
- )
38
- ```
39
 
40
- ## Limitations
41
 
42
- - Focus: The model primarily focuses on PDF-type documents and high-ressources languages, potentially limiting its generalization to other document types or less represented languages.
43
- - Support: The model relies on multi-vector retreiving derived from the ColBERT late interaction mechanism, which may require engineering efforts to adapt to widely used vector retrieval frameworks that lack native multi-vector support.
44
-
45
- ## Dataset
46
-
47
- With the help of the GT4-o mini model, a dataset was formed for the completion of the colqwen2-v1.0 model, containing the following fields:
48
-
49
- - document_filename: Filename of the document.
50
- - document_url: Original URL of the document.
51
- - search_query: The query used to fetch the document.
52
- - search_topic: Topic related to the document.
53
- - search_subtopic: Subtopic related to the document.
54
- - search_language: Language specified for the search.
55
- - search_filetype: Filetype filter applied during the search.
56
- - page_number: The page's number within the document.
57
- - page_description: A natural language description of the page.
58
- - page_language: Language used on the page.
59
- - page_contains_table: Boolean indicating the presence of tables.
60
- - page_contains_figure: Boolean indicating the presence of figures.
61
- - page_contains_paragraph: Boolean indicating the presence of paragraphs.
62
- - page_image: The image of the current page.
63
- - query_type: Type of query (e.g., Extractive, Open-ended, Boolean, Compare-contrast, Enumerative, Numerical).
64
- - query_answerability: Answerability level of the query (Fully answerable, Partially answerable, Unanswerable).
65
- - query_modality: Modality used for query generation.
66
- - query_language: Language of the query.
67
- - query_reasoning: Reasoning traces used in query generation.
68
- - query: The actual query text.
69
- - query_is_self_contained: Boolean indicating if the query is self-contained.
70
- - query_is_self_contained_reasoning: Reasoning traces for determining self-contained nature.
71
- - answer: Expected answer to the question from the "query" field.
72
-
73
- ## Training hyperparameters
74
 
75
  The following hyperparameters were used during training:
76
  - learning_rate: 3e-05
 
 
 
 
 
 
 
77
  - lr_scheduler_warmup_steps: 100
78
  - num_epochs: 1
79
 
80
  ### Framework versions
81
 
82
- - Transformers 4.46.3
 
 
 
 
15
 
16
  # finetune_colqwen2-v1.0
17
 
18
+ This model is a fine-tuned version of [vidore/colqwen2-base](https://huggingface.co/vidore/colqwen2-base) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - eval_loss: 0.4260
21
+ - eval_model_preparation_time: 0.0093
22
+ - eval_runtime: 188.0038
23
+ - eval_samples_per_second: 0.532
24
+ - eval_steps_per_second: 0.266
25
+ - epoch: 0.4796
26
+ - step: 100
27
 
28
  ## Model description
29
 
30
+ More information needed
 
 
31
 
32
+ ## Intended uses & limitations
 
33
 
34
+ More information needed
35
 
36
+ ## Training and evaluation data
37
 
38
+ More information needed
 
 
 
 
 
 
39
 
40
+ ## Training procedure
41
 
42
+ ### Training hyperparameters
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
  The following hyperparameters were used during training:
45
  - learning_rate: 3e-05
46
+ - train_batch_size: 2
47
+ - eval_batch_size: 2
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 8
50
+ - total_train_batch_size: 16
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
  - lr_scheduler_warmup_steps: 100
54
  - num_epochs: 1
55
 
56
  ### Framework versions
57
 
58
+ - Transformers 4.46.3
59
+ - Pytorch 2.5.1+cu124
60
+ - Datasets 3.1.0
61
+ - Tokenizers 0.20.3
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3bb816833141e593bd989adbf1a0446c738b2feaf5ad8750219420a3341ff6e2
3
- size 74018232
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:737694a530fa391d7c203a966a1bb565333b58b2e44b34dbb569873213c40be9
3
+ size 147877240
runs/Dec07_23-42-45_l-0037930f-7a7f-43a1-be61-b29649ff25d0/events.out.tfevents.1733619250.l-0037930f-7a7f-43a1-be61-b29649ff25d0.8134.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98bfe3d085b76891ff92ca67d1b1fe913cb121cd8cd9b1efe645b4da4e83971c
3
+ size 419
runs/Dec08_01-50-09_l-0037930f-7a7f-43a1-be61-b29649ff25d0/events.out.tfevents.1733622806.l-0037930f-7a7f-43a1-be61-b29649ff25d0.14785.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e96a77d9965b71f6a40d6eab1ef4760136a7f168040cc9f6a1d78a6a4e9725f
3
+ size 13450
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fec017bd2b6a69984ac01cda5d0f949d6d333672167fbaf8cc184975fbebeaec
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9998ff654976e43ce1429edcdbc9ebe6798f7e1651880877429a9fedf934186f
3
  size 5304