
Import it using pipeline

    from transformers import pipeline
    text_generation = pipeline('text-generation' , model='sparki/kinkyfurs-gpt2')
    
Then use it
 
    prefix_text = input()
    text_generation(prefix_text, max_length=50, num_beams=5,no_repeat_ngram_size=2,early_stopping=True)
    
{"language": "en", "license": "mit"}
transformers pytorch gpt2 text-generation en license:mit autotrain_compatible endpoints_compatible text-generation-inference region:us
TAGS
#transformers #pytorch #gpt2 #text-generation #en #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 


Import it using pipeline

    from transformers import pipeline
    text_generation = pipeline('text-generation' , model='sparki/kinkyfurs-gpt2')
    
Then use it
 
    prefix_text = input()
    text_generation(prefix_text, max_length=50, num_beams=5,no_repeat_ngram_size=2,early_stopping=True)
    
TAGS
#transformers #pytorch #gpt2 #text-generation #en #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 

passage: TAGS
#transformers #pytorch #gpt2 #text-generation #en #license-mit #autotrain_compatible #endpoints_compatible #text-generation-inference #region-us 
