Different foreign countries ended up as models in different spheres, as Japan tried to modernize, Jared Diamond explains (in Upheaval):
For instance, the new Japanese navy and army became modeled on the British navy and the German army, respectively.
[...]
Meiji Japan’s borrowing from the West was massive, conscious, and planned. Some of the borrowing involved bringing Westerners to Japan: for instance, importing Western schoolteachers to teach or to advise on education, and bringing two German scholars to help write a Japanese constitution drawing heavily on Germany’s constitution. But more of the borrowing involved Japanese traveling as observers to Europe and the U.S.
[...]
A crucial step, undertaken just two years after the Meiji government had consolidated its power, was the Iwakura Mission of 1871–1873 (Plate 3.3). Consisting of 50 government representatives, it toured the U.S. and a dozen European countries, visited factories and government offices, met U.S. President Grant and European government leaders, and published a five-volume report providing Japan with detailed accounts of a wide range of Western practices. The mission announced its purpose as being “to select from the various institutions prevailing among enlightened nations such as are best suited to our present condition.”
[...]
This reframing of innovations as supposedly retained traditions—the phenomenon of “invented traditions” often invoked by innovators in other countries besides Japan—contributed to the success of Meiji leaders in carrying out drastic changes.
[...]
The most urgent changes, effected or launched within the first few years of the Meiji Era, were to create a modern national army, to abolish feudalism, to found a national system of education, and to secure income for the government by tax reform.
[...]
Military reform began with purchasing modern Western equipment, enlisting French and German officers to train the army, and (later) experimenting with French and British models to develop a modern Japanese navy.
[...]
A national conscription law, adopted in 1873 and based on European models, provided for a national army of men armed with guns and serving for three years. Formerly, each feudal domain had had its own private militia of samurai swordsmen, useless in modern war but still a threat to the Japanese national government (Plate 3.4). Hence the samurai were first forbidden to carry swords or to administer private punishment, then hereditary occupations (including that of being a samurai) were abolished, then the ex-samurai were paid off in government stipends, and finally those stipends were converted to interest-bearing government bonds.
[...]
Hence in March 1868 four daimyo, including those of Satsuma and Choshu who had instigated the Meiji Restoration, were persuaded to offer their lands and people to the emperor by an ambiguously worded document. When the emperor accepted that offer in July, the other daimyo were commanded to make the same offer, and as a sop they were then appointed as “governors” of their former feudal domains. Finally, in August 1871 the daimyo were told that their domains (and governorships) would now be swept away and replaced with centrally administered prefectures. But the daimyo were allowed to keep 10% of their former domains’ assessed incomes, while being relieved of the burden of all the expenses that they had formerly borne. Thus, within three-and-a-half years, centuries of Japanese feudalism were dismantled.
[...]
In his 45 years of rule, the emperor made 102 trips outside of Tokyo and around Japan, compared with a total of just three trips by all emperors combined during the 265 years of the Tokugawa Era (1603–1868).
[...]
Compulsory elementary schools were established in 1872, followed by the founding of Japan’s first university in 1877, middle schools in 1881, and high schools in 1886.
[...]
The end result of that educational reform is that Japan today ties for having the world’s highest percentage of literate citizens (99%), despite also having the world’s most complicated and hard-to-learn writing system.
[...]
In the 1880’s, recruitment for the central government bureaucracy became based on an exam testing Western knowledge, rather than testing knowledge of Confucian philosophy.
[...]
It achieved that aim in a Western manner, by imposing a national 3% land tax.
[...]
Japanese farmers periodically complained and rioted, because they had to pay cash every year regardless of the size of the harvest. But they might have considered themselves lucky if they could have foreseen modern Western tax rates. For example, here in my state of California we pay a state 1% property tax, plus a state income tax of up to 12%, plus a national income tax of currently up to 44%.
[...]
The year 1872 saw the founding of a national post system, and the building of Japan’s first railroad and its first telegraph line, followed by establishment of a national bank in 1873. Gas street lighting was installed in Tokyo.