-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more transformer definitions such as rope scailing
Signed-off-by: Zhao Chen <[email protected]>
- Loading branch information
Showing
3 changed files
with
73 additions
and
30 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Architecture | ||
|
||
## Tensor naming convention | ||
|
||
[version].[vendor].[family].[name].[arch].[modality].[block_name].[layer_name].[tensor_name].[tensor_type] | ||
|
||
The dot in the name should be replaced with a underscore. | ||
|
||
### Naming Conventions | ||
|
||
- **version**: The version of the naming convention. | ||
- **vendor**: The vendor of the model. | ||
- **family**: The family of the model. | ||
- **name**: The name of the model. | ||
- **arch**: The architecture of the model. | ||
- **modality**: The modality of the model. | ||
- **block_name**: The name of the block. | ||
- **layer_name**: The name and 0-indexed layer number of the layer. | ||
- **tensor_name**: The name of the tensor. | ||
- **tensor_type**: Weight or bias of the tensor. | ||
|
||
### Example | ||
|
||
```plain | ||
v1.meta.llama-3_2-1b.transformer.text.decoder.layers_0.embedding.projection.weight | ||
``` | ||
|
||
```plain | ||
v1.meta.llama-3_2-1b.transformer.text.decoder.layers_1.attention.query.weight | ||
``` |
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 was deleted.
Oops, something went wrong.