Hugging Face and F#

jkone27
Jun 6, 2023

Fun with hugging face πŸ€— inference API and F#

LLMs history graph β€” src

We will run some inference algorithms against public LLMs that are easily accessible on the hugging face LLM repository.

Pick your model, check licensing and documentation, and then after installing dotnet (and F#). Now you are ready to go!

brew install dotnet
dotnet --version
dotnet fsi

>#quit;;

dotnet fsi ./your-script-name.fsx

And here is the result! Clearly, Italy is not the much beloved food country I thought it would be, AI always knows better, lol

--

--