Be cautious about accepting another offer and leaving the first company immediately. It may compromise your credibility.
I would suggest your asking your professors first. They know better than we do if this (get another offer and leave the first company only after working there for a while) will put your professional reputation at disadvantage. Most people leave after one year of stay.
Good luck