You can attempt to find a tenancy takeover or tenancy swap, although it can often be difficult - at the end of a term is often a good time to try, though. I think there's a way of saying "You are all great, but I've realised I need my own space" without it being a huge deal.
It might not work out - you might not be able to find someone to take over your slot - and if that's the case you might just need to find ways to cope. I lived in a situation like this for months while I was on placement (did my placement in another city and lived with random people) and it was grim, but I got some good earplugs and got used to sleeping with earplugs in or headphones on. I wore headphones about 90% of the day. I limited the amount of time I needed to interact with them by working and studying outside of the house - doing late evenings in the office or local public areas. I made some close friends locally who i could hang out with in the evenings or stay with when I was really fed up of everyone I lived with.
It's not a great way to live but especially when you know it's short term it is possible.