bert
TensorFlow code and pre-trained models for BERT
File Explorer
Download Latest Version (.zip)- .gitignore
- __init__.py
- CONTRIBUTING.md
- create_pretraining_data.py
- extract_features.py
- LICENSE
- modeling.py
- modeling_test.py
- multilingual.md
- optimization.py
- optimization_test.py
- predicting_movie_reviews_with_bert_on_tf_hub.ipynb
- README.md
- requirements.txt
- run_classifier.py
- run_classifier_with_tfhub.py
- run_pretraining.py
- run_squad.py
- sample_text.txt
- tokenization.py
- tokenization_test.py
# Installation Guide
1. Get the code
git clone https://github.com/google-research/bert
Downloads the entire project code from GitHub to your computer.
cd bert
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
