feat: test upload - Trendyol DinoV2 Product Similarity and Retrieval Embedding Model
Browse files🧪 Test Upload Details:
- Personal account testing before company publication
- Architecture: ConvNeXt-Base + ArcFace loss
- Embedding dimension: 256
- Task: Product similarity and retrieval
📁 Repository Contents:
- Model weights in safetensors format
- Complete model card with usage examples
- Apache 2.0 license
- Demo notebook for inference
🔒 Security: Scanned and validated
📋 RFC Compliance: Ready for company publication
Test upload by: Personal Account
- LICENSE +27 -175
- README.md +3 -2
- __pycache__/modeling_trendyol_dinov2.cpython-312.pyc +0 -0
LICENSE
CHANGED
@@ -1,189 +1,41 @@
|
|
1 |
-
|
2 |
-
Version 2.0, January 2004
|
3 |
-
http://www.apache.org/licenses/
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
|
8 |
|
9 |
-
|
10 |
-
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
|
12 |
-
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
control with that entity. For the purposes of the definition of
|
17 |
-
"control", an entity controls another entity when such entity:
|
18 |
-
(i) has the power, direct or indirect, to cause the direction or
|
19 |
-
management of such other entity, whether by contract or otherwise,
|
20 |
-
(ii) owns fifty percent (50%) or more of the outstanding shares, or
|
21 |
-
(iii) has beneficial ownership of such entity.
|
22 |
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
-
|
27 |
-
including but not limited to software source code, documentation
|
28 |
-
source, and configuration files.
|
29 |
|
30 |
-
|
31 |
-
transformation or translation of a Source form, including but
|
32 |
-
not limited to compiled object code, generated documentation,
|
33 |
-
and conversions to other media types.
|
34 |
|
35 |
-
|
36 |
-
Object form, made available under the License, as indicated by a
|
37 |
-
copyright notice that is included in or attached to the work
|
38 |
-
(which shall not include communication that is conspicuously
|
39 |
-
marked or otherwise designated in writing by the copyright owner
|
40 |
-
as "Not a Contribution").
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
editorial revisions, annotations, elaborations, or other modifications
|
45 |
-
represent, as a whole, an original work of authorship. For the purposes
|
46 |
-
of this License, Derivative Works shall not include works that remain
|
47 |
-
separable from, or merely link (or bind by name) to the interfaces of,
|
48 |
-
the Work and derivative works thereof.
|
49 |
|
50 |
-
|
51 |
-
the original version of the Work and any modifications or additions
|
52 |
-
to that Work or Derivative Works thereof, that is intentionally
|
53 |
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
54 |
-
or by an individual or Legal Entity authorized to submit on behalf of
|
55 |
-
the copyright owner. For the purposes of the definition of "Contribution",
|
56 |
-
any such Contribution intentionally submitted for inclusion in the Work
|
57 |
-
by You to the Licensor shall be deemed to have been made under the
|
58 |
-
terms and conditions of this License, without any additional terms or
|
59 |
-
conditions. Notwithstanding the above, nothing herein shall supersede or
|
60 |
-
modify the terms of any separate license agreement you may have executed
|
61 |
-
with Licensor regarding such Contributions.
|
62 |
|
63 |
-
|
64 |
-
this License, each Contributor hereby grants to You a perpetual,
|
65 |
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
66 |
-
copyright license to use, reproduce, modify, merge, publish,
|
67 |
-
distribute, sublicense, and/or sell copies of the Work, and to
|
68 |
-
permit persons to whom the Work is furnished to do so, subject to
|
69 |
-
the following conditions:
|
70 |
|
71 |
-
|
72 |
-
included in all copies or substantial portions of the Work.
|
73 |
|
74 |
-
|
75 |
-
this License, each Contributor hereby grants to You a perpetual,
|
76 |
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77 |
-
(except as stated in this section) patent license to make, have made,
|
78 |
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79 |
-
where such license applies only to those patent claims licensable
|
80 |
-
by such Contributor that are necessarily infringed by their
|
81 |
-
Contribution(s) alone or by combination of their Contribution(s)
|
82 |
-
with the Work to which such Contribution(s) was submitted. If You
|
83 |
-
institute patent litigation against any entity (including a
|
84 |
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85 |
-
or a Contribution incorporated within the Work constitutes direct
|
86 |
-
or contributory patent infringement, then any patent licenses
|
87 |
-
granted to You under this License for that Work shall terminate
|
88 |
-
as of the date such litigation is filed.
|
89 |
-
|
90 |
-
4. Redistribution. You may reproduce and distribute copies of the
|
91 |
-
Work or Derivative Works thereof in any medium, with or without
|
92 |
-
modifications, and in Source or Object form, provided that You
|
93 |
-
meet the following conditions:
|
94 |
-
|
95 |
-
(a) You must give any other recipients of the Work or
|
96 |
-
Derivative Works a copy of this License; and
|
97 |
-
|
98 |
-
(b) You must cause any modified files to carry prominent notices
|
99 |
-
stating that You changed the files; and
|
100 |
-
|
101 |
-
(c) You must retain, in the Source form of any Derivative Works
|
102 |
-
that You distribute, all copyright, trademark, patent,
|
103 |
-
and attribution notices from the Source form of the Work,
|
104 |
-
excluding those notices that do not pertain to any part of
|
105 |
-
the Derivative Works; and
|
106 |
-
|
107 |
-
(d) If the Work includes a "NOTICE" text file as part of its
|
108 |
-
distribution, then any Derivative Works that You distribute must
|
109 |
-
include a readable copy of the attribution notices contained
|
110 |
-
within such NOTICE file, excluding those notices that do not
|
111 |
-
pertain to any part of the Derivative Works, in at least one
|
112 |
-
of the following places: within a NOTICE text file distributed
|
113 |
-
as part of the Derivative Works; within the Source form or
|
114 |
-
documentation, if provided along with the Derivative Works; or,
|
115 |
-
within a display generated by the Derivative Works, if and
|
116 |
-
wherever such third-party notices normally appear. The contents
|
117 |
-
of the NOTICE file are for informational purposes only and
|
118 |
-
do not modify the License. You may add Your own attribution
|
119 |
-
notices within Derivative Works that You distribute, alongside
|
120 |
-
or as an addendum to the NOTICE text from the Work, provided
|
121 |
-
that such additional attribution notices cannot be construed
|
122 |
-
as modifying the License.
|
123 |
-
|
124 |
-
You may add Your own copyright notice to Your modifications and
|
125 |
-
may provide additional or different license terms and conditions
|
126 |
-
for use, reproduction, or distribution of Your modifications, or
|
127 |
-
for any such Derivative Works as a whole, provided Your use,
|
128 |
-
reproduction, and distribution of the Work otherwise complies with
|
129 |
-
the conditions stated in this License.
|
130 |
-
|
131 |
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132 |
-
any Contribution intentionally submitted for inclusion in the Work
|
133 |
-
by You to the Licensor shall be under the terms and conditions of
|
134 |
-
this License, without any additional terms or conditions.
|
135 |
-
Notwithstanding the above, nothing herein shall supersede or modify
|
136 |
-
the terms of any separate license agreement you may have executed
|
137 |
-
with Licensor regarding such Contributions.
|
138 |
-
|
139 |
-
6. Trademarks. This License does not grant permission to use the trade
|
140 |
-
names, trademarks, service marks, or product names of the Licensor,
|
141 |
-
except as required for reasonable and customary use in describing the
|
142 |
-
origin of the Work and reproducing the content of the NOTICE file.
|
143 |
-
|
144 |
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
145 |
-
agreed to in writing, Licensor provides the Work (and each
|
146 |
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147 |
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148 |
-
implied, including, without limitation, any warranties or conditions
|
149 |
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150 |
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151 |
-
appropriateness of using or redistributing the Work and assume any
|
152 |
-
risks associated with Your exercise of permissions under this License.
|
153 |
-
|
154 |
-
8. Limitation of Liability. In no event and under no legal theory,
|
155 |
-
whether in tort (including negligence), contract, or otherwise,
|
156 |
-
unless required by applicable law (such as deliberate and grossly
|
157 |
-
negligent acts) or agreed to in writing, shall any Contributor be
|
158 |
-
liable to You for damages, including any direct, indirect, special,
|
159 |
-
incidental, or consequential damages of any character arising as a
|
160 |
-
result of this License or out of the use or inability to use the
|
161 |
-
Work (including but not limited to damages for loss of goodwill,
|
162 |
-
work stoppage, computer failure or malfunction, or any and all
|
163 |
-
other commercial damages or losses), even if such Contributor
|
164 |
-
has been advised of the possibility of such damages.
|
165 |
-
|
166 |
-
9. Accepting Warranty or Support. You are not required to accept
|
167 |
-
warranty or support for the Work under this License. However, if You
|
168 |
-
choose to accept warranty or support, You may act only on Your own
|
169 |
-
behalf and on Your sole responsibility, not on behalf of any other
|
170 |
-
Contributor, and only if You agree to indemnify, defend, and hold each
|
171 |
-
Contributor harmless for any liability incurred by, or claims asserted
|
172 |
-
against, such Contributor by reason of your accepting any such warranty
|
173 |
-
or support.
|
174 |
-
|
175 |
-
END OF TERMS AND CONDITIONS
|
176 |
-
|
177 |
-
Copyright 2025 Trendyol
|
178 |
-
|
179 |
-
Licensed under the Apache License, Version 2.0 (the "License");
|
180 |
-
you may not use this file except in compliance with the License.
|
181 |
-
You may obtain a copy of the License at
|
182 |
-
|
183 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
184 |
-
|
185 |
-
Unless required by applicable law or agreed to in writing, software
|
186 |
-
distributed under the License is distributed on an "AS IS" BASIS,
|
187 |
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
188 |
-
See the License for the specific language governing permissions and
|
189 |
-
limitations under the License.
|
|
|
1 |
+
# Copyright (c) 2025 Trendyol
|
|
|
|
|
2 |
|
3 |
+
This work, including the model weights and code, is licensed under the
|
4 |
+
Creative Commons Attribution-ShareAlike 4.0 International License.
|
5 |
+
A copy of the license is available at:
|
6 |
+
http://creativecommons.org/licenses/by-sa/4.0/
|
7 |
+
================================================================================
|
8 |
|
9 |
+
---
|
10 |
|
11 |
+
### Human-Readable Summary of the License:
|
|
|
12 |
|
13 |
+
---
|
14 |
|
15 |
+
This is a summary of the CC BY-SA 4.0 license and not a substitute for the full license text.
|
16 |
+
**You are free to:**
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
- **Share** — copy and redistribute the material in any medium or format for any purpose, even commercially.
|
19 |
+
- **Adapt** — remix, transform, and build upon the material for any purpose, even commercially.
|
20 |
+
The licensor cannot revoke these freedoms as long as you follow the license terms.
|
21 |
+
**Under the following terms:**
|
22 |
+
- **Attribution (BY)** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
23 |
+
- **ShareAlike (SA)** — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
|
24 |
+
- **No additional restrictions** — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
25 |
|
26 |
+
---
|
|
|
|
|
27 |
|
28 |
+
### Attribution Requirements
|
|
|
|
|
|
|
29 |
|
30 |
+
---
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
+
If you use this model or its derivatives, you must provide proper attribution. Please cite our work as follows:
|
33 |
+
"Trendyol DinoV2 Image Similarity Model, licensed under CC BY-SA 4.0. Available at: https://huggingface.co/Trendyol/trendyol-dino-v2-ecommerce-256d"
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
+
### Disclaimer of Warranty
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
+
---
|
|
|
40 |
|
41 |
+
Unless required by applicable law or agreed to in writing, the Work is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with your exercise of permissions under this License.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -128,16 +128,17 @@ This model is designed for:
|
|
128 |
|
129 |
## License
|
130 |
|
131 |
-
This model is released by Trendyol
|
132 |
|
133 |
You are allowed to:
|
134 |
- View, download, and evaluate the model weights.
|
135 |
- Use the model for non-commercial research and internal testing.
|
136 |
- Use the model or its derivatives for commercial purposes, provided that:
|
137 |
- You cite Trendyol as the original model creator.
|
138 |
-
- You
|
139 |
|
140 |
You are not allowed to:
|
|
|
141 |
- Use the model in applications violating ethical standards, including but not limited to surveillance, misinformation, or harm to individuals or groups.
|
142 |
|
143 |
By downloading or using this model, you agree to the terms above.
|
|
|
128 |
|
129 |
## License
|
130 |
|
131 |
+
This model is released by Trendyol as a source-available, non-open-source model. See the [LICENSE file](https://huggingface.co/Trendyol/trendyol-dino-v2-ecommerce-256d/blob/main/LICENSE) for full details.
|
132 |
|
133 |
You are allowed to:
|
134 |
- View, download, and evaluate the model weights.
|
135 |
- Use the model for non-commercial research and internal testing.
|
136 |
- Use the model or its derivatives for commercial purposes, provided that:
|
137 |
- You cite Trendyol as the original model creator.
|
138 |
+
- You notify Trendyol in advance via scr.[email protected] or other designated contact.
|
139 |
|
140 |
You are not allowed to:
|
141 |
+
- Redistribute or host the model or its derivatives on third-party platforms without prior written consent from Trendyol.
|
142 |
- Use the model in applications violating ethical standards, including but not limited to surveillance, misinformation, or harm to individuals or groups.
|
143 |
|
144 |
By downloading or using this model, you agree to the terms above.
|
__pycache__/modeling_trendyol_dinov2.cpython-312.pyc
CHANGED
Binary files a/__pycache__/modeling_trendyol_dinov2.cpython-312.pyc and b/__pycache__/modeling_trendyol_dinov2.cpython-312.pyc differ
|
|