-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
14 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* @file configuration_SmolLM.hpp | ||
* @file configuration_smollm.hpp | ||
* @author Chenghua Wang ([email protected]) | ||
* @version 0.1 | ||
* @date 2024-09-25 | ||
|
@@ -8,8 +8,8 @@ | |
* | ||
*/ | ||
#pragma once | ||
#ifndef CONFIG_SmolLM_HPP | ||
#define CONFIG_SmolLM_HPP | ||
#ifndef CONFIG_SMOLLM_HPP | ||
#define CONFIG_SMOLLM_HPP | ||
#include "Types.hpp" | ||
#include "models/transformer/configuration_transformer.hpp" | ||
|
||
|
@@ -109,4 +109,4 @@ class SmolLMConfig { | |
} | ||
}; | ||
|
||
#endif // CONFIG_SmolLM_HPP | ||
#endif // CONFIG_SMOLLM_HPP |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* @file tokenization_SmolLM.hpp | ||
* @file tokenization_smollm.hpp | ||
* @author Chenghua Wang ([email protected]) | ||
* @version 0.1 | ||
* @date 2024-09-25 | ||
|
@@ -8,8 +8,8 @@ | |
* | ||
*/ | ||
#pragma once | ||
#ifndef MODELING_SmolLM_HPP | ||
#define MODELING_SmolLM_HPP | ||
#ifndef MODELING_SMOLLM_HPP | ||
#define MODELING_SMOLLM_HPP | ||
|
||
#include "Layer.hpp" | ||
#include "Module.hpp" | ||
|
@@ -112,4 +112,4 @@ class SmolLMModel final : public Module { | |
} | ||
}; | ||
|
||
#endif // MODELING_SmolLM_HPP | ||
#endif // MODELING_SMOLLM_HPP |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* @file tokenization_SmolLM.hpp | ||
* @file tokenization_smollm.hpp | ||
* @author Chenghua Wang ([email protected]) | ||
* @brief | ||
* @version 0.1 | ||
|
@@ -8,8 +8,8 @@ | |
* @copyright Copyright (c) 2024 | ||
* | ||
*/ | ||
#ifndef DCLMTOKENIZATION_SmolLM_HPP | ||
#define DCLMTOKENIZATION_SmolLM_HPP | ||
#ifndef DCLMTOKENIZATION_SMOLLM_HPP | ||
#define DCLMTOKENIZATION_SMOLLM_HPP | ||
|
||
#include "tokenizers/BPE/Bpe.hpp" | ||
#include "tokenizers/Tokenizer.hpp" | ||
|
@@ -323,4 +323,4 @@ class SmolLMTokenizer final { | |
#undef CHR | ||
#undef ORD | ||
|
||
#endif //! DCLMTOKENIZATION_SmolLM_HPP | ||
#endif // TOKENIZATION_SMOLLM_HPP |