Questions tagged [scikit-llm]

1 questions
0
votes
0 answers

How to deal with "This model's maximum context length is 4097 tokens." issue in Scikit-LLM

I am trying the Scikit-LLM on a StackOverflow question dataset comprising around 7k rows. Below is the code where I train and test a Zero Shot Classifier. X_train, X_test, y_train, y_test = train_test_split(_soQuestions['Body'],…
renakre
  • 8,001
  • 5
  • 46
  • 99