SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Overseas Citizens Voting Rights Act
of 1996''.

SEC. 2. EXTENSION OF PERIOD FOR RECEIPT OF ABSENTEE BALLOTS.

    Section 102 of the Uniformed and Overseas Citizens Absentee Voting
Act (42 U.S.C. 1973ff-1) is amended--
            (1) by striking out ``and'' at the end of paragraph (2);
            (2) by striking out the period at the end of paragraph (3)
        and inserting in lieu thereof ``; and''; and
            (3) by adding at the end the following new paragraph:
            ``(4) permit absentee ballots to be received at least until
        the close of polls on election day.''.

SEC. 3. EXTENSION OF FEDERAL WRITE-IN ABSENTEE BALLOT PROVISIONS TO
              SPECIAL, PRIMARY, AND RUNOFF ELECTIONS.

    (a) In General.--Section 103(a) of the Uniformed and Overseas
Citizens Absentee Voting Act (42 U.S.C. 1973ff-2(a)) is amended--
            (1) by inserting after ``general'' the following: ``,
        special, primary, and runoff''; and
            (2) by striking out ``States,'' and inserting in lieu
        thereof ``State''.
    (b) Special Rules.--Section 103(c) of the Uniformed and Overseas
Citizens Absentee Voting Act (42 U.S.C. 1973ff-2(c)) is amended--
            (1) in paragraph (1), by inserting after ``candidate or''
        the following: ``, with respect to a general or special
        election,''; and
            (2) in paragraph (2), by inserting after ``candidate or''
        the following: ``with respect to a general election''.
    (c) Use of Approved State Absentee Ballot in Place of Federal
Write-in Absentee Ballot.--Section 103(e) of the Uniformed and Overseas
Citizens Absentee Voting Act (42 U.S.C. 1973ff-2(e)) is amended by
striking out ``a general'' and inserting in lieu thereof ``an''.
    (d) Certain States Exempted.--Section 103(f) of the Uniformed and
Overseas Citizens Absentee Voting Act (42 U.S.C. 1973ff-2(f)) is
amended by striking out ``general'' each place it appears.
    (e) Effective Date.--The amendments made by this section shall
apply with respect to elections taking place after December 31, 1996.

SEC. 4. USE OF ELECTRONIC RETURN OF ABSENTEE BALLOTS.

    (a) In General.--Section 104 of the Uniformed and Overseas Citizens
Absentee Voting Act (42 U.S.C. 1973ff-3) is amended--
            (1) by striking out ``and'' at the end of paragraph (8);
            (2) by striking out the period at the end of paragraph (9)
        and inserting in lieu thereof ``; and''; and
            (3) by adding at the end the following new paragraph:
            ``(10) in consultation with the Presidential designee,
        consider means for providing for expeditious methods for the
        return of absentee ballots, including return by electronic
        transmittal, with maximum regard for ballot secrecy, audit
        procedures, and other considerations relating to the integrity
        of the election process.''.
    (b) Secrecy and Verification of Electronically Transmitted
Ballots.--Section 104 of the Uniformed and Overseas Citizens Absentee
Voting Act (42 U.S.C. 1973ff-3) is amended--
            (1) by striking out ``To afford'' and inserting in lieu
        thereof ``(a) In General.--To afford''; and
            (2) by adding at the end the following new subsection:
    ``(b) Secrecy and Verification of Electronically Transmitted
Ballots.--No electronic transmittal or related procedure under
subsection (a)(10) that is paid for, in whole or in part, with Federal
funds may be carried out in any manner that (1) permits any person
other than the voter to view a completed ballot, or (2) otherwise
compromises ballot secrecy. At the earliest possible opportunity, the
original of each completed ballot that is transmitted electronically
shall be submitted in a secrecy envelope to the applicable location in
the State involved.''

SEC. 5. ELECTRONIC TRANSMITTAL OF BALLOTING MATERIALS.

    (a) In General.--The Uniformed and Overseas Citizens Absentee
Voting Act (42 U.S.C. 1973ff et seq.) is amended by adding at the end
the following new sections:

``SEC. 108. ELECTRONIC TRANSMITTAL OF BALLOTING MATERIALS.

    ``(a) In General.--Each State, in cooperation with the Presidential
designee, shall establish a system for electronic transmittal of
balloting materials for overseas voters. The system shall provide for--
            ``(1) electronic transmittal as an alternative method for
        transmittal of balloting materials to overseas voters;
            ``(2) use of the format of the official post card form
        prescribed under section 101 (or the format of any other
        registration form provided for under State law) for purposes of
        absentee voter registration application and absentee ballot
        application, with the condition that a State may require
        receipt of a form with an original signature before the ballot
        of the voter is counted;
            ``(3) furnishing of absentee ballots by electronic
        transmittal, from locations within the State, as selected by
        the chief State election official, to overseas voters who
        request such transmittal; and
            ``(4) special alternative methods of transmittal of
        balloting materials for use only when required by an emergency
        declared by the President or the Congress.
    ``(b) Funding Requirement.--The requirements of subsection (a)
shall apply to a State with respect to an election--
            ``(1) if there is full payment by the Federal Government of
        any additional cost incurred by the State after the date of the
        enactment of this Act for the implementation of such subsection
        (a), with such costs to be determined by the Presidential
        designee and the chief State election official, acting jointly;
        or
            ``(2) in any case of less than full payment, as described
        in paragraph (1), if the State, in the manner provided for
        under the law of the State, agrees to the application of such
        requirements.

``SEC. 109. NOTIFICATION REQUIREMENT FOR APPROVAL OF ELECTRONIC
              TRANSMITTAL METHOD.

    ``The Presidential designee may not approve use of any method of
electronic transmittal for purposes of this Act, unless, not later than
90 days before the effective date of the approval, the Presidential
designee submits to the Congress a detailed report describing the
method.''.
    (b) Definition Amendment.--Section 107 of the Uniformed and
Overseas Citizens Absentee Voting Act (42 U.S.C. 1973ff-6) is amended--
            (1) by striking out ``and'' at the end of paragraph (7);
            (2) by striking out the period at the end of paragraph (8)
        and inserting in lieu thereof ``; and''; and
            (3) by adding at the end the following new paragraph:
            ``(9) the term `electronic transmittal' means, with respect
        to balloting materials, transmittal by facsimile machine or
        other electronic method approved by the Presidential
        designee.''.
    (c) Effective Date.--The amendments made by this section shall
apply with respect to elections taking place after December 31, 1996.

SEC. 6. REPORT PROVISION.

    Section 101(b)(6) of the Uniformed and Overseas Citizens Absentee
Voting Act (42 U.S.C. 1973ff(b)(6)) is amended--
            (1) by striking out ``participation and'' and inserting in
        lieu thereof ``participation,''; and
            (2) by inserting before the period at the end the
        following: ``, and a separate analysis of electronic
        transmittal of balloting materials''.

            Passed the House of Representatives May 14, 1996.

            Attest:

                                                ROBIN H. CARLE,

                                                                 Clerk.

Overseas Citizens Voting Rights Act of 1996 - Amends the Uniformed and Overseas Citizens Absentee Voting Act to require each State to allow absentee ballots to be received at least until the closing of polls on election day.
(Sec. 3) Extends the Federal write-in ballot provisions to include special, primary, and run-off elections.
(Sec. 4) Recommends that the States consider, with respect to absent uniformed services voters and overseas voters, means to provide for the expeditious return of absentee ballots, including return by electronic transmittal.
(Sec. 5) Requires each State to establish a system for electronic transmittal of balloting materials for overseas voters.  Sets forth provisions concerning system requirements, including funding and notification requirements.


SECTION 1. SHORT TITLE.

    This Act may cited as the ``District of Columbia Full Self-
Government Act''.

              TITLE I--STATUS OF THE DISTRICT OF COLUMBIA

SEC. 101. STATUS OF THE DISTRICT.

    (a) In General.--All of the territory constituting the permanent
seat of the Government of the United States shall continue to be
designated as the District of Columbia. The District of Columbia shall
remain and continue a body corporate, as provided in section 2 of the
Revised Statutes relating to the District (sec. 1-102, D.C. Official
Code).
    (b) No Effect on Existing Laws.--No law or regulation which is in
force on the effective date of this Act shall be deemed amended or
repealed by this Act except to the extent specifically provided herein
or to the extent that such law or regulation is inconsistent with this
Act, but any such law or regulation may be amended or repealed by act
or resolution as authorized in this Act, or by Act of Congress.
    (c) No Effect on Boundary Line.--Nothing contained in this section
shall affect the boundary line between the District of Columbia and the
Commonwealth of Virginia as the same was established or may be
subsequently established under the provisions of title I of the Act of
October 31, 1945 (59 Stat. 552).

SEC. 102. LEGISLATIVE POWER OF DISTRICT OF COLUMBIA.

    Except as provided in section 202, the legislative power of the
District of Columbia shall extend to all rightful subjects of
legislation within the District consistent with the Constitution of the
United States and the provisions of this Act subject to all the
restrictions and limitations imposed upon the States by the tenth
section of the first article of the Constitution of the United States.

                      TITLE II--LEGISLATIVE BRANCH

SEC. 201. ESTABLISHMENT OF THE COUNCIL.

    (a) Establishment.--There is established a Council of the District
of Columbia (hereafter in this Act referred to as the ``Council''), and
the members of the Council shall be elected by the registered qualified
electors of the District.
    (b) Powers, Organization, and Procedure.--The powers, organization,
and procedure of the Council shall be set forth under such laws as may
be enacted by the District of Columbia consistent with the provisions
of this Act.

SEC. 202. LIMITATIONS ON AUTHORITY.

    The Council shall have no authority to pass any act contrary to the
provisions of this Act except as specifically provided in this Act, or
to--
            (1) impose any tax on property of the United States or any
        of the several States;
            (2) lend the public credit for support of any private
        undertaking;
            (3) enact any act, or enact any act to amend or repeal any
        Act of Congress, which concerns the functions or property of
        the United States or which is not restricted in its application
        exclusively in or to the District of Columbia;
            (4) enact any act, resolution, or rule with respect to any
        provision of title 11 of the District of Columbia Official Code
        (relating to organization and jurisdiction of the District of
        Columbia courts);
            (5) impose any tax on the whole or any portion of the
        personal income, either directly or at the source thereof, of
        any individual not a resident of the District (the terms
        ``individual'' and ``resident'' in this paragraph to have the
        meaning given such terms in section 47-1801.04, D.C. Official
        Code);
            (6) enact any act, resolution, or rule which permits the
        building of any structure within the District of Columbia in
        excess of the height limitations contained in section 5 of the
        Act of June 1, 1910 (sec. 5-405, D.C. Official Code), and in
        effect on the effective date of this Act;
            (7) enact any act, resolution, or regulation with respect
        to the Commission of Mental Health;
            (8) enact any act or regulation relating to the United
        States District Court for the District of Columbia or any other
        court of the United States in the District other than the
        District courts, or relating to the duties or powers of the
        United States attorney or the United States Marshal for the
        District of Columbia; or
            (9) enact any act, resolution, or rule with respect to the
        District of Columbia Financial Responsibility and Management
        Assistance Authority established under section 101(a) of the
        District of Columbia Financial Responsibility and Management
        Assistance Act of 1995.

                      TITLE III--EXECUTIVE BRANCH

SEC. 301. OFFICE OF THE MAYOR.

    (a) Establishment.--There is established the Office of the Mayor of
the District of Columbia, and the Mayor shall be elected by the
registered qualified electors of the District.
    (b) Powers and Duties.--The powers and duties of the Mayor of the
District of Columbia, and the organization of the Office of the Mayor
of the District of Columbia, shall be set forth under such laws as may
be enacted by the District of Columbia consistent with the provisions
of this Act.

SEC. 302. TREATMENT OF EMPLOYEES FORMERLY COVERED BY FEDERAL CIVIL
              SERVICE SYSTEM.

    In the case of persons employed by the District government
immediately preceding the effective date of the personnel system
established by the District government pursuant to section 422(3) of
the District of Columbia Home Rule Act, the personnel system of the
District government may provide for continued participation in all or
part of the Federal Civil Service System and shall provide for
benefits, including but not limited to pay, tenure, leave, residence,
retirement, health and life insurance, and employee disability and
death benefits, all at least equal to those provided by legislation
enacted by Congress, or regulation adopted pursuant thereto, and
applicable to such officers and employees immediately prior to such
date, except that nothing in this Act shall prohibit the District from
separating an officer or employee subject to such system in the
implementation of a financial plan and budget for the District
government approved under subtitle A of title II of the District of
Columbia Financial Responsibility and Management Assistance Act of
1995.

SEC. 303. RESTRICTIONS ON CERTAIN MUNICIPAL PLANNING ACTIVITIES.

    The Mayor's planning responsibility shall not extend to Federal and
international projects and developments in the District, as determined
by the National Capital Planning Commission, or to the United States
Capitol buildings and grounds as defined in chapter 51 of title 40,
United States Code, or to any extension thereof or addition thereto, or
to buildings and grounds under the care of the Architect of the
Capitol.

SEC. 304. EMERGENCY CONTROL OF METROPOLITAN POLICE DEPARTMENT.

    (a) Authority of President To Exercise Control in Emergencies.--
            (1) Authority.--Notwithstanding any other provision of law,
        whenever the President of the United States determines that
        special conditions of an emergency nature exist which require
        the use of the Metropolitan Police force for Federal purposes,
        he may direct the Mayor to provide him, and the Mayor shall
        provide, such services of the Metropolitan Police force as the
        President may deem necessary and appropriate.
            (2) Limitation of duration of authority.--In no case shall
        services made available pursuant to any direction of the
        President under this subsection extend--
                    (A) for a period in excess of 48 hours unless the
                President has, prior to the expiration of such period,
                notified the chairman and ranking minority member of
                the Committee on Oversight and Government Reform of the
                House of Representatives and the chairman and ranking
                minority member of the Committee on Homeland Security
                and Governmental Affairs of the Senate, in writing, as
                to the reason for such direction and the period of time
                during which the need for such services is likely to
                continue; or
                    (B) for any period in excess of 30 days, unless the
                Senate and the House of Representatives enact into law
                a joint resolution authorizing such an extension.
    (b) Termination.--
            (1) In general.--Subject to paragraph (2), the services
        made available in accordance with subsection (a) shall
        terminate upon the end of such emergency, the expiration of a
        period of 30 days following the date on which such services are
        first made available, or the enactment into law of a joint
        resolution by the Congress providing for such termination,
        whichever first occurs.
            (2) Special rule in case of adjournment of congress sine
        die.--Notwithstanding paragraph (1), in any case in which
        services are made available in accordance with subsection (a)
        during any period of an adjournment of the Congress sine die,
        such services shall terminate upon the end of the emergency,
        the expiration of the 30-day period following the date on which
        Congress first convenes following such adjournment, or the
        enactment into law of a joint resolution by the Congress
        providing for such termination, whichever first occurs.

                       TITLE IV--JUDICIAL BRANCH

SEC. 401. JUDICIAL BRANCH.

    The judicial powers of the District of Columbia, and the provisions
of the charter of the District of Columbia government which are
applicable to the judges and courts of the District of Columbia, shall
be those set forth in part C of title IV of the District of Columbia
Home Rule Act (sec. 1-204.31 et seq., D.C. Official Code), as in effect
on the effective date of this Act.

                TITLE V--BUDGET AND FINANCIAL MANAGEMENT

SEC. 501. APPLICATION OF LAWS ESTABLISHED BY DISTRICT OF COLUMBIA.

    (a) Budget and Financial Management.--Subject to this Act, the
process by which the District of Columbia develops and enacts the
budget for the District government for a fiscal year, and the
activities carried out with respect to the financial management of the
District government for a fiscal year, shall be established under such
laws as may be enacted by the District.
    (b) Borrowing.--Subject to this Act, the process and rules by which
the District of Columbia issues bonds or otherwise borrows money shall
be established under such laws as may be enacted by the District.

SEC. 502. FULL FAITH AND CREDIT OF UNITED STATES NOT PLEDGED.

    The full faith and credit of the United States is not pledged for
the payment of any principal of or interest on any bond, note, or other
obligation issued by the District of Columbia, and the United States is
not responsible or liable for the payment of any principal of or
interest on any bond, note, or other obligation issued by the District.

SEC. 503. FEDERAL TAX EXEMPTION.

    Bonds and notes issued by the District of Columbia and the interest
thereon shall be exempt from all Federal taxation except estate,
inheritance, and gift taxes.

SEC. 504. LEGAL INVESTMENT IN BONDS AND NOTES ISSUED BY DISTRICT OF
              COLUMBIA.

    Notwithstanding any restriction on the investment of funds by
fiduciaries contained in any other law, all domestic insurance
companies, domestic insurance associations, executors, administrators,
guardians, trustees, and other fiduciaries within the District of
Columbia may legally invest any sinking funds, moneys, trust funds, or
other funds belonging to them or under or within their control in any
bonds issued by the District of Columbia. National banking associations
are authorized to deal in, underwrite, purchase and sell, for their own
accounts or for the accounts of customers, bonds and notes issued by
the District to the same extent as national banking associations are
authorized by paragraph seven of section 5136 of the Revised Statutes
(12 U.S.C. 24), to deal in, underwrite, purchase and sell obligations
of the United States, States, or political subdivision thereof. All
Federal building and loan associations and Federal savings and loan
associations, and banks, trust companies, building and loan
associations, and savings and loan associations, domiciled in the
District may purchase, sell, underwrite, and deal in, for their own
account or for the account of others, all bonds or notes issued by the
District of Columbia. Nothing contained in this section shall be
construed as relieving any person, firm, association, or corporation
from any duty of exercising due and reasonable care in selecting
securities for purchase or investment.

               TITLE VI--RETENTION OF FEDERAL AUTHORITIES

SEC. 601. RETENTION OF CONGRESSIONAL AUTHORITY.

    Notwithstanding any other provision of this Act, Congress reserves
the right, at any time, to exercise its constitutional authority as
legislature for the District of Columbia, by enacting legislation for
the District on any subject, whether within or without the scope of
legislative power granted to the Council by this Act, including
legislation to amend or repeal any law in force in the District prior
to or after the effective date of this Act and any act passed by the
Council.

SEC. 602. LIMITATION ON AUTHORITY OF DISTRICT OVER CERTAIN AGENCIES.

    Nothing in this Act shall be construed as vesting in the District
of Columbia government any greater authority over the National
Zoological Park, the National Guard of the District of Columbia, the
Washington Aqueduct, the National Capital Planning Commission, or over
any Federal agency, than was vested in the Commissioner of the District
of Columbia established under Reorganization Plan Numbered 3 of 1967
prior to January 2, 1975.

         TITLE VII--TERMINATION OF EXISTING CHARTER; TRANSITION

SEC. 701. TERMINATION OF EXISTING CHARTER.

    (a) In General.--Except as provided in section 401 and subsection
(b), the District of Columbia Home Rule Act (sec. 1-201.01 et seq.,
D.C. Official Code) is repealed.
    (b) No Effect on Amendatory Provisions.--Nothing in subsection (a)
shall be construed to affect any provision of law which is amended or
repealed by the District of Columbia Home Rule Act.

SEC. 702. NO EFFECT ON EXISTING OBLIGATIONS.

    (a) Budgets.--Nothing in this Act or in the amendment made by
section 701 may be construed to relieve the District of Columbia of any
contractual or other financial obligations incurred by the District
under a budget enacted for a fiscal year prior to the effective date of
this Act.
    (b) Borrowing.--Nothing in this Act or in the amendment made by
section 701 may be construed--
            (1) to relieve the District of Columbia of any obligation
        incurred with respect to bonds or other forms of borrowing
        issued prior to the effective date of this Act; or
            (2) to waive the application to the District of Columbia of
        any other Federal law governing the borrowing of funds by
        States or units of local government, including the Internal
        Revenue Code of 1986.

SEC. 703. NO EFFECT ON INDIVIDUALS HOLDING POSITIONS WITHIN DISTRICT
              GOVERNMENT.

    Nothing in this Act or in the amendment made by section 701 may be
construed to affect the status of any individual who holds elective or
appointed office in, or is an officer or employee of, the government of
the District of Columbia as of the effective date of this Act.

SEC. 704. NO EFFECT ON PENDING ACTIONS OR PROCEEDINGS.

    No suit, action, or other judicial proceeding lawfully commenced by
or against any officer or agency in his or its official capacity or in
relation to the exercise of his or its official functions, and no
administrative action or proceeding lawfully commenced, shall abate by
reason of this Act or the amendment made by section 701.

                       TITLE VIII--EFFECTIVE DATE

SEC. 801. EFFECTIVE DATE.

    This Act and the amendments made by this Act shall take effect on
the effective date of legislation enacted by the District of Columbia
after the date of the enactment of this Act which establishes--
            (1) the powers, organization, and procedure of the Council
        of the District of Columbia; and
            (2) the powers and duties of the Mayor of the District of
        Columbia, and the organization of the Office of the Mayor of
        the District of Columbia.

District of Columbia Full Self-Government Act - Declares that: (1) this Act shall have no effect on existing law or regulation unless otherwise repealed or amended by this Act or an Act of Congress; and (2) the legislative power of the District shall extend to all rightful subjects of legislation within the District consistent with the U.S. Constitution and the provisions of this Act, subject to all the restrictions and limitations imposed upon the states by the Constitution.

Establishes a Council of the District of Columbia and the Office of the Mayor.

Prescribes requirements for treatment of District employees formerly covered by the Federal Civil Service System.

Prohibits the Mayor's planning responsibility from extending to federal and District international projects and developments.

Prescribes requirements granting the President emergency control of the Metropolitan Police Department.

Declares that the District's judicial powers and the provisions of the District charter applicable to District judges and courts shall be those set forth in the District of Columbia Home Rule Act as in effect on the enactment of this Act.

Subjects the process by which the District develops and enacts its fiscal year budget and related financial management activities to such laws as the District may enact.

Declares that the full faith and credit of the United States is not pledged for any District obligations, nor is the United States responsible or liable for them.

Exempts all District bonds and notes (and interest) from federal taxation, except estate, inheritance, and gift taxes. Authorizes certain entities to invest in District bonds and notes.

Reserves Congress the right to exercise constitutional authority as legislature for the District.

Repeals the District of Columbia Home Rule Act (establishing the existing District charter), but not any provision of law amended or repealed by such Act.

To establish the charter for the government of the District of Columbia.


THEM: i would like 4 hats and you can have the rest . <eos> YOU: deal <eos> THEM: <selection>

Output: item0=1 item1=0 item2=1 item0=0 item1=4 item2=0


YOU: i would like 4 hats and you can have the rest . <eos> THEM: deal <eos> YOU: <selection>

Output: item0=0 item1=4 item2=0 item0=1 item1=0 item2=1


THEM: hi i would like the book and ball and you can have the hats <eos> YOU: i can give you either the book or the ball <eos> THEM: ill take the book <eos> YOU: ok i will take the hats and ball <eos> THEM: deal <eos> YOU: <selection>

Output: item0=0 item1=3 item2=1 item0=1 item1=0 item2=0


YOU: hi i would like the book and ball and you can have the hats <eos> THEM: i can give you either the book or the ball <eos> YOU: ill take the book <eos> THEM: ok i will take the hats and ball <eos> YOU: deal <eos> THEM: <selection>

Output: item0=1 item1=0 item2=0 item0=0 item1=3 item2=1


YOU: i would like the hat and 3 books <eos> THEM: can i have the hat and the balls ? <eos> YOU: i need to have the hat <eos> THEM: take the books and give me the hat , its a win win , right ? <eos> YOU: no it's not <eos> THEM: <selection>

Output: <disagree> <disagree> <disagree> <disagree> <disagree> <disagree>


THEM: lemme get that book and ball ! <eos> YOU: i need 2 balls and a hat <eos> THEM: i'll take the book and two hats then ? <eos> YOU: ok <eos> THEM: <selection>

Output: item0=0 item1=1 item2=2 item0=1 item1=2 item2=0


YOU: lemme get that book and ball ! <eos> THEM: i need 2 balls and a hat <eos> YOU: i'll take the book and two hats then ? <eos> THEM: ok <eos> YOU: <selection>

Output: item0=1 item1=2 item2=0 item0=0 item1=1 item2=2


THEM: hello . i would like the book and one ball . <eos> YOU: you can have one ball 1 hat <eos> THEM: i need the book or it's no deal . <eos> YOU: no deal i am keeping the book <eos> THEM: ok no deal <eos> YOU: okay sounds good <eos> THEM: alright <eos> YOU: okay <eos> THEM: alright no deal <eos> YOU: okay its no deal <eos> THEM: <selection>

Output: <no_agreement> <no_agreement> <no_agreement> <no_agreement> <no_agreement> <no_agreement>


YOU: hello . i would like the book and one ball . <eos> THEM: you can have one ball 1 hat <eos> YOU: i need the book or it's no deal . <eos> THEM: no deal i am keeping the book <eos> YOU: ok no deal <eos> THEM: okay sounds good <eos> YOU: alright <eos> THEM: okay <eos> YOU: alright no deal <eos> THEM: okay its no deal <eos> YOU: <selection>

Output: <no_agreement> <no_agreement> <no_agreement> <no_agreement> <no_agreement> <no_agreement>


THEM: i love basketball and reading <eos> YOU: no . i want the hat and the balls <eos> THEM: both balls ? <eos> YOU: yeah or 1 ball and 1 book <eos> THEM: ok i want the hat and you can have the rest <eos> YOU: okay deal ill take the books and the balls you can have only the hat <eos> THEM: ok <eos> YOU: <selection>

Output: item0=3 item1=0 item2=2 item0=0 item1=1 item2=0


Summary: The betting place used a system of video surveillance illegally because it filmed the public space (the sidewalk). Private individuals are not allowed to do this on a large scale like in this case.

bet place use  system  video surveillance illegally   film  public space  sidewalk private individuals   allow      large scale like   case


Summary: The video surveillance cameras had been misused, clearly not in accord with the data minimization principle.

video surveillance cameras   misuse clearly   accord   data minimization principle


Summary: HVV GmbH had not reported a data breach to the data protection authority in due time. This data breach was related to the security gap in the Customer E-Service, in that that clients with an HVV card who logged in the CES could access the data of other customers by changing the URL to match their data profile.

hvv gmbh   report  data breach   data protection authority  due time  data breach  relate   security gap   customer eservice    clients   hvv card  log   ces could access  data   customers  change  url  match  data profile


Summary: Personal data was disclosed to a third party. No further details were revealed.

personal data  disclose   third party   detail  reveal


Summary: The data controller could not provide access to personal information to a patient because the dossier could not be identified. The patient complained to the Commissioner about this, and the hospital was fined 5.000 Euros.

data controller could  provide access  personal information   patient   dossier could   identify  patient complain   commissioner     hospital   euros


Summary: Leave.EU subscriber emails contained marketing ads related to the GoSkippy services of the Eldon Insurance firm. The data subjects did not give their consent to this, hence the fine issued by the ICO.

leaveeu subscriber email contain market ads relate   goskippy service   eldon insurance firm  data subject   give  consent   hence   issue   ico


lilylee06067831 <bio>  <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


gregskupien <bio>  <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


jimitjim <bio> Computer vision | Image and signal processing | Pattern recognition | Machine learning | Artificial intelligence | Mixed reality <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


saby_tweets <bio> PhD Student @Mila_Quebec @IID_ULaval @universitelaval | ex-@nvidia, masters @iiscbangalore | robust deep learning, autonomous driving, OOD, XAI <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


ajit1113 <bio> Actor at Asmita theater
Wanna be a storyteller. <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


miguelbandera <bio> #ML #3DArt #GameDev #VR #AR #photogrammetry <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


mgrankin <bio> The human right is to become an immortal all-mighty god. <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


carton_mn <bio> 23.
MERN stack, in progress
Humanities, in progress <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


YuanLiu41955461 <bio> PhD student at The University of Hong Kong. Doing research about 3D vision and computer graphics. <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


MahyarBolhassan <bio> https://t.co/DP6muBl1Li. in biomedical engineering, machine learning & deep learning enthusiast <title> HM3D-ABO: A Photo-realistic Dataset for Object-centric Multi-view 3D Reconstruction


University_of_Notre_Dame

Context: Architecturally, the school has a Catholic character. Atop the Main Building's gold dome is a golden statue of the Virgin Mary. Immediately in front of the Main Building and facing it, is a copper statue of Christ with arms upraised with the legend "Venite Ad Me Omnes". Next to the Main Building is the Basilica of the Sacred Heart. Immediately behind the basilica is the Grotto, a Marian place of prayer and reflection. It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858. At the end of the main drive (and in a direct line that connects through 3 statues and the Gold Dome), is a simple, modern stone statue of Mary.

Question: To whom did the Virgin Mary allegedly appear in 1858 in Lourdes France?

Answer: Saint Bernadette Soubirous


University_of_Notre_Dame

Question: What is in front of the Notre Dame Main Building?

Answer: a copper statue of Christ


University_of_Notre_Dame

Question: The Basilica of the Sacred heart at Notre Dame is beside to which structure?

Answer: the Main Building


University_of_Notre_Dame

Question: What is the Grotto at Notre Dame?

Answer: a Marian place of prayer and reflection


University_of_Notre_Dame

Question: What sits on top of the Main Building at Notre Dame?

Answer: a golden statue of the Virgin Mary


University_of_Notre_Dame

Context: As at most other universities, Notre Dame's students run a number of news media outlets. The nine student-run outlets include three newspapers, both a radio and television station, and several magazines and journals. Begun as a one-page journal in September 1876, the Scholastic magazine is issued twice monthly and claims to be the oldest continuous collegiate publication in the United States. The other magazine, The Juggler, is released twice a year and focuses on student literature and artwork. The Dome yearbook is published annually. The newspapers have varying publication interests, with The Observer published daily and mainly reporting university and other news, and staffed by students from both Notre Dame and Saint Mary's College. Unlike Scholastic and The Dome, The Observer is an independent publication and does not have a faculty advisor or any editorial oversight from the University. In 1987, when some students believed that The Observer began to show a conservative bias, a liberal newspaper, Common Sense was published. Likewise, in 2003, when other students believed that the paper showed a liberal bias, the conservative paper Irish Rover went into production. Neither paper is published as often as The Observer; however, all three are distributed to all students. Finally, in Spring 2008 an undergraduate journal for political science research, Beyond Politics, made its debut.

Question: When did the Scholastic Magazine of Notre dame begin publishing?

Answer: September 1876


University_of_Notre_Dame

Question: How often is Notre Dame's the Juggler published?

Answer: twice


University_of_Notre_Dame

Question: What is the daily student paper at Notre Dame called?

Answer: The Observer


University_of_Notre_Dame

Question: How many student news papers are found at Notre Dame?

Answer: three


University_of_Notre_Dame

Question: In what year did the student paper Common Sense begin publication at Notre Dame?

Answer: 1987


A Porthcawl RNLI crew with a medic and the coastguard search and rescue helicopter were sent to Sker Beach, near Kenfig Nature Reserve, at 12:50 GMT on Sunday.
Crewman Chris Page said the rider had head injuries and was very cold from lying unconscious on wet sand.
She was treated before being flown to Cardiff's University Hospital of Wales.

A woman has been airlifted to hospital after falling from a horse on a Bridgend county beach.


Verheydt, who had been with Maastricht since 2015, has signed a three-year contract with Harry Kewell's side.
The 25-year-old scored 13 goals in 43 appearances in all competitions last season.
Meanwhile, Watford winger Dennon Lewis, 20, has joined the Reds on a loan deal until 31 December.
Lewis, who made 29 National League appearances on loan at Woking last season, played under Kewell when the Australian was coach of Watford's under-23 team.
Find all the latest football transfers on our dedicated page.

League Two side Crawley Town have signed striker Thomas Verheydt from Dutch second-tier side MVV Maastricht for an undisclosed fee.


The 32-year-old had been playing in the Isthmian Premier Division with Leatherhead following his release by Newport at the end of last season.
Pidgeley has made 260 appearances in spells with nine clubs, including Chelsea, Watford and Millwall.
Forest Green are currently second in the National League table, one point behind leaders Cheltenham Town.
Pidgeley could make his Rovers debut when they host Aldershot on Friday.

National League side Forest Green Rovers have signed goalkeeper Lenny Pidgeley until the end of the season.


The suspected green mamba was found on a ship that had docked in Aberdeen from west Africa last month.
The snake died after it was placed in a freezer by the animal charity after attempts to rehome it with specialist reptile keepers failed.
The snake was later identified as a harmless green tree snake.
Police Scotland said a complaint was under consideration.
Scottish SPCA Ch Supt Mike Flynn said: "We were called out after a green snake arrived in Aberdeen on a boat from Africa.
"The snake was thought to be a green mamba, one of the deadliest snakes in the world. The snake was taken by police escort to our Aberdeenshire animal rescue and rehoming centre.
"Sadly the snake, which staff genuinely believed to be a green mamba, had to be put to sleep after our attempts to rehome it to specialist reptile keepers were unsuccessful."
He added: "We could not keep the snake in our centre due to severe health and safety concerns, as the closest anti-venom is held in Bedford. Green mambas also require a Dangerous Wild Animal Licence which the society does not have.
"The safety of our staff and the public is paramount and as such the snake was placed in a freezer where it passed away.
"The Scottish SPCA is proud of its policy not put healthy animals to sleep. Animals are only put to sleep on veterinary advice if they are too ill or too aggressive to be rehomed, or where we are legally required to do so.
"The decision to euthanise the snake was not taken lightly. Unfortunately, the snake has since been identified as a harmless green tree snake. This has been an honest mistake on the society's part as we genuinely believed this was an extremely deadly snake."
The western green mamba feeds on small animals and rodents and is mainly found in the coastal tropical rainforests of western Africa.
Experts say its bite can be fatal in as little as 30 minutes.

A complaint about the Scottish SPCA putting what was thought to be one of the world's most deadly snakes to sleep is being investigated by police.


The all-rounder has been included in the T20 squad to face Sri Lanka on 5 July at the Ageas Bowl, having been part of the World T20 squad in March.
"It's nice to be involved again," the 26-year-old slow left-armer and right-handed batsman told BBC Radio Solent.
"I wasn't expecting to be as I thought Moeen Ali would, but him being rested hands me another opportunity."
Dawson failed to make an appearance during England's run to the World T20 final in India this year, but his limited-overs performances for Hampshire this season have kept him in contention.
"I'm not sure what team they'll go with," he said.
"I've had some good performances for Hampshire in one-day and T20 cricket and if I keep going with that, hopefully I might get a chance."

Hampshire's Liam Dawson says it would be "amazing" to make his England Twenty20 debut on his home ground.


The Egypt-backed plan had envisaged a regional forum which analysts say might have forced Israel to reveal whether or not it has nuclear weapons.
The proposal was blocked by the US, the UK and Canada. The next review is set for  2020.
Israel neither confirms nor denies it has a stockpile of nuclear weapons.
Speaking after four weeks of negotiations, US Under-Secretary of State Rose Gottemoeller accused Egypt and other Arab countries of "not willing to let go of these unrealistic and unworkable conditions" for future talks.
She also said some participants tried to "cynically manipulate" the whole process.
But Egypt warned that the failure to reach a deal "will have consequences in front of the Arab world and public opinion", the Associated Press news agency reports.
Last month, Egypt had proposed to stage a regional conference - with or without Israel's participation and without an agreed agenda.
Some analysts suggested that this move might have forced Israel - which is not a party to the Treaty on the Non-Proliferation of Nuclear Weapons (NPT) - to publicly clarify its position on nuclear weapons.
Decisions at NPT review conferences - held every five years - are made by consensus.
The failure of the current talks means the next gathering could only be held in 2020 at the earliest.

A UN conference aimed at preventing the proliferation of nuclear weapons has ended in failure after a row over a nuclear-free Middle East proposal.


Mothers-to-be are more likely to get malaria as their immunity is lowered, says the Royal College of Obstetricians and Gynaecologists (RCOG).
Malaria carries serious risks for mother and baby including miscarriage, stillbirth and premature labour.
The tropical disease is transmitted by mosquitoes and causes a fever, flu-like symptoms, vomiting and diarrhoea.
There have been no malaria-related deaths in pregnant or recently pregnant women in the UK in the past decade but the RCOG says it has been receiving inquires from worried women.
In the UK, about 1,500 cases of malaria are reported each year and about 10 people will die, said the RCOG.
It says all non-essential trips to areas with a high risk of malaria should be avoided.
Risk areas include large areas of Africa, Asia including China and India, Central and South America, parts of the Middle East and some Pacific Islands.
If the trip is unavoidable, the college advises women to seek advice from a centre with expertise in malaria which will provide information on ways to reduce the risk of infection.
Women should make sure they are aware of the risk, take out measures such as mosquito nets for bite prevention and take anti-malarial medication.
Philippa Marsden, who chairs the RCOG's patient information committee, said although the risks were still relatively small it was important that women were well-informed.
Cath Broderick of the RCOG women's network said: "If women are worried about symptoms after returning from a high-risk country and think they may have malaria, they should see a doctor immediately and inform them of their recent travels."
Symptoms can take a week or more to develop after being bitten.

Pregnant women should visit countries with a risk of malaria only if their trip is essential, experts are warning.


Researchers at the University of Sheffield said the tumours were effectively "fertilising" the bone to help themselves grow.
The study, in the journal Nature, said it may be possible to protect bone from a tumour's nefarious influence and consequently stop the cancer's spread.
Cancer charities said this opened up "a whole new avenue for research".
Around 85% of breast cancers that spread around the body end up in bone, at which point the cancer is difficult to treat and more deadly.
The scientists, in Sheffield and the University of Copenhagen, discovered patients with secondary cancers had higher levels of an enzyme called LOX being produced by their tumours and released into the blood.
Bone is constantly being broken down and rebuilt. But in a series of experiments on mice, the research team showed LOX was disrupting the process and leaving lesions and holes in the bone.
Using drugs to block LOX prevented the cancer from spreading.
Dr Alison Gartland, a reader in bone and cancer biology at the university, told the BBC News website: "We think it's a significant breakthrough in trying to prevent metastases (secondary tumours) in breast cancer.
"The cancer cells in the primary tumour are actually fertilising the soil for the future growth of itself, LOX is changing the environment in bone to make it better to grow."
The animal tests also showed that a set of osteoporosis drugs called bisphosphonates could prevent the spread of cancer.
Bisphosphonates also interfere with the way bone is recycled in order to strengthen it.
They are already given to some cancer patients, but the Sheffield team believe they could have a much larger role.
The effect was discovered only in oestrogen-negative breast cancers. They account for around a third of cases, but are far more deadly.
Katherine Woods, from Breast Cancer Campaign and Breakthrough Breast Cancer, said: "By unveiling the role that the protein LOX is playing, these results open up a whole new avenue for research and treatments that could stop breast cancer spreading to the bone.
"The research also adds weight to the growing body of evidence supporting the role of bisphosphonates in stopping secondary breast cancer in its tracks.
"The reality of living with secondary breast cancer in the bone is a stark one, which leaves many women with bone pain and fractures that need extensive surgery just when they need to be making the most of the time they have left with friends and family."
The findings may also apply in colon cancer.

Breast cancers can manipulate the structure of bone to make it easier to spread there, a study has found.


@piddy_x @nero @cyberstalin kungcono umzamo ngesikhathi inkulumo yokulingisa @godfreyelfwick. #proteinworld #baltimoreriots #socialism #semst


wacaphuna umama ngokuba owesifazane: "? thina ngempela sinamasimba?" Elethu. Azishe, ubufazi phambili! # 4thwavefeminism #semst


@arforhillary @hillaryclinton @ hillaryin2016 omunye ophawulekayo nezinye siyaziqhenya ngawe! ngokushesha, sizokubonisa lokho esiyikho ngempela. Qhubeka nomsebenzi omuhle! #semst


ngilisusile ithemu #feminist ngiyisusile kwi-biography yami ngoba ama-feminists omhlophe, abandlululako anyonele wonke umuntu lento. #semst


@cb_printer @adamnick_nick @victorymonk ama-feminists afuna ilungelo elikhethekile kodwa hhayi amalungelo alinganayo. Ungabi yi-feminists #feministcruelty #semst


Hey, #bristolpalin, lapho Alaska ukucelile ukukhuthaza "wide open spaces" ngiqinisekile ukuthi bebekhuluma nyaloso sifunda. #semst


lapho zisebenzisa ukuba yeqhwa ku yenkabazwe. #semst


My boyfriend did n't pay for this so I 'm not sure I will be able to do it . He booked as a surprise but did n't pay


FUCK OFF MACHINE !


it all . )


Good Morning !


Which Saturday ? What time ?


Thank you for the reminder . We will be there .


I am interested in Korean style Microblading eyebrow as below photo


Hi there . I 'm going to have to change my appt . I thought my flight got in tonight at {time} but I do n't arrive until 5:53 . That was a complete miss on my part .


I 'm running 8 minutes late . I 'm sorry my previous appointment ran longer than scheduled . Be there shortly


Cassie do you have any openings next week for a hair cut


Context: This is the most common method of construction procurement and is well established and recognized. In this arrangement, the architect or engineer acts as the project coordinator. His or her role is to design the works, prepare the specifications and produce construction drawings, administer the contract, tender the works, and manage the works from inception to completion. There are direct contractual links between the architect's client and the main contractor. Any subcontractor has a direct contractual relationship with the main contractor. The procedure continues until the building is ready to occupy.

Question: There are direct contractual links between who?


Context: After strengthening his government in northern China, Kublai pursued an expansionist policy in line with the tradition of Mongol and Chinese imperialism. He renewed a massive drive against the Song dynasty to the south. Kublai besieged Xiangyang between 1268 and 1273, the last obstacle in his way to capture the rich Yangzi River basin. An unsuccessful naval expedition was undertaken against Japan in 1274. Kublai captured the Song capital of Hangzhou in 1276, the wealthiest city of China. Song loyalists escaped from the capital and enthroned a young child as Emperor Bing of Song. The Mongols defeated the loyalists at the battle of Yamen in 1279. The last Song emperor drowned, bringing an end to the Song dynasty. The conquest of the Song reunited northern and southern China for the first time in three hundred years.

Question: What area was Kublai trying to capture by defending Xiangyang?


Context: The neighborhood of Sunnyside is on Fresno's far southeast side, bounded by Chestnut Avenue to the West. Its major thoroughfares are Kings Canyon Avenue and Clovis Avenue. Although parts of Sunnyside are within the City of Fresno, much of the neighborhood is a "county island" within Fresno County. Largely developed in the 1950s through the 1970s, it has recently experienced a surge in new home construction. It is also the home of the Sunnyside Country Club, which maintains a golf course designed by William P. Bell.

Question: Where is the home of the Sunnyside Country Club?


Context: The historical measure of a steam engine's energy efficiency was its "duty". The concept of duty was first introduced by Watt in order to illustrate how much more efficient his engines were over the earlier Newcomen designs. Duty is the number of foot-pounds of work delivered by burning one bushel (94 pounds) of coal. The best examples of Newcomen designs had a duty of about 7 million, but most were closer to 5 million. Watt's original low-pressure designs were able to deliver duty as high as 25 million, but averaged about 17. This was a three-fold improvement over the average Newcomen design. Early Watt engines equipped with high-pressure steam improved this to 65 million.

Question: What was the ideal duty of a concept engine?


Context: Imperialism and colonialism both dictate the political and economic advantage over a land and the indigenous populations they control, yet scholars sometimes find it difficult to illustrate the difference between the two. Although imperialism and colonialism focus on the suppression of an other, if colonialism refers to the process of a country taking physical control of another, imperialism refers to the political and monetary dominance, either formally or informally. Colonialism is seen to be the architect deciding how to start dominating areas and then imperialism can be seen as creating the idea behind conquest cooperating with colonialism. Colonialism is when the imperial nation begins a conquest over an area and then eventually is able to rule over the areas the previous nation had controlled. Colonialism's core meaning is the exploitation of the valuable assets and supplies of the nation that was conquered and the conquering nation then gaining the benefits from the spoils of the war. The meaning of imperialism is to create an empire, by conquering the other state's lands and therefore increasing its own dominance. Colonialism is the builder and preserver of the colonial possessions in an area by a population coming from a foreign region. Colonialism can completely change the existing social structure, physical structure and economics of an area; it is not unusual that the characteristics of the conquering peoples are inherited by the conquered indigenous populations.

Question: what do conquering people take away from native populations?


Context: Bills can be introduced to Parliament in a number of ways; the Scottish Government can introduce new laws or amendments to existing laws as a bill; a committee of the Parliament can present a bill in one of the areas under its remit; a member of the Scottish Parliament can introduce a bill as a private member; or a private bill can be submitted to Parliament by an outside proposer. Most draft laws are government bills introduced by ministers in the governing party. Bills pass through Parliament in a number of stages:

Question: Who may also submit private bills to Parliament?

an outside proposer
an outside proposer
an outside proposer


def toPyModel(model_ptr):
	"""
	toPyModel(model_ptr) -> svm_model

	Convert a ctypes POINTER(svm_model) to a Python svm_model
	"""
	if bool(model_ptr) == False:
		raise ValueError("Null pointer")
	m = model_ptr.contents
	m.__createfrom__ = 'C'
	return m

def
toPyModel
(
model_ptr
)
:
if
bool
(
model_ptr
)
==
False
:
raise
ValueError
(
"Null pointer"
)
m
=
model_ptr
.
contents
m
.
__createfrom__
=
'C'
return
m


svm_read_problem ( data_file_name ) - > [ y x ]

def svm_read_problem(data_file_name):
	"""
	svm_read_problem(data_file_name) -> [y, x]

	Read LIBSVM-format data from data_file_name and return labels y
	and data instances x.
	"""
	prob_y = []
	prob_x = []
	for line in open(data_file_name):
		line = line.split(None, 1)
		# In case an instance with all zero features
		if len(line) == 1: line += ['']
		label, features = line
		xi = {}
		for e in features.split():
			ind, val = e.split(":")
			xi[int(ind)] = float(val)
		prob_y += [float(label)]
		prob_x += [xi]
	return (prob_y, prob_x)


evaluations ( ty pv ) - > ( ACC MSE SCC )

def evaluations(ty, pv):
	"""
	evaluations(ty, pv) -> (ACC, MSE, SCC)

	Calculate accuracy, mean squared error and squared correlation coefficient
	using the true values (ty) and predicted values (pv).
	"""
	if len(ty) != len(pv):
		raise ValueError("len(ty) must equal to len(pv)")
	total_correct = total_error = 0
	sumv = sumy = sumvv = sumyy = sumvy = 0
	for v, y in zip(pv, ty):
		if y == v:
			total_correct += 1
		total_error += (v-y)*(v-y)
		sumv += v
		sumy += y
		sumvv += v*v
		sumyy += y*y
		sumvy += v*y
	l = len(ty)
	ACC = 100.0*total_correct/l
	MSE = total_error/l
	try:
		SCC = ((l*sumvy-sumv*sumy)*(l*sumvy-sumv*sumy))/((l*sumvv-sumv*sumv)*(l*sumyy-sumy*sumy))
	except:
		SCC = float('nan')
	return (ACC, MSE, SCC)

def
evaluations
(
ty
,
pv
)
:
if
len
(
ty
)
!=
len
(
pv
)
:
raise
ValueError
(
"len(ty) must equal to len(pv)"
)
total_correct
=
total_error
=
0
sumv
=
sumy
=
sumvv
=
sumyy
=
sumvy
=
0
for
v
,
y
in
zip
(
pv
,
ty
)
:
if
y
==
v
:
total_correct
+=
1
total_error
+=
(
v
y
)
*
(
v
y
)
sumv
+=
v
sumy
+=
y
sumvv
+=
v
*
v
sumyy
+=
y
*
y
sumvy
+=
v
*
y
l
=
len
(
ty
)
ACC
=
100.0
*
total_correct
/
l
MSE
=
total_error
/
l
try
:
SCC
=
(
(
l
*
sumvy
sumv
*
sumy
)
*
(
l
*
sumvy
sumv
*
sumy
)
)
/
(
(
l
*
sumvv
sumv
*
sumv
)
*
(
l
*
sumyy
sumy
*
sumy
)
)
except
:
SCC
=
float
(
'nan'
)
return
(
ACC
,
MSE
,
SCC
)


svm_train ( y x [ options ] ) - > model | ACC | MSE svm_train ( prob [ options ] ) - > model | ACC | MSE svm_train ( prob param ) - > model | ACC| MSE

def svm_train(arg1, arg2=None, arg3=None):
	"""
	svm_train(y, x [, options]) -> model | ACC | MSE
	svm_train(prob [, options]) -> model | ACC | MSE
	svm_train(prob, param) -> model | ACC| MSE

	Train an SVM model from data (y, x) or an svm_problem prob using
	'options' or an svm_parameter param.
	If '-v' is specified in 'options' (i.e., cross validation)
	either accuracy (ACC) or mean-squared error (MSE) is returned.
	options:
	    -s svm_type : set type of SVM (default 0)
	        0 -- C-SVC		(multi-class classification)
	        1 -- nu-SVC		(multi-class classification)
	        2 -- one-class SVM
	        3 -- epsilon-SVR	(regression)
	        4 -- nu-SVR		(regression)
	    -t kernel_type : set type of kernel function (default 2)
	        0 -- linear: u'*v
	        1 -- polynomial: (gamma*u'*v + coef0)^degree
	        2 -- radial basis function: exp(-gamma*|u-v|^2)
	        3 -- sigmoid: tanh(gamma*u'*v + coef0)
	        4 -- precomputed kernel (kernel values in training_set_file)
	    -d degree : set degree in kernel function (default 3)
	    -g gamma : set gamma in kernel function (default 1/num_features)
	    -r coef0 : set coef0 in kernel function (default 0)
	    -c cost : set the parameter C of C-SVC, epsilon-SVR, and nu-SVR (default 1)
	    -n nu : set the parameter nu of nu-SVC, one-class SVM, and nu-SVR (default 0.5)
	    -p epsilon : set the epsilon in loss function of epsilon-SVR (default 0.1)
	    -m cachesize : set cache memory size in MB (default 100)
	    -e epsilon : set tolerance of termination criterion (default 0.001)
	    -h shrinking : whether to use the shrinking heuristics, 0 or 1 (default 1)
	    -b probability_estimates : whether to train a SVC or SVR model for probability estimates, 0 or 1 (default 0)
	    -wi weight : set the parameter C of class i to weight*C, for C-SVC (default 1)
	    -v n: n-fold cross validation mode
	    -q : quiet mode (no outputs)
	"""
	prob, param = None, None
	if isinstance(arg1, (list, tuple)):
		assert isinstance(arg2, (list, tuple))
		y, x, options = arg1, arg2, arg3
		param = svm_parameter(options)
		prob = svm_problem(y, x, isKernel=(param.kernel_type == PRECOMPUTED))
	elif isinstance(arg1, svm_problem):
		prob = arg1
		if isinstance(arg2, svm_parameter):
			param = arg2
		else:
			param = svm_parameter(arg2)
	if prob == None or param == None:
		raise TypeError("Wrong types for the arguments")

	if param.kernel_type == PRECOMPUTED:
		for xi in prob.x_space:
			idx, val = xi[0].index, xi[0].value
			if xi[0].index != 0:
				raise ValueError('Wrong input format: first column must be 0:sample_serial_number')
			if val <= 0 or val > prob.n:
				raise ValueError('Wrong input format: sample_serial_number out of range')

	if param.gamma == 0 and prob.n > 0:
		param.gamma = 1.0 / prob.n
	libsvm.svm_set_print_string_function(param.print_func)
	err_msg = libsvm.svm_check_parameter(prob, param)
	if err_msg:
		raise ValueError('Error: %s' % err_msg)

	if param.cross_validation:
		l, nr_fold = prob.l, param.nr_fold
		target = (c_double * l)()
		libsvm.svm_cross_validation(prob, param, nr_fold, target)
		ACC, MSE, SCC = evaluations(prob.y[:l], target[:l])
		if param.svm_type in [EPSILON_SVR, NU_SVR]:
			print("Cross Validation Mean squared error = %g" % MSE)
			print("Cross Validation Squared correlation coefficient = %g" % SCC)
			return MSE
		else:
			print("Cross Validation Accuracy = %g%%" % ACC)
			return ACC
	else:
		m = libsvm.svm_train(prob, param)
		m = toPyModel(m)

		# If prob is destroyed, data including SVs pointed by m can remain.
		m.x_space = prob.x_space
		return m


svm_predict ( y x m [ options ] ) - > ( p_labels p_acc p_vals )

def svm_predict(y, x, m, options=""):
	"""
	svm_predict(y, x, m [, options]) -> (p_labels, p_acc, p_vals)

	Predict data (y, x) with the SVM model m.
	options:
	    -b probability_estimates: whether to predict probability estimates,
	        0 or 1 (default 0); for one-class SVM only 0 is supported.
	    -q : quiet mode (no outputs).

	The return tuple contains
	p_labels: a list of predicted labels
	p_acc: a tuple including  accuracy (for classification), mean-squared
	       error, and squared correlation coefficient (for regression).
	p_vals: a list of decision values or probability estimates (if '-b 1'
	        is specified). If k is the number of classes, for decision values,
	        each element includes results of predicting k(k-1)/2 binary-class
	        SVMs. For probabilities, each element contains k values indicating
	        the probability that the testing instance is in each class.
	        Note that the order of classes here is the same as 'model.label'
	        field in the model structure.
	"""

	def info(s):
		print(s)

	predict_probability = 0
	argv = options.split()
	i = 0
	while i < len(argv):
		if argv[i] == '-b':
			i += 1
			predict_probability = int(argv[i])
		elif argv[i] == '-q':
			info = print_null
		else:
			raise ValueError("Wrong options")
		i+=1

	svm_type = m.get_svm_type()
	is_prob_model = m.is_probability_model()
	nr_class = m.get_nr_class()
	pred_labels = []
	pred_values = []

	if predict_probability:
		if not is_prob_model:
			raise ValueError("Model does not support probabiliy estimates")

		if svm_type in [NU_SVR, EPSILON_SVR]:
			info("Prob. model for test data: target value = predicted value + z,\n"
			"z: Laplace distribution e^(-|z|/sigma)/(2sigma),sigma=%g" % m.get_svr_probability());
			nr_class = 0

		prob_estimates = (c_double * nr_class)()
		for xi in x:
			xi, idx = gen_svm_nodearray(xi, isKernel=(m.param.kernel_type == PRECOMPUTED))
			label = libsvm.svm_predict_probability(m, xi, prob_estimates)
			values = prob_estimates[:nr_class]
			pred_labels += [label]
			pred_values += [values]
	else:
		if is_prob_model:
			info("Model supports probability estimates, but disabled in predicton.")
		if svm_type in (ONE_CLASS, EPSILON_SVR, NU_SVC):
			nr_classifier = 1
		else:
			nr_classifier = nr_class*(nr_class-1)//2
		dec_values = (c_double * nr_classifier)()
		for xi in x:
			xi, idx = gen_svm_nodearray(xi, isKernel=(m.param.kernel_type == PRECOMPUTED))
			label = libsvm.svm_predict_values(m, xi, dec_values)
			if(nr_class == 1):
				values = [1]
			else:
				values = dec_values[:nr_classifier]
			pred_labels += [label]
			pred_values += [values]

	ACC, MSE, SCC = evaluations(y, pred_labels)
	l = len(y)
	if svm_type in [EPSILON_SVR, NU_SVR]:
		info("Mean squared error = %g (regression)" % MSE)
		info("Squared correlation coefficient = %g (regression)" % SCC)
	else:
		info("Accuracy = %g%% (%d/%d) (classification)" % (ACC, int(l*ACC/100), l))

	return pred_labels, (ACC, MSE, SCC), pred_values


Show a newly generated CAPTCHA of the given class . Default is the first class name given in Tests . __all__

def test(req, name=Tests.__all__[0]):
    """Show a newly generated CAPTCHA of the given class.
       Default is the first class name given in Tests.__all__
       """
    test = _getFactory(req).new(getattr(Tests, name))

    # Make a list of tests other than the one we're using
    others = []
    for t in Tests.__all__:
        if t != name:
            others.append('
%s
' % (t,t))
    others = "\n".join(others)

    return """

<title>PyCAPTCHA Example</title>

PyCAPTCHA Example (for mod_python)

  %s:
  %s

  <form action="solution" method="get">
    Enter the word shown:
    <input type="text" name="word"/>
    <input type="hidden" name="id" value="%s"/>
  </form>

Or try...

%s

""" % (test.__class__.__name__, test.__doc__, test.id, test.id, others)


def image(req, id):
    """Generate an image for the CAPTCHA with the given ID string"""
    test = _getFactory(req).get(id)
    if not test:
        raise apache.SERVER_RETURN, apache.HTTP_NOT_FOUND
    req.content_type = "image/jpeg"
    test.render().save(req, "JPEG")
    return apache.OK

def image ( req , id ) : test = _getFactory ( req ) . get ( id ) if not test : raise apache . SERVER_RETURN , apache . HTTP_NOT_FOUND req . content_type = "image/jpeg" test . render ( ) . save ( req , "JPEG" ) return apache . OK


def solution(req, id, word):
    """Grade a CAPTCHA given a solution word"""
    test = _getFactory(req).get(id)
    if not test:
        raise apache.SERVER_RETURN, apache.HTTP_NOT_FOUND

    if not test.valid:
        # Invalid tests will always return False, to prevent
        # random trial-and-error attacks. This could be confusing to a user...
        result = "Test invalidated, try another test"
    elif test.testSolutions([word]):
        result = "Correct"
    else:
        result = "Incorrect"

    return """

<title>PyCAPTCHA Example</title>

PyCAPTCHA Example

%s

%s

You guessed: %s

Possible solutions: %s

Try again

""" % (test.__class__.__name__, test.id, result, word, ", ".join(test.solutions))


@united thanks for causing us to miss our connection and now a 6hour delay #flydeltanexttime


@united Thank you. Any help is appreciated.


@USAirways I ask for reimbursement maybe miles added to my account for my inconvenience and for the money that I had to spend


@united annnnddddd I'm going to lose my first class seat on the flight they shuffle me to


@united I did. The AC went on for about 20 minutes before returning to the Mojave Desert. #PressureCooker #HeatTrap


@SouthwestAir I lost my luggage. My birthday wish is to find my luggage.


@USAirways Been on hold 2.5 hours now! System hung up on me twice after an hour holding. :(  Trying 2 correct online Flight Booking Problems error. #unhappy


@USAirways on hold for 2 hours now have been calling since Monday! I have a flight today need help now!!! #worst #NoExcusesAccepted


@AmericanAir don't worry you won't steal my money again


Please Everyone AllAh S.w.T ka naam hAmesha Bary Lawzo main Likha kary Wo he Zaat sUb say Bari Hey


Input:
TEXT: [Scene: Manor. Paige's room. Paige is there lying on her bed, talking on the phone.] Paige: Hey, it's so good to talk to you. I was getting worried about you. You've been gone for far too long, Glen. Glen: Yeah, I'm sorry, I-I should've called and let you know that I was alright. I guess I, uh, ended up staying a little longer than I thought. Paige: That's okay, you'll just have to take me to dinner tomorrow night to make it up to me. Glen: Dinner... I-I can't tomorrow night, Paige, I got plans. Paige: Oh. Glen: I still wanna meet you though, I mean, I really wanna see you. (Paige flips through a photo album with pictures of her and Glen inside.) Paige: Good, 'cause, um, there's actually something I really want to talk to you about. Glen: Really? Sounds mysterious. That's actually great because there's something that I really wanna talk to you about too. Paige: Great. Then it's a date. (The room creeks and Paige ignores it.) Uh, so I'll see you at 11:00. Glen: 11:00 is good, 11:00 is great. (The phone cradle starts to slide across the side table by itself.) Usual place at the lake? Paige: (to the moving phone) Damn it, no! Glen: Or we can meet wherever. (The phone floats into the air.) Paige: Stop it I said. Glen: Stop what? Paige: Uh, nothing, I'll just, um, yeah, see you tomorrow, it'll be great. (Paige pulls the phone out of the wall and sighs.) [Cut to Piper's bedroom. Leo is asleep in bed. Piper is in the nursery mumbling to herself. Leo reaches over to Piper's side of the bed and wakes when he feels she's not there.] Piper: I am so sick of this. Leo: Piper? Piper: Hm
SUMMARY:<extra_id_0>

Output: <extra_id_0> When residue left from demonic vanquishes builds up in the manor, the sisters lose sleep and it takes over their lives. They call upon the Witch Doctor, whom Leo does not trust. The Witch Doctor makes a house call to the Charmed Ones but because of the massive amount of demonic energy he believes they are evil. It turns out that Leo was right not to trust him, as he tries to kill the sisters by using voodoo dolls to make them obsess and lead them down various paths of destruction. Piper becomes obsessed with cleaning, Paige becomes obsessed with marrying her ex-boyfriend Glen, and Phoebe becomes obsessed with eliminating her work rivals.<extra_id_1>


Input:
TEXT: [INT. SCOTT REDISENCE - BATHROOM - DAY] (There's a green towel wrapped around Lucas' waist and he's wearing a white t-shirt. He's standing in front of a steamed up mirror and looking down into the sink basin.) LUCAS: (v.o) Octavio Paz once wrote; Solitude is the profoundest fact of the human condition... (He wipes the steam off the mirror with a hand. He studies himself.) man is the only being who knows he is alone. (Lucas continues to look at himself. His hair's grown. He turns to exit. [SCENE_BREAK] [INT. SCOTT RESIDENCE - KITCHEN - DAY] (Shot of the table with breakfast on it. Dan is standing and reading the paper. Lucas walks in, rubbing his eyes.) DAN: (Folds the paper and puts it away.) You know, if Bogans keeps drilling threes, the Cats will be tough to beat. How'd you sleep? LUCAS: Fine. DAN: Great, grab a plate. LUCAS: Ah, actually, uh... (Points back.) I usually grab something on the way to school. DAN: Come on, sit. We're civilised here. (Smiles and raises his mug to drink.) (The door opens.) DEB: (Still outside. Lucas looks back.) Dan? (She walks in.) I'm home. DAN: We're in the kitchen, Deb. (Deb sees Lucas as she walks in.) DEB: Oh,... Lucas. LUCAS: (Looking down.) Hey. (Deb is extremely confused.) DEB: Uh,... where-where's Nathan? DAN: Nathan's not here, Deb. Lucas is gonna be staying with us for a while. DEB: Wh-what?(!) (Lucas glares at Dan.) LUCAS: You didn't tell her. DAN: (Smirking) You better get to school. (Lucas scoffs
SUMMARY:<extra_id_0>

Output: <extra_id_0> As his marriage with Haley continues to get worse, Nathan has an emotional crisis and reverts to his old ways. Karen continues to struggle, trying to figure out what would cause Lucas to move in with Dan. Peyton and Jake's relationship grows deeper. This episode is named after a song by Brand New .<extra_id_1>


Input:
TEXT: [Salvatore's house] (Elena is waiting for Elijah to wake up. Suddenly he wakes up. Elena rushes over him. He's in choc when sees her.) Elijah: Katerina! England, 1492 [A House] (Trevor is speaking with a woman. He rejoins Elijah) Elijah: Ah, good evening, Trevor. I am pleased you could join us Trevor: I could not miss the birthday celebration Elijah: No, considering the gift you claim to bear. Where is this mystery girl of which you speak? Trevor: Right this way (Elijah follows him. They rejoin Katherine) Trevor: My dear Katherine: Hello (Elijah is in choc) Nowadays [Salvatore's house] Elena: Elijah! It's me, it's Elena Elijah: Oh, my God England, 1492 [A house] Elijah: Forgive me. You remind me of someone Trevor: Katerina, may I introduce the lord Elijah (She takes his hand and bows) Katherine: Pleasure, my lord Elijah: The pleasure's mine. Katerina (He kisses her hand) Nowadays [Salvatore's house] (He closes her eyes. Elena gets closer but his body writhes. He gets up) Elijah: I can't-- I can't breathe! What's happening to me? (He rushes over the door but stammers the door. She rushes over him and holds him) Elijah: I can't... I can't be in this house (She realizes something) Elena: You're not invited in Elijah: I can't be in here (He stammers another wall and disappears. Elena runs after him and goes to the front door. Elijah is outside. He tries to enter but he can't enter) Elijah: What happened? Elena: Shh! (She shows him that Stefan and Damon can hear and she whispers) Elena: I'll tell you. Not here. Can I trust you? (He whispers too) Elijah: Can I
SUMMARY:<extra_id_0>

Output: <extra_id_0> After Elena removed the dagger, Elijah wakes, and Elena makes another deal with him. In a flashback to 1492 England, Katherine meets Elijah and Klaus for the first time. Elijah and Klaus were raised as brothers, but Klaus was the result of their mother's affair with a man from a werewolf bloodline. Elijah's father hunted down the man and had him and his family killed, beginning the schism between werewolves and vampires. As a vampire/werewolf hybrid, Klaus can only be killed by a witch. The sun and moon curse was fake - the real curse is that Klaus's werewolf side had been forced into dormancy by witches. Jenna finally finds out about the vampires from Stefan and Klaus/Alaric. Elsewhere, Katherine is being held captive by Klaus. Damon finds her and gives her a vial of vervain to protect her from further compulsion. At the end of the episode, Maddox and Greta (Luka's sister) perform a ritual to release Klaus's spirit from Alaric's body and put it back into his own.<extra_id_1>


Input:
TEXT: Clarke (V.O.): I was born in space. I've never felt the sun on my face or breathed real air or floated in the water. None of us have. For three generations, The Ark has kept what's left of the human race alive, but now our home is dying, and we are the last hope of mankind, desperate mission to the ground. Each of us was sent here because we broke the law. On the ground, there is no law. All we have to do is survive, but we will be tested by the earth, by the secrets it hides, and, most of all, by each other. Clarke: Previously on "The 100"... Jaha: Who shot me? Kane: Bellamy Blake. He stowed away on the dropship. We're still investigating who helped him. Shumway: Kill the Chancellor. Clarke: That's why you took the wristbands; you needed everyone to think we're dead. Bellamy: The Ark finds out we're alive, they'll come down, and when they do, I'm dead. Jaha: Earth is survivable. Mankind is going home. Bellamy: Hey, why were you defending him? Octavia: Because he saved my life. I never wanted any of this to happen to you. Lincoln: Thank you. ( Scene goes to black ) [SCENE_BREAK] [ Dropship ] ( Bellamy watches over a captive and bloody Lincoln ) ( Hatch opens as Miller walks in ) Miller: Did you talk to The Ark? I told Digg's mom the news, John's dad. I'm supposed to talk to Roma's parents later. Bellamy: Thanks for doing that. I owe you. ( Miller turns to face Lincoln ) Miller: Telling all these parents that their kids were murdered by Grounders, I just wish I could say we were getting some justice. Bellamy: We're not killing him. Miller: You were a lot scarier when you had that face paint on. ( Miller smears something on Lincoln's face ) ( Lincoln headbutts Miller, knocking him to the ground ) ( Bellamy looks up at Lincoln
SUMMARY:<extra_id_0>

Output: <extra_id_0> Video connection is established with The Ark. The Ark informs the 100 of a nearby underground depot that may serve as a winter home. Bellamy and Clarke investigate and discover a stockpile of weapons and supplies. Dax, whom Commander Shumway is coercing to kill Bellamy, follows them. Octavia takes advantage of the camp's suffering from the effects of hallucinogenic nuts gathered as rations and frees the grounder, whose name is Lincoln. Bellamy, also hallucinating, is wracked with guilt for the culling and almost killed by Dax; Bellamy manages to kill Dax with Clarke's help. Clarke appeals to Jaha to pardon Bellamy for his crime using his actions on the ground; Jaha agrees in exchange for the name of the person who hired Bellamy. This leads to the arrest and imprisonment of Shumway. He is visited by Diana Sydney, and it is revealed that Jaha's assassination was her idea. Diana then has Shumway killed in his cell and framed to look like a suicide .<extra_id_1>


Input:
TEXT: THE ROMANS DENNIS SPOONER 5:40pm - 6:05pm [SCENE_BREAK] 1: INT. VILLA AT ASSESSIUM. OUTSIDE THE DOCTOR'S ROOM (ASCARIS approaches a curtained doorway. The DOCTOR can be heard inside, strumming on the Lyre.) DOCTOR: (OOV: Laughing.) I'm sure even Nero can play better than that! (ASCARIS pulls out a sword, looks round and starts to pull aside the curtain...) [SCENE_BREAK] 2: INT. VILLA AT ASSESSIUM. DOCTOR'S ROOM (The DOCTOR sits alone with his back to the doorway as ASCARIS enters.) DOCTOR: The answer is of course, is not to be caught playing it! (He laughs again, stands and turns as ASCARIS lunges at him. The DOCTOR parries the lunge with the Lyre.) DOCTOR: Ohhh! So you want to fight do you? (Laughing, he throws ASCARIS and the Lyre onto the bed. He then grabs a pot plant and smashes down on the assassin's head.) DOCTOR: Come on, my friend. Eh, what's the matter with you? (The DOCTOR then throws the bedclothes over ASCARIS as he struggles to stand. Totally caught up in the blankets, the DOCTOR tosses him over the other side of the bed. ASCARIS gets to his feet, grabs his sword and again lunges at the DOCTOR who grabs an amphora of wine from a stand and throws the contents in the man's face. As ASCARIS falls back, the DOCTOR smashes the amphora over his head. The DOCTOR laughs as ASCARIS again lunges at him but easily avoids the sword thrust. He tries again but the DOCTOR grabs his arm and throws him over his shoulder as VICKI runs into the room.) VICKI: Doctor, what's happening? (
SUMMARY:<extra_id_0>

Output: <extra_id_0> Landing in Rome, A.D. 64 the travellers take a rare holiday. While Ian and Barbara are happy to relax, the Doctor and Vicki set off to pursue adventure. However, adventure soon finds Ian and Barbara too as they are kidnapped by slave traders, and the Doctor's imitation of Maximus Pettulian sees him taken to the court of Emperor Nero where he inadvertently plays a part in deciding the course of history...<extra_id_1>


Input:
TEXT: Teleplay by: Sherry Bilsing & Ellen Plummer Story by: Seth Kurland [Scene: Central Perk, Joey is giving Rachel, Chandler, Phoebe, and Ross their bills.] Joey: Okay Rach, that muffin and espresso, $4.50. Ross, double latte, $2.75. Chandler, coffee and a scone, $4.25. And Pheebs, herbal tea, $1.25. So, all together that's (pauses to figure the total) $12.75. Chandler: This coming from the man who couldn't split our 80 dollar phone bill in half. (A good-looking woman approaches.) Woman: Hi! Joey: Hi! Woman: How much do I owe you for the muffin and the latte? Joey: Oh that's on the house courtesy of Joey Tribbiani. Woman: Oh great! Well, tell him thanks. And since uh, Joey seems like such a nice guy, maybe we could go on a date sometime? Joey: Well, he's not used to women being so forward with him; but uh, I good check with him-He says it's okay. (She hands him her card.) Great! Thanks! Bye-bye! Ross: Hey Joey, how come our stuff isn't free? Joey: It will be when you look like that in a tight skirt! This is great! I'm getting more dates than ever! Rachel: Wait a minute, you're only giving free stuff away to the pretty girls? Phoebe: Yeah Joey that is so gross! Joey: How about a scone on the house baby? Phoebe: (giggles) I'm pretty. Opening Credits [Scene: Monica and Chandler's, everyone but Monica is there playing Monopoly.] Ross: Hey does anyone have any gum? Phoebe: Oh I do! (She grabs her huge purse and starts rummaging through it and taking out various items in a futile search for the gum.) Oh, y'know what? No. (Pause) Wait a second.
SUMMARY:<extra_id_0>

Output: <extra_id_0> Joey uses his position as waiter to give all the pretty female customers free things at the coffee house, but quickly gets in trouble with Gunther. Monica refuses to admit she is sick when she gets a bad cold. Rachel's sister Jill ( Reese Witherspoon ) shows up after their father financially cuts her off, and she now has to make it on her own.<extra_id_1>


Input:
TEXT: (Continuing from last week's episode. Badenweiler. Dixon stands, Sydney kneels in the bushes, staring at the building that just exploded, horrified.) DIXON: Sydney, we've got to run! Sydney, we've got to move! Sydney, we've got to move, now! What's the matter, are you hurt? SYDNEY: No... (Three guards run to them, speaking in German.) DIXON: Let's go! RUN! (Dixon and Sydney take off, and the chase is on. They run through the trees, the three guards behind them.) DIXON: Go, go, go, go! GO! (The guards begin shooting. Sydney's running, tears streaming down her cheeks.) DIXON: Don't stop! (More gunfire. Dixon stops running and hides behind a tree. Sydney keeps running and jumps behind a fallen tree, laying on the ground. Wracked with tears and guilt, she stays there, hiding. One of the guards with a flashlight in hand comes closer. Suddenly, Dixon takes him and kicks him. Punches him. In the background, Dixon and the guard grunt and punch, Sydney sits there in almost a catatonic state, crying. Dixon punches the guard one last time, and he falls.) DIXON: Come on, Sydney. We've got to go. (In the self-storage facility, Vaughn and Sydney meet.) SYDNEY: I couldn't move. Dixon had to drag me to my feet, just to get to the van. When he asked me what was wrong, why I had just frozen... I made up something about having a flashback to Danny. VAUGHN: You did everything you could. SYDNEY: I was supposed to stop the detonation. I didn't. And because of that, four C.I.A. agents were killed. VAUGHN: You had no way of knowing Dixon had a second trigger. There was nothing you could do. SYDNEY: I could've told him the truth. Dixon needs to know who
SUMMARY:<extra_id_0>

Output: <extra_id_0> Sydney becomes convinced that her father was responsible for the death of her mother, Laura Bristow, 20 years earlier, as she discovers both were involved in a car accident while her father was trying to escape from FBI. She also suspects he might have been a double agent for the KGB. Amidst all this confusion, Sydney is made to go undercover in a mental institution in Bucharest to get information from Shepard, a man who has been unconsciously programmed to be a deadly assassin. In the meantime Will Tippin discovers the true identity of Kate Jones (Eloise Kurtz), the woman who claimed to have had an affair with Danny. Francie is relieved to learn that Charlie is not having an affair with another woman but trying to be a singer songwriter and that the woman is the piano player he is rehearsing with. Marshall Flinkman, the chief technician at SD-6, finds the computer worm planted in the SD-6 mainframe by the CIA and tells Sloane, who congratulates him and tells him it was part of a special security test he's passed. Sloane now has suspicions that someone in SD-6 is a mole and this sets him on his path of finding who it is. Sydney's cover at the asylum is blown when it is revealed that an agent from the K-Directorate is in charge there who also wants to know things from Shepard.<extra_id_1>


Input:
TEXT: ACT ONE Scene One - KACL Frasier has just finished his show. Roz comes in from her booth. Frasier: Oh well, good show today, Roz. I particularly thought that- Roz notices a woman, Connie, talking to an employee in the hall. Roz: Oh my God, there's that Connie from Promotions. Every time she sees me, she hits me up for another charity. Frasier: You know, Roz, maybe it's time you set some limits. Good lord, how hard can it be to say "no" just once? Oh well, look who I'm talking to. Roz bats his arm. He shrugs. Connie comes in. Connie: Hi, Frasier. Roz, I was looking for you- Roz: O.K. wait, Connie, before you say anything, there's something I need to get off my chest. I have bought Girl Scout cookies from you, I have paid for your kids' band uniforms, I've bought tickets to every raffle your church ever had, and I'm tapped out. So whatever it is you came to say to me, I'm not interested. Connie: Well, I'll just go then. [turns to leave, then] Oh, by the way, my church had its raffle drawing yesterday. You won the grand prize. [drops an envelope on the console] Sorry to bother you. Connie leaves. Roz: [calling after her] Oh, Connie, Connie, I'm sorry, Connie, don't - oh, who cares, what'd I win? She grabs the envelope and rips it open. Roz: Oh my God! It's that free ski weekend! Frasier: Oh, Roz! Roz: Listen to this: "Dear winner, you will enjoy a one-weekend rental of a deluxe private ski lodge on Mt. Baker, complete with lessons from a former Olympic champ!" Frasier: That is a grand prize indeed! I must admit, I'm just a bit envious. Well, listen, I hope you have a wonderful weekend. Roz: Well, thank you
SUMMARY:<extra_id_0>

Output: <extra_id_0> Roz wins a free trip to a ski lodge, including lessons from a skiing instructor, but is talked into trading them to Frasier in return for a big-screen TV. So Frasier decides to take the whole family to the ski lodge, including Daphne and her friend Annie (played by guest star Cynthia Lamontagne ), a swimsuit model. There they meet Guy (played by guest star James Patrick Stuart ), a gay ski instructor, who likes Niles and thinks Niles likes him back. This is confirmed by misinformation given by Martin who has hearing difficulty due to a blocked ear. Throughout the episode, confusion arises as Frasier pursues Annie, who desires Niles. Niles, however, longs to confess his feelings for Daphne, while Daphne attempts to pick up Guy, who thinks that Daphne and Annie are together.<extra_id_1>


Input:
TEXT: Scene: The comic book store. Raj enters carrying an iPod with a speaker on his tee shirt. As he enters the shop he starts the iPod and the Darth Vader theme from Star Wars emerges from the speaker. Leonard: Will you please turn your shirt off? Raj: What? I'm giving myself dramatic entrance music. People will know I'm awesome and to be feared. Howard: Yeah, right, there's nothing more awesome and frightening than a man who's got music blasting from between his nipples. Leonard: Hey, Stuart, what's going on? Stuart: Well, you might want to mark your Google calendars. Stan Lee is coming to do a signing on Thursday. Sheldon: Did he finally write a sequel to his autobiography? I'm sure ages 79 through 87 were just action-packed. Stuart: No, just a regular comic signing. My uncle is his dermatologist and Stan's doing him a favour. Sheldon: Oh, I don't want to know that! How can I possibly discuss with Stan Lee the scientific foundations for interstellar flight on a silver surfboard when part of my brain will be scanning his face for signs of contagious skin disease? Leonard: Stan Lee does not have a contagious skin disease. Sheldon: Well, look who thinks he's Stuart's uncle now. Raj: Can't believe it. We're going to meet Stan Lee! (Presses play on his iPod. His shirt starts to play "I'm So Excited" by the Pointer Sisters. He dances.) Howard: I'm sad to say I taught him those moves. Credits sequence. Scene: The apartment. Leonard: I can't decide whether I want Stan Lee to autograph my Journey into Mystery 83, first appearance of Thor or my Fantastic Four number five, first appearance of Dr. Doom. (Raj presses his iPod. The theme from Jeopardy plays.) Alex, I'm going to go with what is... you're a dumbass? (Presses again, his shirt blows a raspberry.) Sheldon: I've decided I'm going to
SUMMARY:<extra_id_0>

Output: <extra_id_0> Sheldon tries to meet Stan Lee at a comic book signing, but is stymied by having to appear in court for driving too slow and running a red light while taking Penny to the hospital in the episode "The Adhesive Duck Deficiency", and enlists Penny to help him win the judge's favor.<extra_id_1>


Input:
TEXT: "The Bodies in the Book" [SCENE_BREAK] TEASER (Open with the rustling of sheets and chuckling followed by heavy breathing and the phone ringing. Sully and Brennan are in bed together.) SULLY: No, no, no, no no. Don't answer it. BRENNAN: (Brennan comes out from under the covers) Oh, it's probably the publicist for my book. (Phone continues ringing) SULLY: Shh. Pretend it's the ocean. (Sully covers them back up again) (Ringing stops) SULLY: See that? God loves us. (They both laugh and kiss) (ringing resumes) BRENNAN: (throws the covers off again) Ugh. She'll only keep calling. SULLY: I thought you hated publicity. BRENNAN: Well, it's part of my contract. The book's getting a lot of attention. I'm just trying to do my job. (She strains to reach for the phone) Hello? Hi Ellen. SULLY: Of course, you did look hot on The View. I think Rosie had a little thing for you. (Brennan covers his mouth while he rolls her over and starts trying to distract her by kissing her) BRENNAN: (on phone) That seems - that seems like a lot. Well, it's two interviews and a book signing in one day. I - I don't - I don't know about Tuesday. (she takes the phone away from her ear and kisses Sully back then goes back to the phone) Just, um, send the schedule to the Jeffersonian. We'll discuss it then, okay? I'll see you. I'm leaving right now. (She hangs up, kisses Sully and rolls him over) (Cut to: Jeffersonian - Platform - Hodgins is with Brennan's publicist and her assistant, Ellen Laskow and Hank Beldin and a bug is pinned to the table on its back and he cuts into it) HODGINS: (to Han
SUMMARY:<extra_id_0>

Output: <extra_id_0> Three separate bodies are found murdered exactly the way Brennan wrote them in her new book. However, the killer's method was different every time, leading the team to believe that it was not one but three killers. Booth and Sully become concerned for Brennan, while she insists she can take care of herself. This increases tension between Sully and Brennan, straining their relationship. Booth tries to help them along, apparently fine with the couple. At the end of the episode, Sully and Brennan reconcile and kiss and Booth, walking away, looks back sadly.<extra_id_1>


Use config_id to check split sizes instead of config name

The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4463). All of your documentation changes will be reflected on that endpoint.

Fix https://github.com/huggingface/datasets/issues/4462


NonMatchingSplitsSizesError when passing a dataset configuration parameter

bug

Something isn't working

As noticed in https://github.com/huggingface/datasets/pull/4125 when a dataset config class has a parameter that reduces the number of examples (e.g. named `max_examples`), then loading the dataset and passing `max_examples` raises `NonMatchingSplitsSizesError`.

This is because it will check for expected the number of examples of the config with the same name without taking into account the `max_examples` parameter. This can be fixed by checking the expected number of examples using the **config id** instead of name. Indeed the config id corresponds to the config name + an optional suffix that depends on the config parameters


AttributeError: module 'datasets' has no attribute 'load_dataset'

Something isn't working

## Describe the bug
I have piped install datasets, but this package doesn't have these attributes: load_dataset, load_metric.

## Environment info
- `datasets` version: 1.9.0
- Platform: Linux-5.13.0-44-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.6.13
- PyArrow version: 6.0.1


Drop Python 3.6 support

The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_4460). All of your documentation changes will be reflected on that endpoint.

Remove the fallback imports/checks in the code needed for Python 3.6 and update the requirements/CI files.


Add and fix language tags for udhr dataset

_The documentation is not available anymore as the PR was closed or merged._

Related to #4362.


First draft of the docs for TF + Datasets

I might cc a few of the other TF people to take a look when this is closer to being finished, but it's still a draft for now.


Workflow for Tabular data

enhancement

New feature or request

generic discussion

Generic discussion on the library

Tabular data are treated very differently than data for NLP, audio, vision, etc. and therefore the worflow for tabular data in `datasets` is not ideal.

For example for tabular data, it is common to use pandas/spark/dask to process the data, and then load the data into X and y (X is an array of features and y an array of labels), then train_test_split and finally feed the data to a machine learning model.

In `datasets` the workflow is different: we use load_dataset, then map, then train_test_split (if we only have a train split) and we end up with columnar dataset splits, not formatted as X and y.

Right now, it is already possible to convert a dataset from and to pandas, but there are still many things that could improve the workflow for tabular data:
- be able to load the data into X and y
- be able to load a dataset from the output of spark or dask (as far as I know it's usually csv or parquet files on S3/GCS/HDFS etc.)
- support "unsplit" datasets explicitly, instead of putting everything in "train" by default

cc @adrinjalali @merveenoyan feel free to complete/correct this :)

Feel free to also share ideas of APIs that would be super intuitive in your opinion !


Update data URLs in fever dataset

As stated in their website, data owners updated their URLs on 28/04/2022.

This PR updates the data URLs.

Fix #4452.


Dataset Viewer issue for Yaxin/SemEval2015

duplicate

This issue or pull request already exists

dataset-viewer

Related to the dataset viewer on huggingface.co

Closing since it's a duplicate of https://github.com/huggingface/datasets/issues/4453

### Link

_No response_

### Description

the link could not visit

### Owner

_No response_


I understand that the issue is that a remote file (URL) is being loaded as a local file. Right @albertvillanova @lhoestq?

```
Message:       [Errno 2] No such file or directory: 'https://raw.githubusercontent.com/YaxinCui/ABSADataset/main/SemEval2015Task12Corrected/train/restaurants_train.xml'
```

`xml.dom.minidom.parse` is not supported in streaming mode. I opened a PR here to fix it:
https://huggingface.co/datasets/Yaxin/SemEval2015/discussions/1

Please review the PR @WithYouTo and let me know if it works !

### Link

_No response_

### Description

_No response_

### Owner

_No response_


Speech Recognition lecture 19


Sacramental guidelines by Kenan B. Osborne


JAKE PAUL COULD HAVE BROKEN THE LAW


How to install One Way Vision Door Mesh


Beverly Hills, CA - Reese Witherspoon is spring ready in her own clothing line, Draper James. The blonde actress attends to business while leaving her office in a white top, a Draper James mid length skirt, yellow pumps, and a matching yellow Draper James bag.\nAKM-GSI        March 25, 2016\nTo License These Photos, Please Contact :\nSteve Ginsburg\n(310) 505-8447\n(323) 423-9397\nsteve@akmgsi.com\nsales@akmgsi.com\nor\nMaria Buda\n(917) 242-1505\nmbuda@akmgsi.com\nginsburgspalyinc@gmail.com


The effect of SiCp content on impact toughness.


swimwear | miss philippines earth 2017 northern mindanao | luxe hotel |


SHIPWRECKS EVERYWHERE | Let's Play Stranded Deep 0.26 Experimental | E6


Walalkaa Waraabi Ottawa Emergency Fundraiser Event For Somaliland Drought. PLEASE DONATE !!!


6 Reasons to Gift a Highland Titles Plot This Christmas


Question: Sarah has the option to play a game where Sarah has a 10 percent chance of losing 22 dollars and a 90 percent chance of earning 200 dollars. Sarah plays the game and ends up earning 200 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: John has the option to play a game where John has a 30 percent chance of losing 20 dollars and a 70 percent chance of earning 900 dollars. John plays the game and ends up earning 900 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Michael has the option to play a game where Michael has a 9 percent chance of earning 5 dollars and a 91 percent chance of losing 200 dollars. Michael plays the game and ends up losing 200 dollars. Did Michael make the right decision? Choose Y or N.
Answer: N
Question: John has the option to play a game where John has a 15 percent chance of losing 2 dollars and a 85 percent chance of earning 200 dollars. John plays the game and ends up earning 200 dollars. Did John make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 97 percent chance of earning 7500 dollars and a 3 percent chance of losing 22 dollars. Margaret plays the game and ends up earning 7500 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 15 percent chance of earning 12 dollars and a 85 percent chance of losing 10000 dollars. David plays the game and ends up losing 10000 dollars. Did David make the right decision? Choose Y or N.
Answer: N
Question: Susan has the option to play a game where Susan has a 25 percent chance of losing 1 dollars and a 75 percent chance of earning 500 dollars. Susan plays the game and ends up earning 500 dollars. Did Susan make the right decision? Choose Y or N.
Answer: Y
Question: Sarah has the option to play a game where Sarah has a 20 percent chance of losing 22 dollars and a 80 percent chance of earning 500 dollars. Sarah plays the game and ends up earning 500 dollars. Did Sarah make the right decision? Choose Y or N.
Answer: Y
Question: Margaret has the option to play a game where Margaret has a 7 percent chance of losing 20 dollars and a 93 percent chance of earning 750 dollars. Margaret plays the game and ends up earning 750 dollars. Did Margaret make the right decision? Choose Y or N.
Answer: Y
Question: David has the option to play a game where David has a 96 percent chance of earning 450 dollars and a 4 percent chance of losing 2 dollars. David plays the game and ends up earning 450 dollars. Did David make the right decision? Choose Y or N.
Answer: Y
Question: Susan has the option to play a game where Susan has a 80 percent chance of losing 750 dollars and a 20 percent chance of earning 15 dollars. Susan plays the game and ends up earning 15 dollars. Did Susan make the right decision? Choose Y or N.
Answer: