We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simpletransformers 0.7
require(grafzahl) require(quanteda) download.file("https://huggingface.co/datasets/israel/Amharic-News-Text-classification-Dataset/resolve/main/train.csv", destfile = "am_train.csv") input <- read.csv("am_train.csv") input_corpus <- corpus(input, text_field = "article") %>% corpus_subset(category != "") model <- model <- grafzahl(x = input_corpus, y = "category", model_name = "castorini/afriberta_base")
Error
Target is multiclass but average='binary'. Please choose another average setting, one of [None, 'micro', 'macro', 'weighted'].Traceback: 1. grafzahl(x = input_corpus, y = "category", model_name = "castorini/afriberta_base") 2. grafzahl.corpus(x = input_corpus, y = "category", model_name = "castorini/afriberta_base") 3. py_train(data = input_data, num_labels = num_labels, output_dir = output_dir, . best_model_dir = best_model_dir, cache_dir = cache_dir, model_type = model_type, . model_name = model_name, num_train_epochs = num_train_epochs, . train_size = train_size, manual_seed = manual_seed, regression = regression, . verbose = verbose) 4. py_call_impl(callable, call_args$unnamed, call_args$named)
The text was updated successfully, but these errors were encountered:
It worked previously.
Sorry, something went wrong.
ThilinaRajapakse/simpletransformers#1566
No branches or pull requests
simpletransformers 0.7
Error
The text was updated successfully, but these errors were encountered: