Take Metro Line 4 (Anheqiao North), get off at National Library Station or walk to Taoranqiao North Station.
Take the special 5 and get off at Baishiqiao West Station.
Walk to the National Library.