I used xpath for loacting the male and female radio buttons and it worked fine for me.
Here you can use the following code:
System.setProperty("webdriver.chrome.driver","C:\\yourpath\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("https://www.facebook.com");
driver.findElement(By.xpath("//*[contains(text(),'Female')]")).click();//for female
driver.findElement(By.xpath("//*[contains(text(),'Male')]")).click();//for male