ai-forever / ai-forever/ru-prompts

Detoxification inference returns error

Ouverte
#3 2 commentaires 0 réactions 1 personne assignée Réclamée par @konodyuk Voir sur GitHub
Langage dominant
Python
Étoiles
58
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello!

I was testing the library for detoxification, particularly your [Inference from pretrained prompt (RUSSE Detox) tutorial](https://colab.research.google.com/github/sberbank-ai/ru-prompts/blob/master/notebooks/detox-russe-inference-pretrained.ipynb). For me, inference returns a `KeyError` in Colab:

![image](https://user-images.githubusercontent.com/43185527/231570452-325a2fbc-82ff-4922-b3d4-9c48d0852611.png)

Maybe the problem is with the specific version of `datasets` library needed? The notebook is written as if it was already installed, but I had to install it extra (the latest version).

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.