g8a9 commited on
Commit
5a20abc
β€’
1 Parent(s): f1a6f2c
Files changed (3) hide show
  1. README.md +4 -4
  2. requirements.txt +1 -1
  3. single.py +4 -4
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
- title: Ferret Demo
3
- emoji: πŸŒ–
4
- colorFrom: red
5
- colorTo: red
6
  sdk: streamlit
7
  sdk_version: 1.10.0
8
  app_file: app.py
 
1
  ---
2
+ title: ferret
3
+ emoji: 🦑
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: streamlit
7
  sdk_version: 1.10.0
8
  app_file: app.py
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
  transformers==4.20.1
2
- ferret-xai==0.3.0
3
  sentencepiece
 
1
  transformers==4.20.1
2
+ ferret-xai==0.3.1
3
  sentencepiece
single.py CHANGED
@@ -30,14 +30,14 @@ def body():
30
  You are working now on the *single instance* mode -- i.e., you will work and
31
  inspect one textual query at a time.
32
 
33
- Post-hoc explanation techniques discose the rationale behind a given prediction a model
34
- makes while detecting a sentiment out of a text. In a sense the let you *poke* inside the model.
35
 
36
- But **who watches the watchers**?
37
 
38
  Let's find out!
39
 
40
- Let's choose your favourite sentiment classification mode and let ferret do the rest.
41
  We will:
42
 
43
  1. download your model - if you're impatient, here it is a [cute video](https://www.youtube.com/watch?v=0Xks8t-SWHU) 🦜 for you;
 
30
  You are working now on the *single instance* mode -- i.e., you will work and
31
  inspect one textual query at a time.
32
 
33
+ Post-hoc explanation techniques disclose πŸ”Ž the rationale behind a given prediction a model
34
+ makes while detecting a sentiment out of a text. In a sense, they let you *poke* inside the model.
35
 
36
+ But **who watches the watchers**? Are these explanations *accurate*? Can you *trust* them?
37
 
38
  Let's find out!
39
 
40
+ Let's choose your favourite mode and let *ferret* do the rest.
41
  We will:
42
 
43
  1. download your model - if you're impatient, here it is a [cute video](https://www.youtube.com/watch?v=0Xks8t-SWHU) 🦜 for you;