Text generation with GPT-2 in Ruby
27-Sep-2022 955
Many people think that accessing AI from languages other than Python is too difficult. Recently, however, a large number of pre-trained models have been published, making it easy to run AI inference from a variety of platforms and programming languages. Here, I would like to run the ONNX runtime and try out the GPT-2 model that generates English sentences from the Ruby language. Inference is easy with ONNX Runtime.
Text generation with GPT-2 in Ruby #ruby #rubydeveloper #rubyonrails #generation #GPT-2 https://rubyonrails.ba/link/text-generation-with-gpt-2-in-ruby