If you are an F-1 student with an on-campus job (either a new hire or a continuing student worker), you will need to fill out two forms: Form 8233 and Form W-8BEN. Both of these forms need to be filled out annually in November to December and submitted to the Accounting Department to be processed.
Form 8233 offers a tax exemption for countries with a treaty benefit. This will allow students with residency in those countries to be exempt from compensation withholdings. See a full list of which countries offer treaty benefits and find the Form 8233 Attachment by country. Form W-8BEN requires mostly personal information in Part 1 and a Claim of Tax Treaty Benefits in Part 2.