Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
cosmetic changes
  • Loading branch information
riccardopinosio authored Mar 18, 2024
1 parent ab5170c commit 504ab1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ defer func(session *hugot.Session) {
}(session)
// Let's download an onnx sentiment test classification model in the current directory
// note: if you compile your library with build flag NODOWNLOAD, this will exclude the downloader.
// Useful in case you just want the core engine (because you already have the models) and want to drop the dependency on huggingfaceModelDownloader.
// Useful in case you just want the core engine (because you already have the models) and want to
// drop the dependency on huggingfaceModelDownloader.
modelPath, err := session.DownloadModel("KnightsAnalytics/distilbert-base-uncased-finetuned-sst-2-english", "./")
check(err)
// we now create a text classification pipeline. It requires the path to the onnx model folder we just downloaded,
Expand Down

0 comments on commit 504ab1f

Please sign in to comment.