Comments (2)
Hello, thanks for your interest in Dodrio!
Sure thing, Dodrio can help you visualize the attention weights in a fine-tuned French BERT model. Dodrio is a web-based system and it uses pre-computed data files (JSON files) to populate the visualizations. You can see a list of all the data files Dodrio's public demo is using:
Lines 17 to 25 in 458c405
These JSON files are included in the public/data
folder.
Dodrio relies on three types of extracted data from your dataset and model. You can learn more about it from our paper:
- Semantic information (human annotation or saliency score)
- Syntactic information (human annotation or parsed syntactic dependencies)
- Importance score (confidence score, sum of absolute attention gradients, or LRP, etc.)
Therefore, you want to extract and generate JSON files with the same data structure from your dataset and model. To make the process easier, we provide a Python script and its detailed documentation to demonstrate how to generate all required JSON files. You should definitely check them out :)
We are very excited to see how Dodrio can be used in more languages and tasks, and we are more than happy to help you visualize your model with Dodrio. Let us know if you have any questions along the way 🤗
from dodrio.
Hopefully #1 (comment) helps you visualize your BERT model with French dataset! I will close the issue now, feel free to re-open it if you have more questions :)
from dodrio.
Related Issues (8)
- A bug when running dodrio-data-gen.py HOT 2
- Can it be modified to visualize Attention in Computer Vision? HOT 2
- Issue when attempting to visualize custom dataset HOT 5
- Change hardcoded InstanceID definition in several files HOT 1
- problems HOT 5
- A bug in dodrio-data-gen.py HOT 1
- a bug for training HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dodrio.