Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
adorkin
/
zero-shot-classification-nli-bilingual
like
1
Running
App
Files
Files
Community
adorkin
commited on
Nov 18, 2021
Commit
e3c3046
•
1 Parent(s):
e618b87
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
from transformers import pipeline
2
+
import gradio as gr
3
+
4
+
classifier = pipeline("zero-shot-classification", model="DeepPavlov/xlm-roberta-large-en-ru-mnli")
5
+