Comments (1)
Not sure exactly what you're asking, but the core Transformer implementation is in modeling.py
Which is based on the one from tensor2tensor (but with less abstraction) and Attention is All You Need
If you're wondering how to instantiate a new instance, you can see run_classifier.py
The Transformer is also bidirectional "by default", it requires special masking to make it unidirectional (see here in OpenAI's transformer implementation on how that is done, although it's not needed for BERT).
from bert.
Related Issues (20)
- sussy baka HOT 1
- Data source you used for training the wordpiece model in your original paper HOT 2
- Notas
- Bert:tensorflow:Error recorded from training_loop: Read less bytes than requested HOT 2
- load_model
- My Gmail account password recovery HOT 1
- Hi HOT 1
- bert loading
- Reproducing Experiment Results for Data Augmentation with TriviaQA
- Sentence Splitting Approach in BERT Preprocessing
- Forget password Gmail account HOT 1
- Awesomeness 👌
- Extraction of context Embeddings
- bert中文交流群,交流应用和训练心得 HOT 2
- raise SSLError(e, request=request)
- ValueError: A KerasTensor is symbolic: it's a placeholder for a shape an a dtype. It doesn't have any actual numerical value. You cannot convert it to a NumPy array. HOT 3
- The MRPC dataset downloaded from the script is missing the train.tsv file HOT 1
- Language Translation for classification
- MRPC and CoLA Dataset UnicodeDecodeError
- Internal: Blas GEMM launch failed when running classifier for URLs
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 bert.