diff --git a/README.md b/README.md index c410366..78a3207 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/conversational/main.go b/_examples/conversational/main.go index 17ea91d..c103450 100644 --- a/_examples/conversational/main.go +++ b/_examples/conversational/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/feature_extraction/main.go b/_examples/feature_extraction/main.go index 3b85c78..2196353 100644 --- a/_examples/feature_extraction/main.go +++ b/_examples/feature_extraction/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/fill_mask/main.go b/_examples/fill_mask/main.go index 82ee092..de344fd 100644 --- a/_examples/fill_mask/main.go +++ b/_examples/fill_mask/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/question_answering/main.go b/_examples/question_answering/main.go index c81ccd6..00331d9 100644 --- a/_examples/question_answering/main.go +++ b/_examples/question_answering/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/sentence_similarity/main.go b/_examples/sentence_similarity/main.go index 50d32eb..74deae9 100644 --- a/_examples/sentence_similarity/main.go +++ b/_examples/sentence_similarity/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/summarization/main.go b/_examples/summarization/main.go index 3aca867..29cada9 100644 --- a/_examples/summarization/main.go +++ b/_examples/summarization/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/table_question_answering/main.go b/_examples/table_question_answering/main.go index 756965d..4af34ef 100644 --- a/_examples/table_question_answering/main.go +++ b/_examples/table_question_answering/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/text2text_generation/main.go b/_examples/text2text_generation/main.go index 8d3b2c5..fdbc70a 100644 --- a/_examples/text2text_generation/main.go +++ b/_examples/text2text_generation/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/text_classification/main.go b/_examples/text_classification/main.go index a91be43..4ab7aa0 100644 --- a/_examples/text_classification/main.go +++ b/_examples/text_classification/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/text_generation/main.go b/_examples/text_generation/main.go index a543100..a18599a 100644 --- a/_examples/text_generation/main.go +++ b/_examples/text_generation/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/token_classification/main.go b/_examples/token_classification/main.go index 3b4664c..36cf244 100644 --- a/_examples/token_classification/main.go +++ b/_examples/token_classification/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/translation/main.go b/_examples/translation/main.go index 7f016ad..6592c69 100644 --- a/_examples/translation/main.go +++ b/_examples/translation/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/_examples/zero_shot_classification/main.go b/_examples/zero_shot_classification/main.go index 474a30f..d9ebbce 100644 --- a/_examples/zero_shot_classification/main.go +++ b/_examples/zero_shot_classification/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - huggingface "github.com/hupe1980/go-huggingface" + "github.com/hupe1980/go-huggingface" ) func main() { diff --git a/conversational.go b/conversational.go index c742ff2..cf1cf2b 100644 --- a/conversational.go +++ b/conversational.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/error.go b/error.go index ff931bc..c391916 100644 --- a/error.go +++ b/error.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface type ErrorResponse struct { Error string `json:"error"` diff --git a/feature_extraction.go b/feature_extraction.go index f7ebfe0..7bd5fa6 100644 --- a/feature_extraction.go +++ b/feature_extraction.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/fill_mask.go b/fill_mask.go index ad6ea3a..68e981c 100644 --- a/fill_mask.go +++ b/fill_mask.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/huggingface.go b/huggingface.go index 6a2bd1b..562b164 100644 --- a/huggingface.go +++ b/huggingface.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "bytes" diff --git a/huggingface_test.go b/huggingface_test.go index 1c9ec49..f92fa01 100644 --- a/huggingface_test.go +++ b/huggingface_test.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "bytes" diff --git a/options.go b/options.go index acbc382..9ca0c0b 100644 --- a/options.go +++ b/options.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface type Options struct { // (Default: true). There is a cache layer on the inference API to speedup diff --git a/question_answering.go b/question_answering.go index 5517c7c..470e625 100644 --- a/question_answering.go +++ b/question_answering.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/sentence_similarity.go b/sentence_similarity.go index d78fed8..37f9baf 100644 --- a/sentence_similarity.go +++ b/sentence_similarity.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/summarization.go b/summarization.go index 0b73fbd..ca65f78 100644 --- a/summarization.go +++ b/summarization.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/table_question_answering.go b/table_question_answering.go index 0e07fb8..ac455b9 100644 --- a/table_question_answering.go +++ b/table_question_answering.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/text2text_generation.go b/text2text_generation.go index 0fdd787..40e6eaa 100644 --- a/text2text_generation.go +++ b/text2text_generation.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/text_classification.go b/text_classification.go index 5c3568e..87596db 100644 --- a/text_classification.go +++ b/text_classification.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/text_generation.go b/text_generation.go index 58469de..415290a 100644 --- a/text_generation.go +++ b/text_generation.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/token_classification.go b/token_classification.go index 3c7eff3..1cb3384 100644 --- a/token_classification.go +++ b/token_classification.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/translation.go b/translation.go index 5ce93bb..915efa8 100644 --- a/translation.go +++ b/translation.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context" diff --git a/zero_shot_classification.go b/zero_shot_classification.go index 71109f9..af3c229 100644 --- a/zero_shot_classification.go +++ b/zero_shot_classification.go @@ -1,4 +1,4 @@ -package gohuggingface +package huggingface import ( "context"