Upload configuration_llama.py with huggingface_hub
Browse files- configuration_llama.py +3 -3
configuration_llama.py
CHANGED
|
@@ -19,14 +19,14 @@
|
|
| 19 |
# limitations under the License.
|
| 20 |
""" LLaMA model configuration"""
|
| 21 |
|
| 22 |
-
from
|
| 23 |
-
from
|
| 24 |
|
| 25 |
|
| 26 |
logger = logging.get_logger(__name__)
|
| 27 |
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
|
| 32 |
class LlamaConfig(PretrainedConfig):
|
|
|
|
| 19 |
# limitations under the License.
|
| 20 |
""" LLaMA model configuration"""
|
| 21 |
|
| 22 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 23 |
+
from transformers.utils import logging
|
| 24 |
|
| 25 |
|
| 26 |
logger = logging.get_logger(__name__)
|
| 27 |
|
| 28 |
|
| 29 |
+
LLAMA_PRETRAINED_CONFIG_ARCHIVE_MAP = {} # noqa: F401, E402
|
| 30 |
|
| 31 |
|
| 32 |
class LlamaConfig(PretrainedConfig):
|