Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from transformers import AutoTokenizer
|
2 |
from bertviz.transformers_neuron_view import BertModel
|
3 |
from bertviz.neuron_view import show
|
|
|
1 |
+
%%javascript
|
2 |
+
require.config({
|
3 |
+
paths: {
|
4 |
+
d3: '//cdnjs.cloudflare.com/ajax/libs/d3/3.4.8/d3.min',
|
5 |
+
jquery: '//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min',
|
6 |
+
}
|
7 |
+
});
|
8 |
+
|
9 |
from transformers import AutoTokenizer
|
10 |
from bertviz.transformers_neuron_view import BertModel
|
11 |
from bertviz.neuron_view import show
|