Upload fine-tuned LegalBERT retriever
Browse files- 1_Pooling/config.json +10 -0
- README.md +634 -0
- config.json +27 -0
- config_sentence_transformers.json +10 -0
- model.safetensors +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
3 |
+
"pooling_mode_cls_token": false,
|
4 |
+
"pooling_mode_mean_tokens": true,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,634 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- sentence-transformers
|
4 |
+
- sentence-similarity
|
5 |
+
- feature-extraction
|
6 |
+
- generated_from_trainer
|
7 |
+
- dataset_size:999
|
8 |
+
- loss:CosineSimilarityLoss
|
9 |
+
base_model: nlpaueb/legal-bert-base-uncased
|
10 |
+
widget:
|
11 |
+
- source_sentence: What is a bail application?
|
12 |
+
sentences:
|
13 |
+
- 'Duration of Panchayats, etc
|
14 |
+
|
15 |
+
(1) Every Panchayat, unless sooner dissolved under any law for the time being
|
16 |
+
in force, shall continue for five years from the date appointed for its first
|
17 |
+
meeting and no longer
|
18 |
+
|
19 |
+
(2) No amendment of any law for the time being in force shall have the effect
|
20 |
+
of causing dissolution of a Panchayat at any level, which is functioning immediately
|
21 |
+
before such amendment, till the expiration of its duration specified in clause
|
22 |
+
( 1 )
|
23 |
+
|
24 |
+
(3) An election to constitute a Panchayat shall be completed
|
25 |
+
|
26 |
+
(a) before the expiry of its duration specified in clause ( 1 );
|
27 |
+
|
28 |
+
(b) before the expiration of a period of six months from the date of its dissolution:
|
29 |
+
Provided that where the remainder of the period for which the dissolved Panchayat
|
30 |
+
would have continued is less than six months, it shall not be necessary to hold
|
31 |
+
any election under this clause for constituting the Panchayat
|
32 |
+
|
33 |
+
(4) A Panchayat constituted upon the dissolution of a Panchayat before the expiration
|
34 |
+
of its duration shall continue only for the remainder of the period for which
|
35 |
+
the dissolved Panchayat would have continued under clause ( 1 ) had it not been
|
36 |
+
so dissolved"
|
37 |
+
|
38 |
+
Article 243F of Indian Constitution,"Disqualifications for membership
|
39 |
+
|
40 |
+
(1) A person shall be disqualified for being chosen as, and for being, a member
|
41 |
+
of a Panchayat
|
42 |
+
|
43 |
+
(a) if he is so disqualified by or under any law for the time being in force for
|
44 |
+
the purposes of elections to the Legislature of the State concerned: Provided
|
45 |
+
that no person shall be disqualified on the ground that be is less than twenty
|
46 |
+
five years of age, if he has attained the age of twenty one years;
|
47 |
+
|
48 |
+
(b) if he is so disqualified by or under any law made by the Legislature of the
|
49 |
+
State
|
50 |
+
|
51 |
+
(2) If any question arises as to whether a member of a Panchayat has become subject
|
52 |
+
to any of the disqualifications mentioned in clause ( 1 ), the question shall
|
53 |
+
be referred for the decision of such authority and in such manner as the Legislature
|
54 |
+
of a State may, by law, provide","Below is an instruction that describes a task
|
55 |
+
or a question. Write a response that appropriately completes the request.'
|
56 |
+
- A bail application is a petition filed by an accused person requesting release
|
57 |
+
from custody during the pendency of legal proceedings. It is filed in the court
|
58 |
+
where the case is pending trial or appeal. The court has discretion to grant or
|
59 |
+
deny bail based on criteria like flight risktampering with evidenceprevious criminal
|
60 |
+
record etc.
|
61 |
+
- 'Language to be used in Parliament
|
62 |
+
|
63 |
+
(1) Notwithstanding anything in Part XVII, but subject to the Article 348, business
|
64 |
+
in Parliament shall be transacted in Hindi or in English: Provided that the Chairman
|
65 |
+
of the Council of States or Speaker of the House of the People, or Person acting
|
66 |
+
as such, as the Case may be, may permit any member who cannot adequately express
|
67 |
+
himself in Hindi or in English to address the House in his mother tongue
|
68 |
+
|
69 |
+
(2) Unless Parliament by Law otherwise provides, this article shall, after the
|
70 |
+
expiration of a period of fifteen years from the commencement of this Constitution,
|
71 |
+
have effect as if the words or in English were omitted therefrom"
|
72 |
+
|
73 |
+
Article 121 of Indian Constitution,Restriction on discussion in Parliament No
|
74 |
+
discussions shall take place in Parliament with respect to the conduct of any
|
75 |
+
Judge of the Supreme Court or of a High Court in the discharge of his duties expect
|
76 |
+
upon a motion for presenting an address to the President praying for the removal
|
77 |
+
of the Judge as hereinafter provided,"Below is an instruction that describes a
|
78 |
+
task or a question. Write a response that appropriately completes the request.'
|
79 |
+
- source_sentence: What is the meaning of the Benami transaction?
|
80 |
+
sentences:
|
81 |
+
- 'A Benami transaction means the following transactions or arrangements:
|
82 |
+
|
83 |
+
|
84 |
+
(a) A transaction or an arrangement:
|
85 |
+
|
86 |
+
|
87 |
+
(A) Where a property is transferred to or is held by a person, and the consideration
|
88 |
+
for such property has been provided, or paid by, another person; and
|
89 |
+
|
90 |
+
|
91 |
+
(B) The property is held for the immediate or future benefit, direct or indirect,
|
92 |
+
of the person who has provided the consideration.
|
93 |
+
|
94 |
+
|
95 |
+
However, a transaction or an arrangement which satisfies conditions (A) and (B)
|
96 |
+
above is not treated as benami when the property is held by:
|
97 |
+
|
98 |
+
|
99 |
+
A Karta, or a member of a HUF, as the case may be, and the property is held for
|
100 |
+
his benefit or the benefit of other members in the family, and the consideration
|
101 |
+
for such property has been provided or paid out of the known sources of the HUF;
|
102 |
+
|
103 |
+
A person standing in a fiduciary capacity for the benefit of another person towards
|
104 |
+
whom he stands in such capacity and includes a trustee, executor, partner, director
|
105 |
+
of a company, a depository, or a participant as an agent of a depository under
|
106 |
+
the Depositories Act, 1996 and any other person as may be notified by the Central
|
107 |
+
Government for this purpose;
|
108 |
+
|
109 |
+
Any person being an individual in the name of his spouse or in the name of any
|
110 |
+
child of such individual, and the consideration for such property has been provided
|
111 |
+
or paid out of the known sources of the individual;
|
112 |
+
|
113 |
+
Any person in the name of his brother or sister or lineal ascendant or descendant,
|
114 |
+
where the names of brother or sister or lineal ascendant or descendent and the
|
115 |
+
individual appear as joint-owners in any document, and the consideration for such
|
116 |
+
property has been provided or paid out of the known sources of the individual.
|
117 |
+
|
118 |
+
Examples
|
119 |
+
|
120 |
+
|
121 |
+
Mr. A buys a house in the name of his sister-in-law Mrs. B. Payment has been made
|
122 |
+
by A. He and his family live in that house. Even if B is a rich lady, the transaction
|
123 |
+
is benami. B is the Benamidar, and A is the beneficial owner. [Illustration from
|
124 |
+
“Keep away from Benami Transaction" leaflet issued by the Income Tax Department].
|
125 |
+
|
126 |
+
It would, however, not be a benami transaction if it can be proved that consideration
|
127 |
+
was paid out of HUF funds and the property was purchased for the benefit of the
|
128 |
+
HUF family [Exception (i) to Section 2(9)(A)]. It would also not be a benami transaction
|
129 |
+
if it can be proved that the sister-in-law B was in a fiduciary relationship vis-a-vis
|
130 |
+
Mr. A [Exception (ii) to Section 2(9)(A)]
|
131 |
+
|
132 |
+
|
133 |
+
Mr. P wants to take a liquor license from the government. He pays the money in
|
134 |
+
the name of employee Mr. K, and the contract is awarded to Mr.K, but Mr. P is
|
135 |
+
deriving benefit from the liquor license. The transaction is a benami transaction.
|
136 |
+
Mr. K is the benamidar. Mr. P is the beneficial owner and profits from such liquor
|
137 |
+
business shall be the benami property. [Illustration from “Keep away from Benami
|
138 |
+
Transaction" leaflet issued by the Income Tax Department].
|
139 |
+
|
140 |
+
(b) A transaction or an arrangement in respect of a property carried out or
|
141 |
+
made in a fictitious name;
|
142 |
+
|
143 |
+
|
144 |
+
Example: Fixed deposits kept in the name of fictitious persons is a benami transaction/benami
|
145 |
+
property[Illustration from “Keep away from Benami Transaction" leaflet issued
|
146 |
+
by the Income Tax Department].
|
147 |
+
|
148 |
+
|
149 |
+
(c) A transaction or an arrangement in respect of a property where the owner
|
150 |
+
of the property is not aware of, or denies knowledge of, such ownership;
|
151 |
+
|
152 |
+
|
153 |
+
Example: Cash kept in a bank locker in the name of his employee/relative who denies
|
154 |
+
knowledge is a benami property [Illustration from the leaflet “Keep away from
|
155 |
+
Benami Transaction" issued by the Income-Tax Department].
|
156 |
+
|
157 |
+
|
158 |
+
(d) A transaction or an arrangement in respect of a property where the person
|
159 |
+
providing the consideration is not traceable or is fictitious.'
|
160 |
+
- If an informant furnishes false information, such an act is considered as an
|
161 |
+
offence, and the person giving false information/evidence/ statement will be liable
|
162 |
+
to be prosecuted for such offence.
|
163 |
+
- 'Recommendations of the Finance Commission The President shall cause every recommendation
|
164 |
+
made by the Finance Commission under the provisions of this Constitution together
|
165 |
+
with an explanatory memorandum as to the action taken thereon to be laid before
|
166 |
+
each House of Parliament Miscellaneous Financial Provisions"
|
167 |
+
|
168 |
+
Article 282 of Indian Constitution,"Expenditure defrayable by the Union or a State
|
169 |
+
out of its revenues The Union or a State may make any grants for any public purpose,
|
170 |
+
notwithstanding that the purpose is not one with respect to which Parliament or
|
171 |
+
the Legislature of the State, as the case may be, may make laws","Below is an
|
172 |
+
instruction that describes a task or a question. Write a response that appropriately
|
173 |
+
completes the request.'
|
174 |
+
- source_sentence: Whether the show-cause notice has to be served to the beneficial
|
175 |
+
owner also?
|
176 |
+
sentences:
|
177 |
+
- 'Even if a charitable institution cannot utilise 85% of its income for charitable
|
178 |
+
or religious purposes in India, it shall be deemed to be applied for such purposes
|
179 |
+
in the situations described below.
|
180 |
+
|
181 |
+
|
182 |
+
Where income has not been received in the previous year;
|
183 |
+
|
184 |
+
Where income could not be applied due to other reasons.
|
185 |
+
|
186 |
+
Such deemed application of income shall be considered when the institution furnishes
|
187 |
+
the details electronically in Form 9A at least two months prior to the due date
|
188 |
+
specified under Section 139(1) for furnishing the return of income for the previous
|
189 |
+
year.'
|
190 |
+
- The copy of the show-cause notice has to be sent to the beneficial owner, if
|
191 |
+
known.
|
192 |
+
- 'Oath or affirmation by Judges of High Courts Every person appointed to be a Judge
|
193 |
+
of a High Court shall, before he enters upon his office, make and subscribe before
|
194 |
+
the Governor of the State, or some person appointed in that behalf by him, an
|
195 |
+
oath or affirmation according to the form set out for the purpose in the Third
|
196 |
+
Schedule"
|
197 |
+
|
198 |
+
Article 220 of Indian Constitution,"Restriction on practice after being a permanent
|
199 |
+
Judge No person who, after the commencement of this Constitution, has held office
|
200 |
+
as a permanent Judge of a High Court shall plead or act in any court or before
|
201 |
+
any authority in India except the Supreme Court and the other High Courts Explanation
|
202 |
+
In this article, the expression High Court does not include a High Court for a
|
203 |
+
State specified in Part B of the First Schedule as it existed before the commencement
|
204 |
+
of the Constitution (seventh Amendment) Act, 1956","Below is an instruction that
|
205 |
+
describes a task or a question. Write a response that appropriately completes
|
206 |
+
the request.'
|
207 |
+
- source_sentence: Article 23 of Indian Constitution
|
208 |
+
sentences:
|
209 |
+
- 'Prohibition of traffic in human beings and forced labour
|
210 |
+
|
211 |
+
(1) Traffic in human beings and begar and other similar forms of forced labour
|
212 |
+
are prohibited and any contravention of this provision shall be an offence punishable
|
213 |
+
in accordance with law
|
214 |
+
|
215 |
+
(2) Nothing in this article shall prevent the State from imposing compulsory service
|
216 |
+
for public purpose, and in imposing such service the State shall not make any
|
217 |
+
discrimination on grounds only of religion, race, caste or class or any of them"
|
218 |
+
|
219 |
+
Article 24 of Indian Constitution,"Prohibition of employment of children in factories,
|
220 |
+
etc No child below the age of fourteen years shall be employed to work in any
|
221 |
+
factory or mine or engaged in any other hazardous employment Provided that nothing
|
222 |
+
in this sub clause shall authorise the detention of any person beyond the maximum
|
223 |
+
period prescribed by any law made by Parliament under sub clause (b) of clause
|
224 |
+
( 7 ); or such person is detained in accordance with the provisions of any law
|
225 |
+
made by Parliament under sub clauses (a) and (b) of clause ( 7 )","Below is an
|
226 |
+
instruction that describes a task or a question. Write a response that appropriately
|
227 |
+
completes the request.'
|
228 |
+
- 'Regulation by law of procedure in the Legislature of the State in relation to
|
229 |
+
financial business The Legislature of a State may, for the purpose of the timely
|
230 |
+
completion of financial business, regulate by law the procedure of, and the conduct
|
231 |
+
of business in, the House or Houses of the Legislature of the State in relation
|
232 |
+
to any financial matter or to any Bill for the appropriation of moneys out of
|
233 |
+
the Consolidated Fund of the State, and, if and so far as any provision of any
|
234 |
+
law so made is inconsistent with any rule made by the House or either House of
|
235 |
+
the Legislature of the State under clause ( 1 ) of article 208 or with any rule
|
236 |
+
or standing order having effect in relation to the Legislature of the State under
|
237 |
+
clause ( 2 ) of that article, such provision shall prevail"
|
238 |
+
|
239 |
+
Article 210 of Indian Constitution,"Language to be used in the Legislature
|
240 |
+
|
241 |
+
(1) Notwithstanding anything in Part XVII, but subject to the provisions of article
|
242 |
+
348, business in the Legislature of a State shall be transacted in the official
|
243 |
+
language or languages of the State or in Hindi or in English: Provided that the
|
244 |
+
Speaker of the Legislative Assembly or Chairman of the Legislative Council, or
|
245 |
+
person acting as such, as the case may be, may permit any member who cannot adequately
|
246 |
+
express himself in any of the languages aforesaid to address the House in his
|
247 |
+
mother tongue
|
248 |
+
|
249 |
+
(2) Unless the Legislature of the State by law otherwise provides, this article
|
250 |
+
shall, after the expiration of a period of fifteen years from the commencement
|
251 |
+
of this Constitution, have effect as if the words or in English were omitted here
|
252 |
+
from: Provided that in relation to the Legislatures of the States of Himachal
|
253 |
+
Pradesh, Manipur, Meghalaya and Tripura this clause shall have effect as if for
|
254 |
+
the words fifteen years occurring therein, the words twenty five years were substituted:
|
255 |
+
Provided further that in relation to the Legislature of the States of Arunachal
|
256 |
+
Pradesh, Goa and Mizoram, this clause shall have effect as if for the words fifteen
|
257 |
+
years occurring therein, the words forty years were substituted","Below is an
|
258 |
+
instruction that describes a task or a question. Write a response that appropriately
|
259 |
+
completes the request.'
|
260 |
+
- 'Admission or establishment of new States: Parliament may by law admit into the
|
261 |
+
Union, or establish, new States on such terms and conditions, as it thinks fit"
|
262 |
+
|
263 |
+
Article 2A of Indian Constitution,"Sikkim to be associated with the Union Rep
|
264 |
+
by the Constitution Thirty six Amendment Act, 1975 , Section 5 (w e f 26 04 1975
|
265 |
+
)","Below is an instruction that describes a task or a question. Write a response
|
266 |
+
that appropriately completes the request.'
|
267 |
+
- source_sentence: What is the meaning of borrowing cost?
|
268 |
+
sentences:
|
269 |
+
- 'Extent of executive power of State Subject to the provisions of this Constitution,
|
270 |
+
the executive power of a State shall extend to the matters with respect to which
|
271 |
+
the Legislature of the State has power to make laws Provided that in any matter
|
272 |
+
with respect to which the Legislature of a State and Parliament have power to
|
273 |
+
make laws, the executive power of the State shall be subject to, and limited by,
|
274 |
+
the executive power expressly conferred by the Constitution or by any law made
|
275 |
+
by Parliament upon the Union or authorities thereof Council of Ministers"
|
276 |
+
|
277 |
+
Article 163 of Indian Constitution,"Council of Ministers to aid and advise Governor
|
278 |
+
|
279 |
+
(1) There shall be a council of Ministers with the chief Minister at the head
|
280 |
+
to aid and advise the Governor in the exercise of his functions, except in so
|
281 |
+
far as he is by or under this constitution required to exercise his functions
|
282 |
+
or any of them in his discretion
|
283 |
+
|
284 |
+
(2) If any question arises whether any matter is or is not a matter as respects
|
285 |
+
which the Governor is by or under this Constitution required to act in his discretion,
|
286 |
+
the decision of the Governor in his discretion shall be final, and the validity
|
287 |
+
of anything done by the Governor shall not be called in question on the ground
|
288 |
+
that he ought or ought not to have acted in his discretion
|
289 |
+
|
290 |
+
(3) The question whether any, and if so what, advice was tendered by Ministers
|
291 |
+
to the Governor shall not be inquired into in any court","Below is an instruction
|
292 |
+
that describes a task or a question. Write a response that appropriately completes
|
293 |
+
the request.'
|
294 |
+
- 'Qualifications for election as President
|
295 |
+
|
296 |
+
(1) No person shall be eligible for election as President unless he
|
297 |
+
|
298 |
+
(a) is a citizen of India,
|
299 |
+
|
300 |
+
(b) has completed the age of thirty five years, and
|
301 |
+
|
302 |
+
(c) is qualified for election as a member of the House of the People
|
303 |
+
|
304 |
+
(2) A person shall not be eligible for election as President if he holds any office
|
305 |
+
of profit under the or the Government of any State or under any local or other
|
306 |
+
authority subject to the control of any of the said Governments Explanation For
|
307 |
+
the purposes of this article, a person shall not be deemed to hold any office
|
308 |
+
of profit by reason only that he is the President or Vice President of the Union
|
309 |
+
or the Governor of any State or is a Minister either for the Union or for any
|
310 |
+
State"
|
311 |
+
|
312 |
+
Article 59 of Indian Constitution,"Conditions of Presidents office
|
313 |
+
|
314 |
+
(1) The President shall not be a member of either House of Parliament or of a
|
315 |
+
House of the Legislature of any State, and if a member of either House of Parliament
|
316 |
+
or of a House of the Legislature of any State be elected President, he shall be
|
317 |
+
deemed to have vacated his seat in that House on the date on which he enters upon
|
318 |
+
his office as President
|
319 |
+
|
320 |
+
(2) The President shall not hold any other office of profit
|
321 |
+
|
322 |
+
(3) The President shall be entitled without payment of rent to the use of his
|
323 |
+
official residences and shall be also entitled to such emoluments, allowances
|
324 |
+
and privileges as may be determined by Parliament by law and, until provision
|
325 |
+
in that behalf is so made, such emoluments, allowances and privileges as are specified
|
326 |
+
in the Second Schedule
|
327 |
+
|
328 |
+
(4) The emoluments and allowances of the President shall ot be diminished during
|
329 |
+
his term of office","Below is an instruction that describes a task or a question.
|
330 |
+
Write a response that appropriately completes the request.'
|
331 |
+
- Borrowing cost means interest and other cost incurred by a person in connection
|
332 |
+
with the borrowing of funds. It includes commitment charges, amortised amount
|
333 |
+
of discounts or premiums relating to borrowings, processing charges, charges incurred
|
334 |
+
under the finance lease or any other similar arrangements. The CBDT, vide Circular
|
335 |
+
No. 10/2017, dated 23-3-2017, has clarified that bill discounting charges and
|
336 |
+
other similar charges are also treated as borrowing costs.
|
337 |
+
pipeline_tag: sentence-similarity
|
338 |
+
library_name: sentence-transformers
|
339 |
+
---
|
340 |
+
|
341 |
+
# SentenceTransformer based on nlpaueb/legal-bert-base-uncased
|
342 |
+
|
343 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [nlpaueb/legal-bert-base-uncased](https://huggingface.co/nlpaueb/legal-bert-base-uncased). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
344 |
+
|
345 |
+
## Model Details
|
346 |
+
|
347 |
+
### Model Description
|
348 |
+
- **Model Type:** Sentence Transformer
|
349 |
+
- **Base model:** [nlpaueb/legal-bert-base-uncased](https://huggingface.co/nlpaueb/legal-bert-base-uncased) <!-- at revision 15b570cbf88259610b082a167dacc190124f60f6 -->
|
350 |
+
- **Maximum Sequence Length:** 512 tokens
|
351 |
+
- **Output Dimensionality:** 768 dimensions
|
352 |
+
- **Similarity Function:** Cosine Similarity
|
353 |
+
<!-- - **Training Dataset:** Unknown -->
|
354 |
+
<!-- - **Language:** Unknown -->
|
355 |
+
<!-- - **License:** Unknown -->
|
356 |
+
|
357 |
+
### Model Sources
|
358 |
+
|
359 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
360 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
361 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
362 |
+
|
363 |
+
### Full Model Architecture
|
364 |
+
|
365 |
+
```
|
366 |
+
SentenceTransformer(
|
367 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
|
368 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
369 |
+
)
|
370 |
+
```
|
371 |
+
|
372 |
+
## Usage
|
373 |
+
|
374 |
+
### Direct Usage (Sentence Transformers)
|
375 |
+
|
376 |
+
First install the Sentence Transformers library:
|
377 |
+
|
378 |
+
```bash
|
379 |
+
pip install -U sentence-transformers
|
380 |
+
```
|
381 |
+
|
382 |
+
Then you can load this model and run inference.
|
383 |
+
```python
|
384 |
+
from sentence_transformers import SentenceTransformer
|
385 |
+
|
386 |
+
# Download from the 🤗 Hub
|
387 |
+
model = SentenceTransformer("sentence_transformers_model_id")
|
388 |
+
# Run inference
|
389 |
+
sentences = [
|
390 |
+
'What is the meaning of borrowing cost?',
|
391 |
+
'\u200bBorrowing cost means interest and other cost incurred by a person in connection with the borrowing of funds. It includes commitment charges, amortised amount of discounts or premiums relating to borrowings, processing charges, charges incurred under the finance lease or any other similar arrangements. The CBDT, vide Circular No. 10/2017, dated 23-3-2017, has clarified that bill discounting charges and other similar charges are also treated as borrowing costs.\u200b',
|
392 |
+
'Qualifications for election as President\n(1) No person shall be eligible for election as President unless he\n(a) is a citizen of India,\n(b) has completed the age of thirty five years, and\n(c) is qualified for election as a member of the House of the People\n(2) A person shall not be eligible for election as President if he holds any office of profit under the or the Government of any State or under any local or other authority subject to the control of any of the said Governments Explanation For the purposes of this article, a person shall not be deemed to hold any office of profit by reason only that he is the President or Vice President of the Union or the Governor of any State or is a Minister either for the Union or for any State"\nArticle 59 of Indian Constitution,"Conditions of Presidents office\n(1) The President shall not be a member of either House of Parliament or of a House of the Legislature of any State, and if a member of either House of Parliament or of a House of the Legislature of any State be elected President, he shall be deemed to have vacated his seat in that House on the date on which he enters upon his office as President\n(2) The President shall not hold any other office of profit\n(3) The President shall be entitled without payment of rent to the use of his official residences and shall be also entitled to such emoluments, allowances and privileges as may be determined by Parliament by law and, until provision in that behalf is so made, such emoluments, allowances and privileges as are specified in the Second Schedule\n(4) The emoluments and allowances of the President shall ot be diminished during his term of office","Below is an instruction that describes a task or a question. Write a response that appropriately completes the request.',
|
393 |
+
]
|
394 |
+
embeddings = model.encode(sentences)
|
395 |
+
print(embeddings.shape)
|
396 |
+
# [3, 768]
|
397 |
+
|
398 |
+
# Get the similarity scores for the embeddings
|
399 |
+
similarities = model.similarity(embeddings, embeddings)
|
400 |
+
print(similarities.shape)
|
401 |
+
# [3, 3]
|
402 |
+
```
|
403 |
+
|
404 |
+
<!--
|
405 |
+
### Direct Usage (Transformers)
|
406 |
+
|
407 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
408 |
+
|
409 |
+
</details>
|
410 |
+
-->
|
411 |
+
|
412 |
+
<!--
|
413 |
+
### Downstream Usage (Sentence Transformers)
|
414 |
+
|
415 |
+
You can finetune this model on your own dataset.
|
416 |
+
|
417 |
+
<details><summary>Click to expand</summary>
|
418 |
+
|
419 |
+
</details>
|
420 |
+
-->
|
421 |
+
|
422 |
+
<!--
|
423 |
+
### Out-of-Scope Use
|
424 |
+
|
425 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
426 |
+
-->
|
427 |
+
|
428 |
+
<!--
|
429 |
+
## Bias, Risks and Limitations
|
430 |
+
|
431 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
432 |
+
-->
|
433 |
+
|
434 |
+
<!--
|
435 |
+
### Recommendations
|
436 |
+
|
437 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
438 |
+
-->
|
439 |
+
|
440 |
+
## Training Details
|
441 |
+
|
442 |
+
### Training Dataset
|
443 |
+
|
444 |
+
#### Unnamed Dataset
|
445 |
+
|
446 |
+
* Size: 999 training samples
|
447 |
+
* Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
|
448 |
+
* Approximate statistics based on the first 999 samples:
|
449 |
+
| | sentence_0 | sentence_1 | label |
|
450 |
+
|:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------|
|
451 |
+
| type | string | string | float |
|
452 |
+
| details | <ul><li>min: 7 tokens</li><li>mean: 13.33 tokens</li><li>max: 100 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 210.82 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 1.0</li><li>mean: 1.0</li><li>max: 1.0</li></ul> |
|
453 |
+
* Samples:
|
454 |
+
| sentence_0 | sentence_1 | label |
|
455 |
+
|:--------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
|
456 |
+
| <code>Article 239A of Indian Constitution</code> | <code>Creation of local Legislatures or Council of Ministers or both for certain Union territories<br>(1) Parliament may by law create for the Union territory of Pondicherry<br>(a) a body, whether elected or partly nominated and partly elected, to function as a Legislature for the Union territory, or<br>(b) a Council of Ministers, or both with such constitution, powers and functions, in each case, as may be specified in the law<br>(2) Any such law as is referred to in clause ( 1 ) shall not be deemed to be an amendment of this Constitution for the purposes of Article 368 notwithstanding that it contains any provision which amends or has the effect of amending this Constitution"<br>Article 239B of Indian Constitution,"Power of administrator to promulgate Ordinances during recess of Legislature<br>(1) If at any time, except when the Legislature of the Union territory of Pondicherry is in session, the administrator thereof is satisfied that circumstances exist which render it necessary for him to take immediate ...</code> | <code>1.0</code> |
|
457 |
+
| <code>Article 378 of Indian Constitution</code> | <code>Provisions as to Public Service Commissions<br>(1) The members of the Public Service Commission for the Dominion of India holding office immediately before the commencement of this Constitution shall, unless they have elected otherwise, become on such commencement the members of the Public Service Commission for the Union and shall, notwithstanding anything in clauses ( 1 ) and ( 2 ) of Article 316 but subject to the proviso to clause ( 2 ) of that article, continue to hold office until the expiration of their term of office as determined under the rules which were applicable immediately before such commencement to such members<br>(2) The members of a Public Service Commission of a Province or of a Public Service Commission serving the needs of a group of Provinces holding office immediately before the commencement of this Constitution shall, unless they have elected otherwise, become on such commencement the members of the Public Service Commission for the corresponding State or the members...</code> | <code>1.0</code> |
|
458 |
+
| <code>When prosecution under Section 275B shall be launched?</code> | <code>Prosecution under Section 275B shall be launched if a person fails to provide the facility to the authorised officer to inspect any books of accounts or other documents during the search and seizure.</code> | <code>1.0</code> |
|
459 |
+
* Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
|
460 |
+
```json
|
461 |
+
{
|
462 |
+
"loss_fct": "torch.nn.modules.loss.MSELoss"
|
463 |
+
}
|
464 |
+
```
|
465 |
+
|
466 |
+
### Training Hyperparameters
|
467 |
+
#### Non-Default Hyperparameters
|
468 |
+
|
469 |
+
- `num_train_epochs`: 0.1
|
470 |
+
- `multi_dataset_batch_sampler`: round_robin
|
471 |
+
|
472 |
+
#### All Hyperparameters
|
473 |
+
<details><summary>Click to expand</summary>
|
474 |
+
|
475 |
+
- `overwrite_output_dir`: False
|
476 |
+
- `do_predict`: False
|
477 |
+
- `eval_strategy`: no
|
478 |
+
- `prediction_loss_only`: True
|
479 |
+
- `per_device_train_batch_size`: 8
|
480 |
+
- `per_device_eval_batch_size`: 8
|
481 |
+
- `per_gpu_train_batch_size`: None
|
482 |
+
- `per_gpu_eval_batch_size`: None
|
483 |
+
- `gradient_accumulation_steps`: 1
|
484 |
+
- `eval_accumulation_steps`: None
|
485 |
+
- `torch_empty_cache_steps`: None
|
486 |
+
- `learning_rate`: 5e-05
|
487 |
+
- `weight_decay`: 0.0
|
488 |
+
- `adam_beta1`: 0.9
|
489 |
+
- `adam_beta2`: 0.999
|
490 |
+
- `adam_epsilon`: 1e-08
|
491 |
+
- `max_grad_norm`: 1
|
492 |
+
- `num_train_epochs`: 0.1
|
493 |
+
- `max_steps`: -1
|
494 |
+
- `lr_scheduler_type`: linear
|
495 |
+
- `lr_scheduler_kwargs`: {}
|
496 |
+
- `warmup_ratio`: 0.0
|
497 |
+
- `warmup_steps`: 0
|
498 |
+
- `log_level`: passive
|
499 |
+
- `log_level_replica`: warning
|
500 |
+
- `log_on_each_node`: True
|
501 |
+
- `logging_nan_inf_filter`: True
|
502 |
+
- `save_safetensors`: True
|
503 |
+
- `save_on_each_node`: False
|
504 |
+
- `save_only_model`: False
|
505 |
+
- `restore_callback_states_from_checkpoint`: False
|
506 |
+
- `no_cuda`: False
|
507 |
+
- `use_cpu`: False
|
508 |
+
- `use_mps_device`: False
|
509 |
+
- `seed`: 42
|
510 |
+
- `data_seed`: None
|
511 |
+
- `jit_mode_eval`: False
|
512 |
+
- `use_ipex`: False
|
513 |
+
- `bf16`: False
|
514 |
+
- `fp16`: False
|
515 |
+
- `fp16_opt_level`: O1
|
516 |
+
- `half_precision_backend`: auto
|
517 |
+
- `bf16_full_eval`: False
|
518 |
+
- `fp16_full_eval`: False
|
519 |
+
- `tf32`: None
|
520 |
+
- `local_rank`: 0
|
521 |
+
- `ddp_backend`: None
|
522 |
+
- `tpu_num_cores`: None
|
523 |
+
- `tpu_metrics_debug`: False
|
524 |
+
- `debug`: []
|
525 |
+
- `dataloader_drop_last`: False
|
526 |
+
- `dataloader_num_workers`: 0
|
527 |
+
- `dataloader_prefetch_factor`: None
|
528 |
+
- `past_index`: -1
|
529 |
+
- `disable_tqdm`: False
|
530 |
+
- `remove_unused_columns`: True
|
531 |
+
- `label_names`: None
|
532 |
+
- `load_best_model_at_end`: False
|
533 |
+
- `ignore_data_skip`: False
|
534 |
+
- `fsdp`: []
|
535 |
+
- `fsdp_min_num_params`: 0
|
536 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
537 |
+
- `tp_size`: 0
|
538 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
539 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
540 |
+
- `deepspeed`: None
|
541 |
+
- `label_smoothing_factor`: 0.0
|
542 |
+
- `optim`: adamw_torch
|
543 |
+
- `optim_args`: None
|
544 |
+
- `adafactor`: False
|
545 |
+
- `group_by_length`: False
|
546 |
+
- `length_column_name`: length
|
547 |
+
- `ddp_find_unused_parameters`: None
|
548 |
+
- `ddp_bucket_cap_mb`: None
|
549 |
+
- `ddp_broadcast_buffers`: False
|
550 |
+
- `dataloader_pin_memory`: True
|
551 |
+
- `dataloader_persistent_workers`: False
|
552 |
+
- `skip_memory_metrics`: True
|
553 |
+
- `use_legacy_prediction_loop`: False
|
554 |
+
- `push_to_hub`: False
|
555 |
+
- `resume_from_checkpoint`: None
|
556 |
+
- `hub_model_id`: None
|
557 |
+
- `hub_strategy`: every_save
|
558 |
+
- `hub_private_repo`: None
|
559 |
+
- `hub_always_push`: False
|
560 |
+
- `gradient_checkpointing`: False
|
561 |
+
- `gradient_checkpointing_kwargs`: None
|
562 |
+
- `include_inputs_for_metrics`: False
|
563 |
+
- `include_for_metrics`: []
|
564 |
+
- `eval_do_concat_batches`: True
|
565 |
+
- `fp16_backend`: auto
|
566 |
+
- `push_to_hub_model_id`: None
|
567 |
+
- `push_to_hub_organization`: None
|
568 |
+
- `mp_parameters`:
|
569 |
+
- `auto_find_batch_size`: False
|
570 |
+
- `full_determinism`: False
|
571 |
+
- `torchdynamo`: None
|
572 |
+
- `ray_scope`: last
|
573 |
+
- `ddp_timeout`: 1800
|
574 |
+
- `torch_compile`: False
|
575 |
+
- `torch_compile_backend`: None
|
576 |
+
- `torch_compile_mode`: None
|
577 |
+
- `include_tokens_per_second`: False
|
578 |
+
- `include_num_input_tokens_seen`: False
|
579 |
+
- `neftune_noise_alpha`: None
|
580 |
+
- `optim_target_modules`: None
|
581 |
+
- `batch_eval_metrics`: False
|
582 |
+
- `eval_on_start`: False
|
583 |
+
- `use_liger_kernel`: False
|
584 |
+
- `eval_use_gather_object`: False
|
585 |
+
- `average_tokens_across_devices`: False
|
586 |
+
- `prompts`: None
|
587 |
+
- `batch_sampler`: batch_sampler
|
588 |
+
- `multi_dataset_batch_sampler`: round_robin
|
589 |
+
|
590 |
+
</details>
|
591 |
+
|
592 |
+
### Framework Versions
|
593 |
+
- Python: 3.11.12
|
594 |
+
- Sentence Transformers: 3.4.1
|
595 |
+
- Transformers: 4.51.3
|
596 |
+
- PyTorch: 2.6.0+cu124
|
597 |
+
- Accelerate: 1.6.0
|
598 |
+
- Datasets: 3.6.0
|
599 |
+
- Tokenizers: 0.21.1
|
600 |
+
|
601 |
+
## Citation
|
602 |
+
|
603 |
+
### BibTeX
|
604 |
+
|
605 |
+
#### Sentence Transformers
|
606 |
+
```bibtex
|
607 |
+
@inproceedings{reimers-2019-sentence-bert,
|
608 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
609 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
610 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
611 |
+
month = "11",
|
612 |
+
year = "2019",
|
613 |
+
publisher = "Association for Computational Linguistics",
|
614 |
+
url = "https://arxiv.org/abs/1908.10084",
|
615 |
+
}
|
616 |
+
```
|
617 |
+
|
618 |
+
<!--
|
619 |
+
## Glossary
|
620 |
+
|
621 |
+
*Clearly define terms in order to be accessible across audiences.*
|
622 |
+
-->
|
623 |
+
|
624 |
+
<!--
|
625 |
+
## Model Card Authors
|
626 |
+
|
627 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
628 |
+
-->
|
629 |
+
|
630 |
+
<!--
|
631 |
+
## Model Card Contact
|
632 |
+
|
633 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
634 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertModel"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"eos_token_ids": 0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"output_past": true,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.51.3",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 30522
|
27 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.4.1",
|
4 |
+
"transformers": "4.51.3",
|
5 |
+
"pytorch": "2.6.0+cu124"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null,
|
9 |
+
"similarity_fn_name": "cosine"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:673aafe057be5d357e452c8c86583b65658ef90faf183f3da9872f85243c29ac
|
3 |
+
size 437951328
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"idx": 0,
|
4 |
+
"name": "0",
|
5 |
+
"path": "",
|
6 |
+
"type": "sentence_transformers.models.Transformer"
|
7 |
+
},
|
8 |
+
{
|
9 |
+
"idx": 1,
|
10 |
+
"name": "1",
|
11 |
+
"path": "1_Pooling",
|
12 |
+
"type": "sentence_transformers.models.Pooling"
|
13 |
+
}
|
14 |
+
]
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"extra_special_tokens": {},
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 512,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|