Where are you seeing duplicates? Photos will only be duplicates, if you are seeing them more than once in the Moments in the Photos View, not if you are seeing them in multiple albums. A photon appear in many albums without being a duplicate.
If you are indeed having duplicates in the library, it will depend on the kind of duplicates how to detect them automatically.
Photos has no tool to detect photos, once they have been imported to the library. It relies on detecting duplicates on import.
If you want to search your library for duplicates use a third-party tool, like Power Photos, Photo Sweeper, or Duplicate Annihilator. These three apps are known to be safe, because they just collect duplicates in an album for you to remove using Photos's Interface. Other duplicate cleaners may manipulate the library directly and damage the library beyond repair (Using third-party apps to remove duplicate photos might damage your Photos for macOS library - Apple Support)
What kind of duplicates do you have? if you imported duplicates in different edited versions or different pixel size, Photo Sweeper will be your
00004000
best option, because it can compare the content of a photo based on bitmaps or histograms, not only the file attributes.
If the photos are exact duplicates, Power Photos is very good, because it is a nice companion for Photos anyway.