Testing / testing.py
Sidak Singh
question boundary works
7b7db64
raw
history blame contribute delete
314 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
# Initialize the pipeline
pipe = pipeline("text-classification", model="FedericoDamboreana/chained_question_classification_es")
sentence1 = 'how are you doing'
sentence2 = 'that dog is black'
print(pipe(sentence1))
print(pipe(sentence2))