Glossop’s okay, but not overly blessed with group accommodation, though there are a few bed and brekkies – you can reach Hope, Edale and Castleton, Hathersage etc by train as well, though less frequently.
No Discerning Taste who posts on here runs an ace, bike-friendly B&B over Mellor way – google Lily Bank Farm – Youth Hostel at Edale is nice enough and well located, though maybe not if you’re accessing it from Edale station.
Loads of great riding and some half decent caffs as well. I live in Glossop and could be persuaded out as a human GPS in exchange for cake depending on when you’re up – there are some ace back road bits that you’ll likely miss if you take the more obvious main roads, a fair few of those are lovely as well, but some are worth avoiding if you can – I particularly loathe the Woodhead Pass, too many big lorries, bends and brain-dead drivers for a start.