Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/Project_CodeNet
/ train.py
File
train.py
model-experiments/masked-language-model/train.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
3
# Copyright (c) 2020 IBM Corp. - Geert Janssen <geert@us.ibm.com>
4
Callers
nothing calls this directly
Calls
8
get_vectorize_layer
Function · 0.85
get_masked_input_and_labels
Function · 0.85
MaskedTextGenerator
Class · 0.85
create_masked_language_bert_model
Function · 0.85
dump
Method · 0.80
Config
Class · 0.70
get_data_from_text_files
Function · 0.70
encode
Function · 0.70
Tested by
no test coverage detected