readme: ---
  license: mit
  widget:
    - text: astolfo,fate
    - text: astolfo,sailor paladin,
    - text: astolfo,saber,
    - text: astolfo,memories at trifas,
  ---
  
  this model is trained from gpt2 on astolfo booru tags.
  
  input "astolfo, ...".
  
  Unintended nsfw words may be output.
  
  transformers==4.4.2
  
  ```python
  from transformers import AutoTokenizer, AutoModelForCausalLM
  
  tokenizer = AutoTokenizer.from_pretrained("gpt2")
  model = AutoModelForCausalLM.from_pretrained("furusu/astolfo_prompt_generater")
  
  input = tokenizer.encode("astolfo,", return_tensors="pt")
  output = model.generate(input, do_sample=True, max_length=75, num_return_sequences=3)
  print("\n".join(tokenizer.batch_decode(output)))
  ```