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78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
---
base_model: BAAI/bge-small-en
datasets: []
language: []
library_name: sentence-transformers
metrics:
- cosine_accuracy@1
- cosine_accuracy@3
- cosine_accuracy@5
- cosine_accuracy@10
- cosine_precision@1
- cosine_precision@3
- cosine_precision@5
- cosine_precision@10
- cosine_recall@1
- cosine_recall@3
- cosine_recall@5
- cosine_recall@10
- cosine_ndcg@10
- cosine_mrr@10
- cosine_map@100
- dot_accuracy@1
- dot_accuracy@3
- dot_accuracy@5
- dot_accuracy@10
- dot_precision@1
- dot_precision@3
- dot_precision@5
- dot_precision@10
- dot_recall@1
- dot_recall@3
- dot_recall@5
- dot_recall@10
- dot_ndcg@10
- dot_mrr@10
- dot_map@100
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:238
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: What is the timeframe for opening a physical location in the Designated
    Areas to be eligible for the credit under Section 960.1?
  sentences:
  - '(a) A person or combined group that opens a physical location in the Designated

    Areas on or after January 1, 2023 through and including December 31, 2027, shall
    be allowed

    a credit against that person or combined group''s Gross Receipts Tax if the person
    or

    74SAN FIAT CU

    2024 11AY 10 PM 1331

    combined group did not have a physical location in the City for at least three
    years prior to

    DEPARTMENT OF ELECTIONS

    opening the physical location. The credit under this Section 960.1 shall be an
    annual credit

    for each of up to three tax years immediately following the tax year in which
    the person or

    combined group opened the physical location in the Designated Areas, provided
    the person or

    combined group maintains a physical location in the Designated Areas in the tax
    year that the

    credit is taken. To be eligible for the credit, the person or combined group must
    take the

    credit for each tax year on an original Gross Receipts Tax return filed with the
    Tax Collector.'
  - '5222 (Nondepository Credit Intermediation), 5223 (Activities Related

    to Credit Intermediation)), 533 (Lessors of Nonfinancial Intangible Assets (except
    Copyrighted

    Works)), 54 (Professional, Scientific, and Technical Services) but not including
    541714 (Research and

    Development in Biotechnology (except Nanobiotechnology)), 55 (Management of Companies
    and

    63SA

    CL

    2024 LAY 10 PA (30

    Enterprises), 562 (Waste Management and Remediation Services), 61 (Educational
    Services),

    DEPARTMENT OF ELECTI

    62 (Health Care and Social Assistance), and all business activities not otherwise
    exempt and not

    elsewhere subjected to a gross receipts tax rate by Sections 953.20 through 953.26
    or an administrative

    office tax under Section 953.8.

    (c) The amount of taxable gross receipts from Category 5 Business Activities subject
    to the

    gross receipts tax shall be three-quarters of the amount determined under Section
    956.1 plus

    one-quarter of the amount determined under Section 956.2.

    SEC. 953.25. GROSS RECEIPTS TAX APPLICABLE TO CATEGORY 6 BUSINESS

    ACTIVITIES.

    (a) The gross receipts tax rates applicable to Category 6 Business Activities
    are:

    (1) For tax years 2025 and 2026:

    1.5% for taxable gross receipts between $0 and $1,000,000

    1.5% for taxable gross receipts between $1,000,000.01 and $2,500,000

    3% for taxable gross receipts between $2,500,000.01 and $25,000,000

    2.352% for taxable gross receipts between $25,000,000.01 and $50,000,000

    3.024% for taxable gross receipts between $50,000,000.01 and $75,000,000

    3.024% for taxable gross receipts between $75,000,000.01 and $100,000,000

    3.36% for taxable gross receipts between $100,000,000.01 and $150,000,000

    3.36% for taxable gross receipts between $150,000,000.01 and $250,000,000

    3.36% for taxable gross receipts between $250,000,000.01 and $500,000,000

    3.'
  - 'Except as otherwise provided in this Section 855

    and Section 856 of this Article 12, and Section 76.3 of Article 2 of this Business
    and Tax Regulations

    Code, the annual fee for obtaining a registration certificate for the 2025-2026
    registration year,

    payable in advance, shall be as follows:

    San Francisco Gross Receipts for the

    Immediately Preceding Tax Year

    $0 to $100,000

    $100,000.01 to $250,000

    Annual Registration Fee

    $41

    $71

    $250,000.01 to $500,000

    $120

    $500,000.01 to $750,000

    $240

    $750,000.01 to $1,000,000

    $330

    $1,000,000.01 to $1,500,000

    $469

    $1,500,000.01 to $2,000,000

    $656

    $2,000,000.01 to $2,500,000

    $848

    $2,500,000.01 to $5,000,000

    $1,414

    $5,000,000.01 to $7,500,000

    $600

    $7,500,000.01 to $15,000,000

    $1,500

    $15,000,000.01 to $25,000,000

    $4,875

    25$25,000,000.01 to $50,000,000

    $50,000,000.01 to $100,000,000

    $100,000,000.01 to $200,000,000

    $200,000,000.01 and over

    SAN KAL CO

    2724 11 10 11 129

    $15,000

    DEPARTMENT

    $30,000

    $37,500

    $45,000

    (d) Fee for Registration Years Beginning On or After April 1, 2026. Except as
    otherwise

    provided in this Section 855 and Section 856 of this Article 12, and Section 76.3
    of Article 2 of this

    Business and Tax Regulations Code, the annual fee for obtaining a registration
    certificate for

    registration years beginning on or after April 1, 2026, payable in advance, shall
    be as follows:

    San Francisco Gross Receipts for the

    Immediately Preceding Tax Year

    $0 to $100,'
- source_sentence: How is the overpaid executive administrative office tax measured
    for individuals or combined groups, and what other administrative office taxes
    might they also be liable for?
  sentences:
  - '(b) Combined gross receipts are the total worldwide gross receipts of the person
    and

    all related entities to the person, unless the election provided for in California
    Revenue and

    Taxation Code Section 25110 is in effect for the person, in which case combined
    gross

    receipts shall be computed consistently with the water''s edge election, as set
    forth therein.

    (c) Combined payroll is the total worldwide compensation paid by the person and
    all

    related entities to the person, unless the election provided for in California
    Revenue and

    Taxation Code Section 25110 is in effect for the person, in which case combined
    payroll shall

    be computed consistently with the water''s edge election, as set forth therein.
    A person who

    72SALA 50

    has no combined payroll in a tax year shall have no gross receipts under this
    Section for that

    DEPARTMENT OF LECT

    tax year.

    (d) Payroll in the City is the total amount paid for compensation in the City
    by the

    person and by all related entities to the person.

    (e) Compensation paid in the City shall be determined as follows:set forth in

    Section 953.8)(4).

    (1) Where compensation is paid by reason of work performed or services rendered
    by

    an individual wholly within the City, all of the compensation for such individual
    shall be attributable to

    the City.

    (2) Where compensation is paid by reason of work performed or services rendered
    by

    an individual partly within and partly without the City, the portion of such compensation
    attributable to

    the City shall be determined as follows:

    (A) Except as otherwise provided in this Section 956.2(e), the portion of such

    compensation attributable to the City shall be the portion of such compensation
    which the total number

    of working hours employed within the City bears to the total number of working
    hours within and

    without the City.

    (B) If the amount of such compensation depends on the volume of business

    transacted by such individual, then the portion of such compensation attributable
    to the City shall be

    the portion of such compensation which the volume of business transacted by such
    individual in the

    City bears to the volume of business transacted by such individual within and
    without the City.'
  - 'If the person or combined group did not file a

    7SANT

    V

    772 MAY 10 TH 1:28

    return for the preceding tax year and did not request an extension under Section
    6.9-4 to file that

    return, the person or combined group shall be deemed to have filed a return showing
    no

    liability for purposes of this Section 6.9-Isubsection (c)(3)(C)(ii), and no estimated
    tax payments

    of that tax shall be due for the current tax year.

    (D) Lessor of Residential Real Estate Exemption. Notwithstanding

    any other provision in this Section 6.9-1(c)(3), a lessor of residential real
    estate, as defined in

    Section 954.1 of Article 12-A-1, shall not be required to make estimated tax payments
    under

    this Section 6.9-1(c)(3), but shall pay its full Gross Receipts Tax liability,
    Homelessness Gross

    Receipts Tax liability, and Overpaid Executive Gross Receipts Tax liability on
    or before the

    last day of February of the succeeding year, or the extended deadline in Section
    6.9-4, if the

    lessor''s gross receipts within the City shown on the lessor''s return for either
    the current tax

    year or the preceding tax year did not exceed the threshold in Section 954.1(b)
    of

    Article 12-A-1.

    *

    *

    (g) Business Registration Certificate; Annual Due Date.

    (1) For registration years ending on or before June 30, 2025 and the

    2025-2026 registration year, eExcept for any extensions granted under Section
    6.9-4 or as

    otherwise provided in this Business and Tax Regulations Code, returns and payments
    of the

    Business Registration Fee (Article 12) shall be filed annually and are due and
    payable, and

    shall be delinquent if not submitted and paid to the Tax Collector, on or before
    the last day of

    May preceding the registration year commencing July 1 of that year.'
  - 'DEPARTMENT OF ELECTION

    Article 12-A-1, shall pay an annual overpaid executive administrative office tax
    if the Executive

    Pay Ratio for the tax year of that person or the combined group of which it is
    a part

    exceeds 100:1. This overpaid executive administrative office tax shall be measured
    by the

    person''s total payroll expense, as defined in Section 953.8(f) of Article 12-A-1,
    that is

    attributable to the City. If a person is a member of a combined group, then its
    tax shall be

    measured by the total payroll expense of the combined group attributable to the
    City. Such

    person or combined group shall pay only the overpaid executive administrative
    office tax, and

    not the tax imposed under other subsections of this Section 3303, but a person
    or combined

    group may be liable for the administrative office tax imposed by Section 953.8
    of

    Article 12-A-1 and the homelessness administrative office tax imposed by Section
    2804(d) or

    Section 2804.9 of Article 28 in addition to the overpaid executive administrative
    office tax

    imposed by this subsection (dg). Unless specified otherwise, this overpaid executive

    administrative office tax shall be considered part of the Overpaid Executive Gross
    Receipts

    Tax for all purposes.'
- source_sentence: What are the homelessness gross receipts tax rates applicable to
    Category 1 Business Activities for tax years beginning on or after January 1,
    2025, as outlined in Section 2804.3 of the same code?
  sentences:
  - 'For purposes

    of serving a notice of a deficiency determination under this Section 6.11-2, the
    date that a return was

    due shall be:

    (1) For tax years and tax periods ending on or before December 31, 2021, and

    registration years ending on or before June 30, 2023, the due date of the return
    without regard to any

    extensions under Section 6.9-4;

    (2) For tax years and tax periods beginning on or after January 1, 2022, and

    registration years beginning on or after July 1, 2023 and ending on or before
    March 31, 2026, except

    for the taxes for the years and periods subject to subsection (a)(3) of this Section
    6.11-2, the due date of

    the return including any extensions; or

    (3) For the Gross Receipts Tax (Article 12-A-1) (including the tax on administrative

    office business activities in Section 953.8 of Article 12-A-1), the Early Care
    and Education Commercial

    Rents Tax (Article 21), the Homelessness Gross Receipts Tax (Article 28) (including
    the tax on

    administrative office business activities in Section 2804(d) or Section 2804.9
    of Article 28), the

    Cannabis Business Tax (Article 30), and the Overpaid Executive Gross Receipts
    Tax (Article 33)

    (including the tax on administrative office business activities in Section 3303(g))
    for tax years

    beginning on or after January 1, 2025, and for the Business Registration Fee (Article
    12) for

    registration years beginning on or after April 1, 2026, November 30 of the calendar
    year in which the

    return for such respective tax was originally due.

    13SAN

    CO

    22 MAY (b) The notice of any determination under this Section 6.11-2 may be served
    upon the

    DEMANTHER OF CLIENT OFF

    taxpayer or other affected person personally or by mail; if by mail, service shall
    be:

    (1) to the last known address that appears in the Tax Collector''s records,

    provided there is such an address in the Tax Collector''s records, or

    (2) to an address that the Tax Collector concludes, in the Tax Collector''s

    discretion, is the last known address of the person(s).'
  - 'If the person or combined group did not file a

    7SANT

    V

    772 MAY 10 TH 1:28

    return for the preceding tax year and did not request an extension under Section
    6.9-4 to file that

    return, the person or combined group shall be deemed to have filed a return showing
    no

    liability for purposes of this Section 6.9-Isubsection (c)(3)(C)(ii), and no estimated
    tax payments

    of that tax shall be due for the current tax year.

    (D) Lessor of Residential Real Estate Exemption. Notwithstanding

    any other provision in this Section 6.9-1(c)(3), a lessor of residential real
    estate, as defined in

    Section 954.1 of Article 12-A-1, shall not be required to make estimated tax payments
    under

    this Section 6.9-1(c)(3), but shall pay its full Gross Receipts Tax liability,
    Homelessness Gross

    Receipts Tax liability, and Overpaid Executive Gross Receipts Tax liability on
    or before the

    last day of February of the succeeding year, or the extended deadline in Section
    6.9-4, if the

    lessor''s gross receipts within the City shown on the lessor''s return for either
    the current tax

    year or the preceding tax year did not exceed the threshold in Section 954.1(b)
    of

    Article 12-A-1.

    *

    *

    (g) Business Registration Certificate; Annual Due Date.

    (1) For registration years ending on or before June 30, 2025 and the

    2025-2026 registration year, eExcept for any extensions granted under Section
    6.9-4 or as

    otherwise provided in this Business and Tax Regulations Code, returns and payments
    of the

    Business Registration Fee (Article 12) shall be filed annually and are due and
    payable, and

    shall be delinquent if not submitted and paid to the Tax Collector, on or before
    the last day of

    May preceding the registration year commencing July 1 of that year.'
  - '(a) The homelessness gross receipts tax rates applicable to Category 1 Business
    Activities for

    tax years beginning on or after January 1, 2025 are:

    0% for taxable gross receipts between $0 and $1,000,000

    0% for taxable gross receipts between $1,000,000.01 and $2,500,000

    0% for taxable gross receipts between $2,500,000.01 and $25,000,000

    0.164% for taxable gross receipts between $25,000,000.01 and $50,000,000

    0.164% for taxable gross receipts between $50,000,000.01 and $75,000,000

    0.164% for taxable gross receipts between $75,000,000.01 and $100,000,000

    0.164% for taxable gross receipts between $100,000,000.01 and $150,000,000

    0.246% for taxable gross receipts between $150,000,000.01 and $250,000,000

    0.328% for taxable gross receipts between $250,000,000.01 and $500,000,000

    0.41% for taxable gross receipts between $500,000,000.01 and $1,000,000,000

    0.492% for taxable gross receipts over $1,000,000,000

    (b) "Category 1 Business Activities" has the same meaning as in Section 953.20(b)
    of

    Article 12-A-1 of this Business and Tax Regulations Code.

    (c) The amount of taxable gross receipts from Category 1 Business Activities subject
    to the

    homelessness gross receipts tax shall be three-quarters of the amount determined
    under Section 956.1

    of Article 12-A-1 plus one-quarter of the amount determined under Section 956.2
    of Article 12-A-1.

    84SAL

    SEC. 2804.3. HOMELESSNESS GROSS RECEIPTS TAX APPLICABLE TO CATEGORY 2

    BUSINESS ACTIVITIES.'
- source_sentence: What are the different gross receipts tax rates applicable to private
    education and health services, administrative and support services, and miscellaneous
    business activities as outlined in Section 953.4?
  sentences:
  - '(b) For only so long as and to the extent that the City is prohibited from imposing
    the

    Homelessness Gross Receipts Tax, any person upon whom the City is prohibited under
    the

    Constitution or laws of the State of California or the Constitution or laws of
    the United States

    from imposing the Homelessness Gross Receipts Tax shall be exempt from the

    Homelessness Gross Receipts Tax.

    (c) For purposes of this Article 28, gross receipts shall not include receipts
    that are

    excluded from gross receipts for purposes of the gross receipts tax imposed by
    Article 12-A-1,

    and also shall not include receipts subject to a gross receipts tax on commercial
    rents

    imposed as a result of a measure adopted by the voters of San Francisco in the
    June 5, 2018

    election.

    (d) This Section 2805 shall apply to tax years ending on or before December 31,
    2024.

    SEC. 2805.3. EXEMPTIONS AND EXCLUSIONS.

    (a) An organization that is exempt from income taxation by Chapter 4 (commencing
    with

    Section 23701) of Part 11 of Division 2 of the California Revenue and Taxation
    Code or Subchapter F

    (commencing with Section 501) of Chapter 1 of Subtitle A of the Internal Revenue
    Code of 1986, as

    amended, as qualified by Sections 502, 503, 504, and 508 of the Internal Revenue
    Code of 1986, as

    amended, shall be exempt from taxation under this Article 28, only so long as
    those exemptions

    continue to exist under state or federal law.

    (b) For purposes of this Article 28, gross receipts as defined in Section 952.3
    shall not include

    receipts from business activities if, and only so long as and to the extent that,
    the City is prohibited

    93SA

    01:32

    from taxing such receipts under the Constitution or laws of the United States
    or under the Constitution

    or laws of the State of California.

    (c) Rent Controlled Buildings Exclusion. A person subject to the homelessness
    gross receipts

    tax may exclude from gross receipts in any tax year 50% of the total amount received
    from the rental of

    real property to tenants in occupancy at any location in the City, which is subject
    to limits on rent

    increases pursuant to the Residential Rent Stabilization and Arbitration Ordinance,
    Administrative

    Code, Chapter 37, Section 37.1 et seq.'
  - '10 that the

    90% gross receipts threshold has been met for tax year 2023, and for tax year
    2024 if the Controller

    does not certify under Section 953.10 that the 95% gross receipts threshold has
    been met for tax

    year 2024:

    42SAN LANCI Co

    FILED

    2024 MAY 10 PH 1:29

    0.45% (e.g. $4.50 per $1,000) for taxable gross receipts between $0 and $1,000,000

    DEPARTMENT OF ELECTIONS

    0.488% (e.g. $4.88 per $1,000) for taxable gross receipts between $1,000,000.01
    and

    $2,500,000

    0.488% (e.g. $4.88 per $1,000) for taxable gross receipts between $2,500,000.01
    and

    $25,000,000

    0.6% (e.g. $6 per $1,000) for taxable gross receipts over $25,000,000

    (D) For tax year 2024 if the Controller certifies under Section 953.10 that the

    95% gross receipts threshold has been met for tax year 2024, and for tax years
    beginning on or after

    January 1, 2025:

    0.465% (e.g. $4.65 per $1,000) for taxable gross receipts between $0 and $1,000,000

    0.504% (e.g. $5.04 per $1,000) for taxable gross receipts between $1,000,000.01
    and

    $2,500,000

    0.504% (e.g. $5.04 per $1,000) for taxable gross receipts between $2,500,000.01
    and

    $25,000,000

    0.62% (e.g. $6.20 per $1,000) for taxable gross receipts over $25,000,000

    SEC. 953.4. GROSS RECEIPTS TAX APPLICABLE TO PRIVATE EDUCATION AND

    HEALTH SERVICES; ADMINISTRATIVE AND SUPPORT SERVICES; AND

    MISCELLANEOUS BUSINESS ACTIVITIES.

    (a) The gross receipts tax rates applicable to the business activities of private

    education and health services, administrative and support services,'
  - 'SARI

    до

    202 BAY 10 FA 1:32

    year by 52, and dividing the result by the number of weeks that the employee was
    employed by that

    person or combined group during the tax year.

    "Highest-Paid Managerial Employee" means the individual employee or officer of
    a

    person or combined group with managerial responsibility in a business function
    who received the most

    Compensation for a tax year. For purposes of determining the Highest-Paid Managerial
    Employee and

    the Compensation of such employee, Compensation shall not be annualized or converted
    to a full-time

    equivalency.

    SEC. 3303. IMPOSITION OF TAX.

    (a) Except as otherwise provided in this Article 33, commencing with tax years

    beginning on or after January 1, 2022, for the privilege of engaging in business
    in the City, the

    City imposes an annual Overpaid Executive Gross Receipts Tax on each person engaging
    in

    business within the City where the Executive Pay Ratio for the tax year of that
    person or the

    combined group of which it is a part exceeds 100:1.'
- source_sentence: Based on the context information provided, what are the different
    gross receipts tax rates for businesses in San Francisco for tax years 2022, 2023,
    and 2024?
  sentences:
  - '$9.75 per $1,000) for taxable gross receipts over $25,000,000

    44SANCO

    2024 NAY LO

    (D) For tax year 2024 if the Controller certifies under Section 953.10 that the

    DEPARTMENT OF

    95% gross receipts threshold has been met for tax year 2024, and for tax years
    beginning on or after

    January 1, 2025:

    0.814% (e.g. $8.14 per $1,000) for taxable gross receipts between $0 and $1,000,000

    0.853% (e.g. $8.53 per $1,000) for taxable gross receipts between $1,000,000.01
    and

    $2,500,000

    0.93% (e.g. $9.30 per $1,000) for taxable gross receipts between $2,500,000.01
    and

    $25,000,000

    1.008% (e.g. $10.08 per $1,000) for taxable gross receipts over $25,000,000

    (3) For all business activities not otherwise exempt and not elsewhere

    subjected to a gross receipts tax rate or an administrative office tax by this
    Article 12-A-1:

    (B) For tax years 2022 and, if the Controller does not certify under

    Section 953.10 that the 90% gross receipts threshold has been met for tax year
    2023, for tax

    year 2023:

    0.788% (e.g. $7.88 per $1,000) for taxable gross receipts between $0 and $1,000,000

    0.825% (e.g. $8.25 per $1,000) for taxable gross receipts between $1,000,000.01
    and

    $2,500,000

    0.9% (e.g. $9 per $1,000) for taxable gross receipts between $2,500,000.01 and

    $25,000,000

    0.975% (e.g. $9.75 per $1,000) for taxable gross receipts over $25,000,000

    (C) For tax year 2023 if the Controller certifies under Section 953.10 that the

    90% gross receipts threshold has been met for tax year 2023,'
  - '(d) In no event shall the credit under this Section 960.4 reduce a person or
    combined group''s

    Gross Receipts Tax liability to less than $0 for any tax year. The credit under
    this Section shall not be

    refundable and may not be carried forward to a subsequent year.

    SEC. 966. CONTROLLER REPORTS.

    The Controller shall prepare reports by September 1, 2026, and September 1, 2027,

    respectively, that discuss current economic conditions in the City and the performance
    of the tax system

    revised by the voters in the ordinance adding this Section 966.

    Section 6. Article 21 of the Business and Tax Regulations Code is hereby amended
    by

    revising Section 2106 to read as follows:

    SEC. 2106. SMALL BUSINESS EXEMPTION.

    (a) For tax years ending on or before December 31, 2024, nNotwithstanding any
    other

    provision of this Article 21, a person or combined group exempt from payment of
    the gross

    receipts tax under Section 954.1 of Article 12-A-1, as amended from time to time,
    shall also

    be exempt from payment of the Early Care and Education Commercial Rents Tax.

    79SAN

    DL W(b) For tax years beginning on or after January 1, 2025, notwithstanding any
    other provision

    of this Article 21, a "small business enterprise" shall be exempt from payment
    of the Early Care and

    Education Commercial Rents Tax. For purposes of this subsection (b), the term
    "small business

    enterprise" shall mean any person or combined group whose gross receipts within
    the City, determined

    under Article 12-A-1, did not exceed $2,325,000, adjusted annually in accordance
    with the increase in

    the Consumer Price Index: All Urban Consumers for the San Francisco/Oakland/Hayward
    Area for All

    Items as reported by the United States Bureau of Labor Statistics, or any successor
    to that index, as of

    December 31 of the calendar year two years prior to the tax year, beginning with
    tax year 2026, and

    rounded to the nearest $10,000. This subsection (b) shall not apply to a person
    or combined group

    subject to a tax on administrative office business activities in Section 953.8
    of Article 12-A-1.

    Section 7.'
  - '(1) For tax years ending on or before December 31, 2024, the overpaid executive

    administrative office tax shall be calculated as follows:

    (+4) 0.4% of the person or combined group''s total payroll expense

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 100:1, but less than or equal to 200:1;

    (2B) 0.8% of the person or combined group''s total payroll expense

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 200:1, but less than or equal to 300:1;

    (3C) 1.2% of the person or combined group''s total payroll expense

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 300:1, but less than or equal to 400:1;

    103SAULAMIC 50

    10 PM 1:32

    (4D) 1.6% of the person or combined group''s total payroll expense

    DEPARTMENT OF ELECTIONS

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 400:1, but less than or equal to 500:1;

    (5E) 2% of the person or combined group''s total payroll expense

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 500:1, but less than or equal to 600:1;
    or

    (6F) 2.4% of the person or combined group''s total payroll expense

    attributable to the City for a tax year if the person or combined group has an
    Executive Pay

    Ratio for that tax year of greater than 600:1.'
model-index:
- name: SentenceTransformer based on BAAI/bge-small-en
  results:
  - task:
      type: information-retrieval
      name: Information Retrieval
    dataset:
      name: Unknown
      type: unknown
    metrics:
    - type: cosine_accuracy@1
      value: 0.6407766990291263
      name: Cosine Accuracy@1
    - type: cosine_accuracy@3
      value: 0.8155339805825242
      name: Cosine Accuracy@3
    - type: cosine_accuracy@5
      value: 0.8640776699029126
      name: Cosine Accuracy@5
    - type: cosine_accuracy@10
      value: 0.9320388349514563
      name: Cosine Accuracy@10
    - type: cosine_precision@1
      value: 0.6407766990291263
      name: Cosine Precision@1
    - type: cosine_precision@3
      value: 0.2718446601941747
      name: Cosine Precision@3
    - type: cosine_precision@5
      value: 0.17281553398058247
      name: Cosine Precision@5
    - type: cosine_precision@10
      value: 0.09320388349514559
      name: Cosine Precision@10
    - type: cosine_recall@1
      value: 0.6407766990291263
      name: Cosine Recall@1
    - type: cosine_recall@3
      value: 0.8155339805825242
      name: Cosine Recall@3
    - type: cosine_recall@5
      value: 0.8640776699029126
      name: Cosine Recall@5
    - type: cosine_recall@10
      value: 0.9320388349514563
      name: Cosine Recall@10
    - type: cosine_ndcg@10
      value: 0.7825919037319005
      name: Cosine Ndcg@10
    - type: cosine_mrr@10
      value: 0.7351363846509477
      name: Cosine Mrr@10
    - type: cosine_map@100
      value: 0.7397851339598912
      name: Cosine Map@100
    - type: dot_accuracy@1
      value: 0.6407766990291263
      name: Dot Accuracy@1
    - type: dot_accuracy@3
      value: 0.8155339805825242
      name: Dot Accuracy@3
    - type: dot_accuracy@5
      value: 0.8640776699029126
      name: Dot Accuracy@5
    - type: dot_accuracy@10
      value: 0.9320388349514563
      name: Dot Accuracy@10
    - type: dot_precision@1
      value: 0.6407766990291263
      name: Dot Precision@1
    - type: dot_precision@3
      value: 0.2718446601941747
      name: Dot Precision@3
    - type: dot_precision@5
      value: 0.17281553398058247
      name: Dot Precision@5
    - type: dot_precision@10
      value: 0.09320388349514559
      name: Dot Precision@10
    - type: dot_recall@1
      value: 0.6407766990291263
      name: Dot Recall@1
    - type: dot_recall@3
      value: 0.8155339805825242
      name: Dot Recall@3
    - type: dot_recall@5
      value: 0.8640776699029126
      name: Dot Recall@5
    - type: dot_recall@10
      value: 0.9320388349514563
      name: Dot Recall@10
    - type: dot_ndcg@10
      value: 0.7825919037319005
      name: Dot Ndcg@10
    - type: dot_mrr@10
      value: 0.7351363846509477
      name: Dot Mrr@10
    - type: dot_map@100
      value: 0.7397851339598912
      name: Dot Map@100
---

# SentenceTransformer based on BAAI/bge-small-en

This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-small-en](https://huggingface.co/BAAI/bge-small-en). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

## Model Details

### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [BAAI/bge-small-en](https://huggingface.co/BAAI/bge-small-en) <!-- at revision 2275a7bdee235e9b4f01fa73aa60d3311983cfea -->
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
<!-- - **Training Dataset:** Unknown -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)

### Full Model Architecture

```
SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
```

## Usage

### Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

```bash
pip install -U sentence-transformers
```

Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("Areeb-02/bge-small-en-MultiplrRankingLoss-Tax-dataset")
# Run inference
sentences = [
    'Based on the context information provided, what are the different gross receipts tax rates for businesses in San Francisco for tax years 2022, 2023, and 2024?',
    '$9.75 per $1,000) for taxable gross receipts over $25,000,000\n44SANCO\n2024 NAY LO\n(D) For tax year 2024 if the Controller certifies under Section 953.10 that the\nDEPARTMENT OF\n95% gross receipts threshold has been met for tax year 2024, and for tax years beginning on or after\nJanuary 1, 2025:\n0.814% (e.g. $8.14 per $1,000) for taxable gross receipts between $0 and $1,000,000\n0.853% (e.g. $8.53 per $1,000) for taxable gross receipts between $1,000,000.01 and\n$2,500,000\n0.93% (e.g. $9.30 per $1,000) for taxable gross receipts between $2,500,000.01 and\n$25,000,000\n1.008% (e.g. $10.08 per $1,000) for taxable gross receipts over $25,000,000\n(3) For all business activities not otherwise exempt and not elsewhere\nsubjected to a gross receipts tax rate or an administrative office tax by this Article 12-A-1:\n(B) For tax years 2022 and, if the Controller does not certify under\nSection 953.10 that the 90% gross receipts threshold has been met for tax year 2023, for tax\nyear 2023:\n0.788% (e.g. $7.88 per $1,000) for taxable gross receipts between $0 and $1,000,000\n0.825% (e.g. $8.25 per $1,000) for taxable gross receipts between $1,000,000.01 and\n$2,500,000\n0.9% (e.g. $9 per $1,000) for taxable gross receipts between $2,500,000.01 and\n$25,000,000\n0.975% (e.g. $9.75 per $1,000) for taxable gross receipts over $25,000,000\n(C) For tax year 2023 if the Controller certifies under Section 953.10 that the\n90% gross receipts threshold has been met for tax year 2023,',
    '(d) In no event shall the credit under this Section 960.4 reduce a person or combined group\'s\nGross Receipts Tax liability to less than $0 for any tax year. The credit under this Section shall not be\nrefundable and may not be carried forward to a subsequent year.\nSEC. 966. CONTROLLER REPORTS.\nThe Controller shall prepare reports by September 1, 2026, and September 1, 2027,\nrespectively, that discuss current economic conditions in the City and the performance of the tax system\nrevised by the voters in the ordinance adding this Section 966.\nSection 6. Article 21 of the Business and Tax Regulations Code is hereby amended by\nrevising Section 2106 to read as follows:\nSEC. 2106. SMALL BUSINESS EXEMPTION.\n(a) For tax years ending on or before December 31, 2024, nNotwithstanding any other\nprovision of this Article 21, a person or combined group exempt from payment of the gross\nreceipts tax under Section 954.1 of Article 12-A-1, as amended from time to time, shall also\nbe exempt from payment of the Early Care and Education Commercial Rents Tax.\n79SAN\nDL W(b) For tax years beginning on or after January 1, 2025, notwithstanding any other provision\nof this Article 21, a "small business enterprise" shall be exempt from payment of the Early Care and\nEducation Commercial Rents Tax. For purposes of this subsection (b), the term "small business\nenterprise" shall mean any person or combined group whose gross receipts within the City, determined\nunder Article 12-A-1, did not exceed $2,325,000, adjusted annually in accordance with the increase in\nthe Consumer Price Index: All Urban Consumers for the San Francisco/Oakland/Hayward Area for All\nItems as reported by the United States Bureau of Labor Statistics, or any successor to that index, as of\nDecember 31 of the calendar year two years prior to the tax year, beginning with tax year 2026, and\nrounded to the nearest $10,000. This subsection (b) shall not apply to a person or combined group\nsubject to a tax on administrative office business activities in Section 953.8 of Article 12-A-1.\nSection 7.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```

<!--
### Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details>
-->

<!--
### Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details>
-->

<!--
### Out-of-Scope Use

*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->

## Evaluation

### Metrics

#### Information Retrieval

* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)

| Metric              | Value      |
|:--------------------|:-----------|
| cosine_accuracy@1   | 0.6408     |
| cosine_accuracy@3   | 0.8155     |
| cosine_accuracy@5   | 0.8641     |
| cosine_accuracy@10  | 0.932      |
| cosine_precision@1  | 0.6408     |
| cosine_precision@3  | 0.2718     |
| cosine_precision@5  | 0.1728     |
| cosine_precision@10 | 0.0932     |
| cosine_recall@1     | 0.6408     |
| cosine_recall@3     | 0.8155     |
| cosine_recall@5     | 0.8641     |
| cosine_recall@10    | 0.932      |
| cosine_ndcg@10      | 0.7826     |
| cosine_mrr@10       | 0.7351     |
| **cosine_map@100**  | **0.7398** |
| dot_accuracy@1      | 0.6408     |
| dot_accuracy@3      | 0.8155     |
| dot_accuracy@5      | 0.8641     |
| dot_accuracy@10     | 0.932      |
| dot_precision@1     | 0.6408     |
| dot_precision@3     | 0.2718     |
| dot_precision@5     | 0.1728     |
| dot_precision@10    | 0.0932     |
| dot_recall@1        | 0.6408     |
| dot_recall@3        | 0.8155     |
| dot_recall@5        | 0.8641     |
| dot_recall@10       | 0.932      |
| dot_ndcg@10         | 0.7826     |
| dot_mrr@10          | 0.7351     |
| dot_map@100         | 0.7398     |

<!--
## Bias, Risks and Limitations

*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->

<!--
### Recommendations

*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->

## Training Details

### Training Dataset

#### Unnamed Dataset


* Size: 238 training samples
* Columns: <code>sentence_0</code> and <code>sentence_1</code>
* Approximate statistics based on the first 1000 samples:
  |         | sentence_0                                                                         | sentence_1                                                                          |
  |:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
  | type    | string                                                                             | string                                                                              |
  | details | <ul><li>min: 5 tokens</li><li>mean: 41.95 tokens</li><li>max: 219 tokens</li></ul> | <ul><li>min: 63 tokens</li><li>mean: 426.3 tokens</li><li>max: 512 tokens</li></ul> |
* Samples:
  | sentence_0                                                                                                                                                                                                                                                                              | sentence_1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>What types of businesses are subject to the gross receipts tax in San Francisco, and how is their San Francisco gross receipts calculated? What are the current rates for this tax, and are there any exemptions or scheduled increases?</code>                                   | <code>The Way It Is Now<br>CHANGES TO BUSINESS TAXES<br>The City collects various business taxes on an annual basis including:<br>O<br><br>SAN FRANCISCO<br>FILED<br>2024 MAY 15 PM 3:10<br>DEPARTMENT OF ELECTIONS<br>A gross receipts tax that is a percentage of a business's San Francisco gross receipts.<br>Depending on business type, the City determines a business's San Francisco gross<br>receipts based on sales in San Francisco, payroll expenses for employees working there,<br>or both. Rates range from 0.053% to 1.008% and are scheduled to increase in coming<br>years. Rates depend on business type, and higher rates apply as a business generates<br>more gross receipts. For 2023, most businesses with gross receipts up to $2.19 million<br>are exempt.<br>A homelessness gross receipts tax that is an additional tax on businesses with San<br>Francisco gross receipts over $50 million. Rates range from 0.175% to 0.69%.<br>An overpaid executive gross receipts tax that is an additional tax on businesses that pay<br>their highest-paid managerial employee much higher than the median compensation they<br>pay their San Francisco employees. Rates are between 0.1% and 0.6%.<br>A business registration fee that is an additional tax. For most businesses the fee is<br>currently between $47 and $45,150, based on business type and amount of gross receipts.<br>• An administrative office tax on payroll expenses that certain large businesses pay instead<br>of these other business taxes. The combined rates in 2024 range from 3.04% to 5.44%,<br>and in 2025 are scheduled to range from 3.11% to 5.51%. Business registration fees for<br>these businesses currently range from $19,682 to $45,928.<br>State law limits the total revenue, including tax revenue, the City may spend each year. The<br>voters may approve increases to this limit for up to four years.</code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | <code>What is the homelessness gross receipts tax, and which businesses are required to pay it? What are the current rates for this tax, and how do they vary based on the amount of San Francisco gross receipts? Are there any exemptions or scheduled increases for this tax?</code> | <code>The Way It Is Now<br>CHANGES TO BUSINESS TAXES<br>The City collects various business taxes on an annual basis including:<br>O<br><br>SAN FRANCISCO<br>FILED<br>2024 MAY 15 PM 3:10<br>DEPARTMENT OF ELECTIONS<br>A gross receipts tax that is a percentage of a business's San Francisco gross receipts.<br>Depending on business type, the City determines a business's San Francisco gross<br>receipts based on sales in San Francisco, payroll expenses for employees working there,<br>or both. Rates range from 0.053% to 1.008% and are scheduled to increase in coming<br>years. Rates depend on business type, and higher rates apply as a business generates<br>more gross receipts. For 2023, most businesses with gross receipts up to $2.19 million<br>are exempt.<br>A homelessness gross receipts tax that is an additional tax on businesses with San<br>Francisco gross receipts over $50 million. Rates range from 0.175% to 0.69%.<br>An overpaid executive gross receipts tax that is an additional tax on businesses that pay<br>their highest-paid managerial employee much higher than the median compensation they<br>pay their San Francisco employees. Rates are between 0.1% and 0.6%.<br>A business registration fee that is an additional tax. For most businesses the fee is<br>currently between $47 and $45,150, based on business type and amount of gross receipts.<br>• An administrative office tax on payroll expenses that certain large businesses pay instead<br>of these other business taxes. The combined rates in 2024 range from 3.04% to 5.44%,<br>and in 2025 are scheduled to range from 3.11% to 5.51%. Business registration fees for<br>these businesses currently range from $19,682 to $45,928.<br>State law limits the total revenue, including tax revenue, the City may spend each year. The<br>voters may approve increases to this limit for up to four years.</code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  | <code>What is the proposed measure that voters may approve to change the City's business taxes in San Francisco?</code>                                                                                                                                                                 | <code>The<br>voters may approve increases to this limit for up to four years.<br>The Proposal<br>The proposed measure would change the City's business taxes to:<br><br>For the gross receipts tax:<br>○ recategorize business types, reducing the number from 14 to seven;<br>determine San Francisco gross receipts for some businesses based less on payroll<br>expenses and more on sales;<br>o change rates to between 0.1% and 3.716%; and<br>exempt most businesses with gross receipts up to $5 million (increased by<br>inflation).<br>Apply the homelessness gross receipts tax on business activities with San Francisco gross<br>receipts over $25 million, at rates between 0.162% and 1.64%.<br>Modify how the City calculates the overpaid executive gross receipts tax and who pays<br>that tax, and set rates between 0.02% and 0.129%.<br>Adjust business registration fees to between $55 and $60,000 (increased by inflation).Adjust the administrative office tax rates for certain large businesses to range from 2.97%<br>to 3.694%, and the business registration fees for these taxpayers to between $500 and<br>$35,000 (increased by inflation).<br>Make administrative and other changes to the City's business taxes.<br>The homelessness gross receipts tax would continue to fund services for people experiencing<br>homelessness and homelessness prevention. The City would use the other taxes for general<br>government purposes.<br>All these taxes would apply indefinitely until repealed.<br>This proposal would increase the City's spending limit for four years.SALITA CO<br>2024 MAY 10 PH 1:27<br>DEPARTMENT OF ELECTI<br>"Local Small Business Tax Cut Ordinance"<br>Be it ordained by the People of the City and County of San Francisco:<br>NOTE:<br>Unchanged Code text and uncodified text are in plain font.<br>Additions to Codes are in single-underline italics Times New Roman font.<br>Deletions to Codes are in strikethrough italics Times New Roman font.<br>Asterisks (* * * *) indicate the omission of unchanged Code<br>subsections or parts of tables.<br>Section 1. Title. This initiative is known and may be referred to as the "Local Small<br>Business Tax Cut Ordinance."<br>Section 2. Article 2 of the Business and Tax Regulations Code is hereby amended by<br>revising Section 76.3 to read as follows:<br>SEC. 76.3.</code> |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }
  ```

### Training Hyperparameters
#### Non-Default Hyperparameters

- `per_device_train_batch_size`: 10
- `per_device_eval_batch_size`: 10
- `num_train_epochs`: 10
- `multi_dataset_batch_sampler`: round_robin

#### All Hyperparameters
<details><summary>Click to expand</summary>

- `overwrite_output_dir`: False
- `do_predict`: False
- `eval_strategy`: no
- `prediction_loss_only`: True
- `per_device_train_batch_size`: 10
- `per_device_eval_batch_size`: 10
- `per_gpu_train_batch_size`: None
- `per_gpu_eval_batch_size`: None
- `gradient_accumulation_steps`: 1
- `eval_accumulation_steps`: None
- `learning_rate`: 5e-05
- `weight_decay`: 0.0
- `adam_beta1`: 0.9
- `adam_beta2`: 0.999
- `adam_epsilon`: 1e-08
- `max_grad_norm`: 1
- `num_train_epochs`: 10
- `max_steps`: -1
- `lr_scheduler_type`: linear
- `lr_scheduler_kwargs`: {}
- `warmup_ratio`: 0.0
- `warmup_steps`: 0
- `log_level`: passive
- `log_level_replica`: warning
- `log_on_each_node`: True
- `logging_nan_inf_filter`: True
- `save_safetensors`: True
- `save_on_each_node`: False
- `save_only_model`: False
- `restore_callback_states_from_checkpoint`: False
- `no_cuda`: False
- `use_cpu`: False
- `use_mps_device`: False
- `seed`: 42
- `data_seed`: None
- `jit_mode_eval`: False
- `use_ipex`: False
- `bf16`: False
- `fp16`: False
- `fp16_opt_level`: O1
- `half_precision_backend`: auto
- `bf16_full_eval`: False
- `fp16_full_eval`: False
- `tf32`: None
- `local_rank`: 0
- `ddp_backend`: None
- `tpu_num_cores`: None
- `tpu_metrics_debug`: False
- `debug`: []
- `dataloader_drop_last`: False
- `dataloader_num_workers`: 0
- `dataloader_prefetch_factor`: None
- `past_index`: -1
- `disable_tqdm`: False
- `remove_unused_columns`: True
- `label_names`: None
- `load_best_model_at_end`: False
- `ignore_data_skip`: False
- `fsdp`: []
- `fsdp_min_num_params`: 0
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
- `fsdp_transformer_layer_cls_to_wrap`: None
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
- `deepspeed`: None
- `label_smoothing_factor`: 0.0
- `optim`: adamw_torch
- `optim_args`: None
- `adafactor`: False
- `group_by_length`: False
- `length_column_name`: length
- `ddp_find_unused_parameters`: None
- `ddp_bucket_cap_mb`: None
- `ddp_broadcast_buffers`: False
- `dataloader_pin_memory`: True
- `dataloader_persistent_workers`: False
- `skip_memory_metrics`: True
- `use_legacy_prediction_loop`: False
- `push_to_hub`: False
- `resume_from_checkpoint`: None
- `hub_model_id`: None
- `hub_strategy`: every_save
- `hub_private_repo`: False
- `hub_always_push`: False
- `gradient_checkpointing`: False
- `gradient_checkpointing_kwargs`: None
- `include_inputs_for_metrics`: False
- `eval_do_concat_batches`: True
- `fp16_backend`: auto
- `push_to_hub_model_id`: None
- `push_to_hub_organization`: None
- `mp_parameters`: 
- `auto_find_batch_size`: False
- `full_determinism`: False
- `torchdynamo`: None
- `ray_scope`: last
- `ddp_timeout`: 1800
- `torch_compile`: False
- `torch_compile_backend`: None
- `torch_compile_mode`: None
- `dispatch_batches`: None
- `split_batches`: None
- `include_tokens_per_second`: False
- `include_num_input_tokens_seen`: False
- `neftune_noise_alpha`: None
- `optim_target_modules`: None
- `batch_eval_metrics`: False
- `eval_on_start`: False
- `batch_sampler`: batch_sampler
- `multi_dataset_batch_sampler`: round_robin

</details>

### Training Logs
| Epoch | Step | cosine_map@100 |
|:-----:|:----:|:--------------:|
| 0     | 0    | 0.7167         |
| 1.0   | 24   | 0.7352         |
| 2.0   | 48   | 0.7564         |
| 3.0   | 72   | 0.7669         |
| 4.0   | 96   | 0.7456         |
| 5.0   | 120  | 0.7225         |
| 6.0   | 144  | 0.7319         |
| 7.0   | 168  | 0.7499         |
| 8.0   | 192  | 0.7302         |
| 9.0   | 216  | 0.7254         |
| 10.0  | 240  | 0.7398         |


### Framework Versions
- Python: 3.10.12
- Sentence Transformers: 3.0.1
- Transformers: 4.42.0.dev0
- PyTorch: 2.3.0+cu121
- Accelerate: 0.31.0
- Datasets: 2.19.2
- Tokenizers: 0.19.1

## Citation

### BibTeX

#### Sentence Transformers
```bibtex
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}
```

#### MultipleNegativesRankingLoss
```bibtex
@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply}, 
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}
```

<!--
## Glossary

*Clearly define terms in order to be accessible across audiences.*
-->

<!--
## Model Card Authors

*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->

<!--
## Model Card Contact

*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->