Six Days of Cologne
The Six Days of Cologne was a six-day track cycling race held annually in Cologne, Germany.[1]
Race details | |
---|---|
Region | Cologne, Germany |
Discipline | Track |
Type | Six-day racing |
History | |
First edition | 1928 |
Editions | 46 (as of 1998) |
Final edition | 1998 |
First winner | ![]() ![]() |
Most wins | ![]() |
Final winner | ![]() ![]() |
Winners
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?
gollark: Do you need horrible amounts of computing power for this? I could use this for purposes.
References
- "6 jours du Cologne". Memoire du Cyclisme. Retrieved 19 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.