Normally you would use floor scraper machine, hand held, MK Diamond 14 Amp 1.5 HP Manual Floor Scraper 167676.
You might be able to go to a tool rental location as they may have these, we use Sun Belt Tool Rentals here, but there are others.
These mechanical scrapers are loud and create heat to scrape the carpet in strips, you may need another machine to remove the adhesive which essentially looks like a floor polisher.
If all else fails you can always call a company like Stanley Steemer or Coit. They may provide these flooring removal services for you as I know they do in my area.