-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update dependencies * Fix depreciation warning * Fix param name * Update minimum versions * Remove TorchScript refs * version bump * Bump PL version * dev Dockerfile * Update dependencies * Transformer 4 fix * Fix transformer 4 import for TF conversion * Fix model training for lighting 1.0.0 * Add back GPU memory printing * TPU fixes * Assert descriptions * Generation tweaks (remove pad message) * Ignore .DS_Store * Handle generation by prompt more canonically * Set 20 for refresh default to avoid Colab warning * Fix gen warning while training * Fix model loading from config + generation * FP16 warning (#70) * Fix tokenizer for latest tokenizers * Set default learning rate to 1e-3 * Set CPU config to match tokenizer default
- Loading branch information
Showing
10 changed files
with
156 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ test_notebooks/ | |
/dist | ||
*.egg-info | ||
.vscode/settings.json | ||
/site | ||
/site | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:3.8.6-slim | ||
|
||
RUN apt-get -y update && apt-get -y install gcc | ||
|
||
WORKDIR / | ||
|
||
COPY requirements.txt . | ||
|
||
# install dependencies | ||
RUN pip --no-cache-dir install -r requirements.txt | ||
COPY * / | ||
|
||
# Clean up APT when done. | ||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.