Download Tensorflow/models/official/modeling/optimization/adafactor_optimizer.py from Kasamuday/object: direct link, hf CLI and curl.
- Browser
- Download file 812 Bytes
-
https://huggingface.co/spaces/Kasamuday/object/resolve/main/Tensorflow/models/official/modeling/optimization/adafactor_optimizer.py
- Command line
-
hf download hf://spaces/Kasamuday/object/Tensorflow/models/official/modeling/optimization/adafactor_optimizer.py
-
curl -L -o adafactor_optimizer.py https://huggingface.co/spaces/Kasamuday/object/resolve/main/Tensorflow/models/official/modeling/optimization/adafactor_optimizer.py
812 Bytes
| # Copyright 2023 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| """Adafactor optimizer. | |
| A new optimizer that will be open sourced soon. | |
| """ | |
| # pylint: disable=invalid-name, represents an unimplemented class definition. | |
| Adafactor = "Unimplemented" | |