Dasychoproctis
Dasychoproctis is a genus of moths in the subfamily Lymantriinae. The genus was described by Hering in 1926. Both species are found on Madagascar.[1][2][3]
Dasychoproctis | |
---|---|
Scientific classification | |
Kingdom: | |
Phylum: | |
Class: | |
Order: | |
Family: | |
Subfamily: | |
Tribe: | |
Genus: | Dasychoproctis Hering, 1926 |
Species
- Dasychoproctis dubiosa Hering, 1926
- Dasychoproctis lasioma Collenette, 1959
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
- Savela, Markku (May 30, 2011). "Dasychoproctis Hering, 1926". Lepidoptera and Some Other Life Forms. Retrieved March 29, 2020.
- Beccaloni, G.; Scoble, M.; Kitching, I.; Simonsen, T.; Robinson, G.; Pitkin, B.; Hine, A.; Lyal, C., eds. (2003). "Dasychoproctis". The Global Lepidoptera Names Index. Natural History Museum. Retrieved March 29, 2020.
- Pitkin, Brian & Jenkins, Paul (November 5, 2004). "Dasychoproctis Hering, 1926". Butterflies and Moths of the World. Natural History Museum, London. Retrieved March 29, 2020.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.