Thomas Henry Smith (poet)
Thomas Henry Smith (22 November 1824 – 23 September 1907) of Auckland was an English-born New Zealand Native Land Court Judge and poet.[1] He is best known for the Māori language translation of "God Defend New Zealand", one of the two national anthems of New Zealand, which he wrote at the request of Governor George Edward Grey.[2]
Thomas Henry Smith | |
---|---|
Born | 22 November 1824 Stroud, Gloucestershire, England, United Kingdom |
Died | 23 September 1907 (aged 83) Colony of New Zealand |
Occupation | Judge, poet |
Nationality | New Zealander |
Citizenship | British |
Notable works | God Defend New Zealand |
Spouse | Elizabeth Koka Fuloon; Dorcas Sophia Baker |
Early life
Smith was born at Stroud, Gloucestershire, England.[3] After his formal education he worked at a Land Surveying and Architecture office in Romford, Essex. In 1842, he went to New Zealand after being offered a cadetship by the New Zealand Company's surveying staff.[1]
gollark: I think the issue is that your `bot` is separate from the `client` and never actually started up.
gollark: ·Oh, `bot.run`, right.
gollark: ```pythonfrom transformers import GPT2LMHeadModel, GPT2Tokenizerimport discord.extfrom discord.ext import commandsTOKEN = 'NOT TELLING YOU'bot = commands.Bot(command_prefix='$')@bot.eventasync def on_ready(): print("done!")@bot.command()async def test(ctx, arg): inputs = arg # initialize tokenizer and model from pretrained GPT2 model tokenizer = GPT2Tokenizer.from_pretrained('gpt2') model = GPT2LMHeadModel.from_pretrained('gpt2') outputs = model.generate( inputs, max_length=200, do_sample=True, temperature=1, top_k=50 ) response = (tokenizer.decode(outputs[0], skip_special_tokens=True)) await ctx.send(response)client.run(TOKEN)```
gollark: Yes, you can just use `@bot.event` or something.
gollark: This is probably obvious but you're sending it in a channel the bot sees, right?
References
![]() |
Wikiquote has quotations related to: Thomas Henry Smith (poet) |
- "Mr. Thomas Henry Smith of New Zealand". New Zealand Electronic Text Collection. Retrieved 2 September 2016.
- "History of God Defend New Zealand". Ministry for Culture and Heritage, New Zealand. Retrieved 2 September 2016.
- "Thomas Henry Smith". Ancestry.com. Retrieved 2 September 2016.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.